Changeset 45 in PSPA for Interface_Web/trunk/pspaWT/include
- Timestamp:
- Oct 29, 2012, 7:12:08 PM (12 years ago)
- Location:
- Interface_Web/trunk/pspaWT/include
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/include/abstractElement.h
r41 r45 18 18 protected: 19 19 20 double phaseStep_; // a recuperer dans les parametres globaux (methode setPhaseStep) 20 int nbParam_; 21 string* parametersString_; 22 23 24 25 // double phaseStep_; // a recuperer dans les parametres globaux (methode setPhaseStep) 21 26 double phaseStepMax_; 22 27 … … 36 41 void setDefaultValues() 37 42 { 43 nbParam_ = 2; 38 44 defaultLength_ = 0.0; 39 45 defaultAperture_ = 1.e+6; 40 phaseStep_ = 0.0;41 46 phaseStepMax_ = 10.; 42 47 } … … 73 78 virtual ~abstractElement() {;} 74 79 75 void setPhaseStep(double ph) { phaseStep_ = ph;}80 virtual void setPhaseStep(double ph) { cout << " setPhaseStep : ce n'est pas celui la qu'il faut ! " ; return;} 76 81 77 82 -
Interface_Web/trunk/pspaWT/include/elementBend.h
r41 r45 29 29 ~elementBend() {;} 30 30 31 32 virtual void setParametersString(string* param) 33 { 34 ostringstream sortie; 35 cout << " BEND :setParametersString non programme " << endl; 36 return sortie.str(); 37 } 38 39 virtual string* getParametersString() const 40 { 41 ostringstream sortie; 42 cout << " BEND :getParametersString non programme " << endl; 43 return sortie.str(); 44 } 45 31 46 virtual string parmelaOutputFlow() const 32 47 { -
Interface_Web/trunk/pspaWT/include/elementCell.h
r42 r45 5 5 #include "abstractElement.h" 6 6 7 using namespace std; 7 8 8 9 … … 10 11 { 11 12 12 int nbParam_;13 string* parametersString_;13 // int nbParam_; 14 // string* parametersString_; 14 15 15 16 -
Interface_Web/trunk/pspaWT/include/elementDrift.h
r42 r45 1 1 #ifndef DRIFTDEFINITION_SEEN 2 2 #define DRIFTDEFINITION_SEEN 3 #include <string> 3 4 4 5 #include "abstractElement.h" 5 6 6 7 8 using namespace std; 7 9 8 10 class elementDrift : public abstractElement 9 11 { 10 12 11 int nbParam_;12 string* parametersString_;13 // int nbParam_; 14 // string* parametersString_; 13 15 14 16 public: -
Interface_Web/trunk/pspaWT/include/elementInitialBeam.h
r42 r45 3 3 4 4 #include <string> 5 #include <iostream> 6 5 7 #include "abstractElement.h" 6 8 9 using namespace std; 7 10 8 11 class elementInitialBeam : public abstractElement 9 12 { 10 13 11 int nbParam_;12 string* parametersString_;14 // int nbParam_; 15 // string* parametersString_; 13 16 17 double defaultPhaseStep_; 14 18 int defaultNmacrop_; 15 19 double defaultSigma_t_; … … 19 23 double defaultNb_true_particles_; 20 24 25 double phaseStep_; // a recuperer dans les parametres globaux (methode setPhaseStep) 21 26 int nmacrop_; 22 27 double sigma_t_; // picoseconds … … 36 41 ~elementInitialBeam() {;} 37 42 43 virtual void setPhaseStep(double ph) { cout << " bon setphasestep = " << ph << endl; phaseStep_ = ph;} 44 38 45 39 46 virtual string* getParametersString() const; -
Interface_Web/trunk/pspaWT/include/elementSoleno.h
r41 r45 30 30 ~elementSoleno() {;} 31 31 32 virtual void setParametersString(string* param) 33 { 34 ostringstream sortie; 35 cout << " SOLENO setParametersString non programme " << endl; 36 return sortie.str(); 37 } 38 39 virtual string* getParametersString() const 40 { 41 ostringstream sortie; 42 cout << " SOLENO getParametersString non programme " << endl; 43 return sortie.str(); 44 } 45 32 46 virtual string parmelaOutputFlow() const 33 47 { 34 48 ostringstream sortie; 35 cout << " SOLE sortie parmela non progerammee " << endl;49 cout << " SOLENO sortie parmela non progerammee " << endl; 36 50 return sortie.str(); 37 51 }
Note: See TracChangeset
for help on using the changeset viewer.