Changeset 236 in PSPA for Interface_Web/trunk/pspaWT/include


Ignore:
Timestamp:
Jan 17, 2013, 11:18:56 AM (11 years ago)
Author:
lemeur
Message:

epuration particleBeam

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  
    1010#include "nomDeLogiciel.h"
    1111#include "trivaluedBool.h"
     12#include "beam2Moments.h"
     13
     14
     15
     16
    1217class dataManager
    1318{
     
    2530  void removeFile(string nameOfFile);
    2631  void clearSectionToExecute();
     32  bool  moments2FromTransport(string workingDir, string elLab, const nomdElements elem, beam2Moments& moments) const;
    2733
    2834 public:
     
    5662  bool restoreElements(string workingDir, string inputFileName);
    5763  void donneesRmsEnveloppe( string type, unsigned int numeroDeb, unsigned int numeroFin, vector<double>& xcor, vector<double>& ycor);
     64
     65
    5866};
    5967#endif
  • Interface_Web/trunk/pspaWT/include/particleBeam.h

    r229 r236  
    1212#include "mathematicalTools.h"
    1313#include "nomdElements.h"
    14 #include "transportMoments.h"
     14#include "beam2Moments.h"
    1515
    1616using namespace std;
     
    4444  vector<bareParticle> goodPartic_;
    4545
    46   transportMoments rij_;
     46  beam2Moments rij_;
    4747
    48   //  vector< vector<double> > rij_transportMoments_;
     48
    4949  vector<double> centroid_;
    5050  double P0Transport_;
    5151
    5252
    53   //  void readTransportMoments(ifstream& inp);
    54   void readTransportMoments(stringstream& inp);
     53
    5554
    5655  void impressionDesMoments() const;
     
    6766  void buildMomentRepresentation();
    6867
    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 
    7468
    7569  void clear();
     
    7771  int getNbParticles() const;
    7872
    79   const transportMoments&  getTransportMoments() const;
     73  const beam2Moments&  getTransportMoments() const;
    8074  double getSigmaTransportij(unsigned i, unsigned j);
    8175  double getUnnormalizedEmittanceX();
     
    9791  void getVariance(double& varx, double& vary, double& varz) const;
    9892 
     93  void set2Moments(beam2Moments& moments);
    9994
    10095  void printAllXYZ() const;
Note: See TracChangeset for help on using the changeset viewer.