Changeset 59 in PSPA for Interface_Web/trunk/pspaWT/include
- Timestamp:
- Nov 12, 2012, 9:47:38 AM (12 years ago)
- Location:
- Interface_Web/trunk/pspaWT/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/include/GWt_pspaApplication.h
r58 r59 11 11 #include <Wt/WPanel> 12 12 #include <Wt/WComboBox> 13 #include <Wt/WPushButton> 13 14 14 15 #include "dataManager.h" … … 27 28 WLineEdit* fin; 28 29 WComboBox* selection; 30 WContainerWidget* ligneDeWidget; 29 31 } GWt_sectionToExecute; 30 32 … … 39 41 40 42 WContainerWidget* contenuSections_; 43 44 WPushButton *exec_go_; 45 41 46 42 47 list<GWt_sectionToExecute*> selectedSections_; … … 57 62 58 63 void addSectionToExecuteW(); 64 void deleteSectionToExecuteW(); 59 65 66 void checkSectionSelection(); 67 68 void disableSectionExecute(); 60 69 61 70 void faireDessin(); -
Interface_Web/trunk/pspaWT/include/dataManager.h
r58 r59 20 20 { 21 21 22 22 23 elementsCollection elementsGallery_; 23 24 globalParameters globParam_; … … 27 28 28 29 void createInputFileParmela( unsigned int indexDeb, unsigned int indexFin); 30 void createInputFileTransport( unsigned int indexDeb, unsigned int indexFin); 31 29 32 30 33 public: 31 34 32 35 33 36 dataManager() {;} 34 37 ~dataManager() … … 48 51 49 52 void addSectionToExecute(int debut, int fin, nomDeLogiciel prog); 53 void clearSectionToExecute(); 50 54 51 55 abstractElement* addElement(nomdElement elemType); -
Interface_Web/trunk/pspaWT/include/elementInitialBeam.h
r50 r59 42 42 ~elementInitialBeam() {;} 43 43 44 virtual void setPhaseStep(double ph) { cout << " bon setphasestep = " << ph << endl;phaseStep_ = ph;}44 virtual void setPhaseStep(double ph) { phaseStep_ = ph;} 45 45 46 46 -
Interface_Web/trunk/pspaWT/include/nomDeLogiciel.h
r58 r59 41 41 case parmela : { return "parmela"; } 42 42 case transport : { return "transport"; } 43 case unknownSoftware : { return "unknownSoftware"; } 43 44 } 44 45 return "unknownSoftware"; -
Interface_Web/trunk/pspaWT/include/particleBeam.h
r56 r59 44 44 45 45 vector< vector<double> > rij_transportMoments_; 46 47 46 vector<double> centroid_; 48 47 double P0Transport_; 49 48 50 49 … … 63 62 rij_transportMoments_.at(k).resize(++dim); 64 63 } 64 P0Transport_ = 0.0; 65 65 particleRepresentationOk_ = false; 66 66 momentRepresentationOk_ = false; … … 76 76 { 77 77 goodPartic_.clear(); 78 P0Transport_ = 0.0; 79 particleRepresentationOk_ = false; 80 momentRepresentationOk_ = false; 78 81 } 79 82 … … 83 86 } 84 87 85 88 inline const vector< vector<double> >& getTransportMoments() const { return rij_transportMoments_;} 89 inline double getP0Transport() const { return P0Transport_;} 90 inline bool particleRepresentationOk() const {return particleRepresentationOk_;} 91 inline bool momentRepresentationOk() const {return momentRepresentationOk_;} 86 92 87 93
Note: See TracChangeset
for help on using the changeset viewer.