Ignore:
Timestamp:
Mar 12, 2013, 1:54:41 PM (11 years ago)
Author:
lemeur
Message:

amélioration fiabilité graphique

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/controler/include/softwareParmela.h

    r381 r386  
    99 protected :
    1010
     11
     12 
    1113  //    les elements de parmela sont indexes à partir du premier, il faut
    1214  // donc prevoir un offset pour le raccord a pspa
    13   unsigned offsetNumElem_;
    14   //  vector<unsigned> relativeParmelaElementNumbers_;
     15  //  unsigned offsetNumElem_;
     16
     17    vector<int> relativeParmelaElementIndices_;
    1518
    1619  bool beamFromParmela(string workingDir,unsigned numeroElement, double referencefrequency, vector<double>& centroid, bareParticle& refPart,vector<bareParticle>& particles );
    1720
    1821  bool beamToParmela(string workingDir, particleBeam* partic );
    19 
     22  void setRelativeParmelaElementIndices();
    2023 public :
    2124    softwareParmela();
     
    2831  virtual bool createInputFile(particleBeam* beamBefore, unsigned int numeroDeb, unsigned int numeroFin, string workingDir);
    2932
    30   virtual bool  execute(unsigned int numeroDeb,unsigned int numeroFin,string workingDir);
     33  virtual bool  execute(string workingDir);
    3134
    3235
    33 virtual bool buildBeamAfterElements(unsigned int numeroDeb,unsigned int numeroFin, vector<particleBeam>& beams, string workingDir);
     36virtual bool buildBeamAfterElements(string workingDir);
    3437
    3538    inline string getColor() {
     
    3740    }
    3841
    39     inline string getName() {
    40         return "parmela";
    41     }
     42    /* inline string getName() const { */
     43    /*     return "parmela"; */
     44    /* } */
    4245
    4346};
Note: See TracChangeset for help on using the changeset viewer.