Changeset 236 in PSPA for Interface_Web/trunk/pspaWT/include
- Timestamp:
- Jan 17, 2013, 11:18:56 AM (11 years ago)
- Location:
- Interface_Web/trunk/pspaWT/include
- Files:
-
- 1 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/include/dataManager.h
r230 r236 10 10 #include "nomDeLogiciel.h" 11 11 #include "trivaluedBool.h" 12 #include "beam2Moments.h" 13 14 15 16 12 17 class dataManager 13 18 { … … 25 30 void removeFile(string nameOfFile); 26 31 void clearSectionToExecute(); 32 bool moments2FromTransport(string workingDir, string elLab, const nomdElements elem, beam2Moments& moments) const; 27 33 28 34 public: … … 56 62 bool restoreElements(string workingDir, string inputFileName); 57 63 void donneesRmsEnveloppe( string type, unsigned int numeroDeb, unsigned int numeroFin, vector<double>& xcor, vector<double>& ycor); 64 65 58 66 }; 59 67 #endif -
Interface_Web/trunk/pspaWT/include/particleBeam.h
r229 r236 12 12 #include "mathematicalTools.h" 13 13 #include "nomdElements.h" 14 #include " transportMoments.h"14 #include "beam2Moments.h" 15 15 16 16 using namespace std; … … 44 44 vector<bareParticle> goodPartic_; 45 45 46 transportMoments rij_;46 beam2Moments rij_; 47 47 48 // vector< vector<double> > rij_transportMoments_; 48 49 49 vector<double> centroid_; 50 50 double P0Transport_; 51 51 52 52 53 // void readTransportMoments(ifstream& inp); 54 void readTransportMoments(stringstream& inp); 53 55 54 56 55 void impressionDesMoments() const; … … 67 66 void buildMomentRepresentation(); 68 67 69 bool setFromTransport(string workingDir, string elementLabel, const nomdElements elem);70 71 // void setFromBeamParameters(double x, double xp, double y, double yp, double dl, double del, double P0);72 73 74 68 75 69 void clear(); … … 77 71 int getNbParticles() const; 78 72 79 const transportMoments& getTransportMoments() const;73 const beam2Moments& getTransportMoments() const; 80 74 double getSigmaTransportij(unsigned i, unsigned j); 81 75 double getUnnormalizedEmittanceX(); … … 97 91 void getVariance(double& varx, double& vary, double& varz) const; 98 92 93 void set2Moments(beam2Moments& moments); 99 94 100 95 void printAllXYZ() const;
Note: See TracChangeset
for help on using the changeset viewer.