Changeset 227 in PSPA for Interface_Web/trunk/pspaWT/include
- Timestamp:
- Dec 30, 2012, 12:11:42 PM (11 years ago)
- Location:
- Interface_Web/trunk/pspaWT/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/include/GWt_pspaApplication.h
r226 r227 38 38 dataManager* dtmanage_; 39 39 string nameOfCase_; 40 40 string workingDir_; 41 41 WDialog* dialogSave_; 42 42 WDialog* dialogOpen_; -
Interface_Web/trunk/pspaWT/include/dataManager.h
r226 r227 21 21 vector<sectionToExecute*> jobList_; 22 22 23 bool createInputFileParmela( unsigned int numeroDeb, unsigned int numerpFin );24 bool createInputFileTransport( unsigned int numeroDeb, unsigned int numeroFin );23 bool createInputFileParmela( unsigned int numeroDeb, unsigned int numerpFin, string workingDir); 24 bool createInputFileTransport( unsigned int numeroDeb, unsigned int numeroFin, string workingDir); 25 25 void removeFile(string nameOfFile); 26 26 void clearSectionToExecute(); … … 48 48 abstractElement* addElement(typedElement elemType); 49 49 string getLabelFromElementNumero(int numero); 50 void initializeExecution( );50 void initializeExecution(string workingDir); 51 51 string checkExecute(); 52 bool executeTransport( unsigned int indexDeb, unsigned int indexFin, string & resul);53 bool executeParmela( unsigned int indexDeb, unsigned int indexFin, string & resul);54 bool executeAll(string & resul);55 void saveConfiguration(string nameOfFile);56 bool restoreElements(string inputFileName);52 bool executeTransport( unsigned int indexDeb, unsigned int indexFin, string workingDir, string& resul); 53 bool executeParmela( unsigned int indexDeb, unsigned int indexFin, string workingDir, string& resul); 54 bool executeAll(string workingDir, string& resul); 55 void saveConfiguration(string workingDir, string nameOfFile); 56 bool restoreElements(string workingDir, string inputFileName); 57 57 void donneesRmsEnveloppe( string type, unsigned int numeroDeb, unsigned int numeroFin, vector<double>& xcor, vector<double>& ycor); 58 58 }; -
Interface_Web/trunk/pspaWT/include/environmentVariables.h
r121 r227 4 4 #include <stdlib.h> 5 5 #include <stdio.h> 6 static string WHERE_WE_ARE = string(getenv("PWD"));7 static string WORKINGAREA = WHERE_WE_ARE.append("/workingArea/");8 6 //static string WHERE_WE_ARE = string(getenv("PWD")); 7 //static string WORKINGAREA = WHERE_WE_ARE.append("/workingArea/"); 8 static string WORKINGAREA = "../workingArea/"; 9 9 #endif 10 10 -
Interface_Web/trunk/pspaWT/include/particleBeam.h
r226 r227 63 63 virtual ~particleBeam() {;} 64 64 65 bool setFromParmela( unsigned numeroElement,double referencefrequency);65 bool setFromParmela(string workingDir,unsigned numeroElement,double referencefrequency); 66 66 void buildMomentRepresentation(); 67 67 68 bool setFromTransport(string elementLabel, const nomdElements elem);68 bool setFromTransport(string workingDir, string elementLabel, const nomdElements elem); 69 69 70 70 // void setFromBeamParameters(double x, double xp, double y, double yp, double dl, double del, double P0);
Note: See TracChangeset
for help on using the changeset viewer.