source: PSPA/Interface_Web/trunk/pspaWT/sources/controler/include/softwareParmela.h @ 359

Last change on this file since 359 was 359, checked in by garnier, 11 years ago

Changement de la couleur des sections selectionnes + plein dautres choses

File size: 1.1 KB
Line 
1#ifndef SOFTWAREPARMELA_SEEN
2#define SOFTWAREPARMELA_SEEN
3
4#include "abstractSoftware.h"
5
6class softwareParmela : public abstractSoftware
7{
8
9 protected : 
10
11  //    les elements de parmela sont indexes à partir du premier, il faut
12  // donc prevoir un offset pour le raccord a pspa
13  unsigned offsetNumElem_;
14
15
16  bool beamFromParmela(string workingDir,unsigned numeroElement, double referencefrequency, vector<double>& centroid, bareParticle& refPart,vector<bareParticle>& particles );
17
18  bool beamToParmela(string workingDir, particleBeam* partic );
19
20 public : 
21    softwareParmela();
22   
23    softwareParmela(string inputFileName, globalParameters* globals, dataManager* beamLine);
24
25  virtual ~softwareParmela() {;}
26
27
28  virtual bool createInputFile(particleBeam* beamBefore, unsigned int numeroDeb, unsigned int numeroFin, string workingDir);
29
30  virtual bool  execute(unsigned int numeroDeb,unsigned int numeroFin,string workingDir);
31
32
33virtual bool buildBeamAfterElements(unsigned int numeroDeb,unsigned int numeroFin, vector<particleBeam>& beams, string workingDir);
34
35    inline string getColor() {
36        return "#e09bdf";
37    }
38
39
40};
41#endif
Note: See TracBrowser for help on using the repository browser.