ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libBASS/mpiBASS.c
(Generate patch)

Comparing trunk/OOPSE/libBASS/mpiBASS.c (file contents):
Revision 447 by mmeineke, Thu Apr 3 20:21:54 2003 UTC vs.
Revision 957 by gezelter, Mon Jan 19 16:08:21 2004 UTC

# Line 61 | Line 61 | void throwMPIEvent(event* the_event)
61        mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int  
62      break;
63  
64 +    case RIGIDBODY:
65 +      mpiEventContainer.type = mpiRIGIDBODY;
66 +      mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int  
67 +    break;
68 +
69      case ATOM:
70        mpiEventContainer.type = mpiATOM;
71        mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int
# Line 81 | Line 86 | void throwMPIEvent(event* the_event)
86        mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int
87        break;
88  
89 +    case ZCONSTRAINT:
90 +      mpiEventContainer.type = mpiZCONSTRAINT;
91 +      mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int
92 +      break;
93 +
94      case COMPONENT:
95        mpiEventContainer.type = mpiCOMPONENT;
96        mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int
# Line 179 | Line 189 | void mpiEventLoop(void)
189            "  MEMBER      %d\n"
190            "  CONSTRAINT  %d\n"
191            "  ORIENTATION %d\n"
192 <          "  START_INDEX %d\n"
192 >          "  ZCONSTRAINT %d\n"
193 >          "  RIGIDBODY   %d\n"
194            "  BLOCK_END   %d\n"
195            "\n",
196            worldRank,
197            MOLECULE, ATOM, BOND, BEND, TORSION, COMPONENT,
198            POSITION, ASSIGNMENT, MEMBER, CONSTRAINT, ORIENTATION,
199 <          START_INDEX, BLOCK_END );
199 >          ZCONSTRAINT, RIGIDBODY, BLOCK_END );
200   #endif
201  
202    MPI_Bcast(&mpiContinue,1,MPI_INT,0,MPI_COMM_WORLD);
# Line 216 | Line 227 | void mpiCatchEvent(void)
227      the_event.event_type = MOLECULE;
228      the_event.evt.blk_index = mpiEventContainer.i1;
229      break;
230 +
231 +  case mpiRIGIDBODY:
232 +    the_event.event_type = RIGIDBODY;
233 +    the_event.evt.blk_index = mpiEventContainer.i1;
234 +    break;
235      
236    case mpiATOM:
237      the_event.event_type = ATOM;
# Line 236 | Line 252 | void mpiCatchEvent(void)
252      the_event.event_type = TORSION;
253      the_event.evt.blk_index = mpiEventContainer.i1;
254      break;
255 +
256 +  case mpiZCONSTRAINT:
257 +    the_event.event_type = ZCONSTRAINT;
258 +    the_event.evt.blk_index = mpiEventContainer.i1;
259 +    break;
260      
261    case mpiCOMPONENT:
262      the_event.event_type = COMPONENT;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines