27 |
|
#define FF_EAM 2 |
28 |
|
|
29 |
|
SimSetup::SimSetup(){ |
30 |
+ |
|
31 |
+ |
isInfoArray = 0; |
32 |
+ |
nInfo = 1; |
33 |
+ |
|
34 |
|
stamps = new MakeStamps(); |
35 |
|
globals = new Globals(); |
36 |
|
|
37 |
+ |
|
38 |
|
#ifdef IS_MPI |
39 |
|
strcpy( checkPointMsg, "SimSetup creation successful" ); |
40 |
|
MPIcheckPoint(); |
45 |
|
delete stamps; |
46 |
|
delete globals; |
47 |
|
} |
48 |
+ |
|
49 |
+ |
void SimSetup::setSimInfo( SimInfo* the_info, int theNinfo ) { |
50 |
+ |
info = the_info; |
51 |
+ |
nInfo = theNinfo; |
52 |
+ |
isInfoArray = 1; |
53 |
+ |
} |
54 |
+ |
|
55 |
|
|
56 |
|
void SimSetup::parseFile( char* fileName ){ |
57 |
|
|