Last change
on this file since 455 was
455,
checked in by garnier, 11 years ago
|
grosse modification pour intégrer les sections
|
File size:
905 bytes
|
Rev | Line | |
---|
[304] | 1 | #ifndef SOFTWAREGENERATOR_SEEN |
---|
| 2 | #define SOFTWAREGENERATOR_SEEN |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | #include "abstractSoftware.h" |
---|
| 6 | |
---|
| 7 | class softwareGenerator : public abstractSoftware |
---|
| 8 | { |
---|
| 9 | protected : |
---|
[431] | 10 | |
---|
| 11 | bool beamFromGenerator(string beamFileName, string workingDir, vector<double>& centroid, bareParticle& refPart,vector<bareParticle>& particles, vector<bareParticle>& passiveParticles ); |
---|
[304] | 12 | |
---|
[431] | 13 | string elementsData(const vector< pair<string, vector<string> > >& donnees) const; |
---|
| 14 | |
---|
| 15 | string rfgunData(const vector< pair<string, vector<string> > >& donnees) const; |
---|
[304] | 16 | |
---|
| 17 | public : |
---|
[431] | 18 | |
---|
| 19 | softwareGenerator(); |
---|
[455] | 20 | softwareGenerator(string inputFileName, sectionToExecute*); |
---|
[304] | 21 | |
---|
| 22 | virtual ~softwareGenerator() {;} |
---|
| 23 | |
---|
[455] | 24 | virtual bool createInputFile(particleBeam* beamBefore, string workingDir); |
---|
[431] | 25 | virtual bool execute(string workingDir); |
---|
[386] | 26 | virtual bool buildBeamAfterElements(string workingDir); |
---|
[304] | 27 | |
---|
[431] | 28 | inline string getColor() { |
---|
| 29 | return "#a3c0ed"; |
---|
| 30 | } |
---|
[304] | 31 | }; |
---|
| 32 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.