ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/interface_implementation/SimSetup.cpp
(Generate patch)

Comparing trunk/mdtools/interface_implementation/SimSetup.cpp (file contents):
Revision 124 by chuckv, Mon Sep 30 20:35:42 2002 UTC vs.
Revision 139 by chuckv, Wed Oct 16 21:07:16 2002 UTC

# Line 6 | Line 6
6   #include "parse_me.h"
7   #include "LRI.hpp"
8   #include "Integrator.hpp"
9 < #include "mpiInterface.h"
9 > #ifdef IS_MPI
10 > #include "mpiBASS.h"
11 > #include "bassDiag.hpp"
12 > #endif
13  
14   SimSetup::SimSetup(){
15    stamps = new MakeStamps();
# Line 22 | Line 25 | void SimSetup::parseFile( char* fileName ){
25  
26    inFileName = fileName;
27    set_interface_stamps( stamps, globals );
28 < #ifdef MPI
28 > #ifdef IS_MPI
29    mpiEventInit();
30   #endif
31    yacc_BASS( fileName );
32 < #ifdef MPI
32 > #ifdef IS_MPI
33    throwMPIEvent(NULL);
34   #endif
35  
36   }
37  
38 < #ifdef MPI
38 > #ifdef IS_MPI
39   void SimSetup::receiveParse(void){
40  
41      set_interface_stamps( stamps, globals );
# Line 40 | Line 43 | void SimSetup::receiveParse(void){
43      mpiEventLoop();
44  
45   }
43 #endif
46  
47 +
48 + void SimSetup::testMe(void){
49 +  bassDiag* dumpMe = new bassDiag(globals,stamps);
50 +  dumpMe->dumpStamps();
51 +  delete dumpMe;
52 + }
53 + #endif
54   void SimSetup::createSim( void ){
55  
56    MakeStamps *the_stamps;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines