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

Last change on this file since 312 was 312, checked in by lemeur, 12 years ago

suppression designation elements par index + fin generator

File size: 955 bytes
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  softwareParmela();
12
13  bool beamFromParmela(string workingDir,unsigned numeroElement, double referencefrequency, vector<double>& centroid, bareParticle& refPart,vector<bareParticle>& particles );
14
15  bool beamToParmela(string workingDir, particleBeam* partic );
16
17 public : 
18  softwareParmela(globalParameters* globals, dataManager* beamLine);
19
20  virtual ~softwareParmela() {;}
21
22
23  virtual bool createInputFile(string inputFileName, particleBeam* beamBefore, unsigned int numeroDeb, unsigned int numeroFin, string workingDir);
24
25  virtual bool  execute(string inputFileName,unsigned int numeroDeb,unsigned int numeroFin,string workingDir,string& resul);
26
27
28virtual bool buildBeamAfterElements(unsigned int numeroDeb,unsigned int numeroFin, vector<particleBeam>& beams, string workingDir);
29
30
31
32};
33#endif
Note: See TracBrowser for help on using the repository browser.