--- trunk/OOPSE/libBASS/mpiBASS.c 2003/04/03 20:21:54 447 +++ trunk/OOPSE/libBASS/mpiBASS.c 2004/01/19 16:08:21 957 @@ -61,6 +61,11 @@ void throwMPIEvent(event* the_event) mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int break; + case RIGIDBODY: + mpiEventContainer.type = mpiRIGIDBODY; + mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int + break; + case ATOM: mpiEventContainer.type = mpiATOM; mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int @@ -81,6 +86,11 @@ void throwMPIEvent(event* the_event) mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int break; + case ZCONSTRAINT: + mpiEventContainer.type = mpiZCONSTRAINT; + mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int + break; + case COMPONENT: mpiEventContainer.type = mpiCOMPONENT; mpiEventContainer.i1 = the_event->evt.blk_index; // pack block index into first int @@ -179,13 +189,14 @@ void mpiEventLoop(void) " MEMBER %d\n" " CONSTRAINT %d\n" " ORIENTATION %d\n" - " START_INDEX %d\n" + " ZCONSTRAINT %d\n" + " RIGIDBODY %d\n" " BLOCK_END %d\n" "\n", worldRank, MOLECULE, ATOM, BOND, BEND, TORSION, COMPONENT, POSITION, ASSIGNMENT, MEMBER, CONSTRAINT, ORIENTATION, - START_INDEX, BLOCK_END ); + ZCONSTRAINT, RIGIDBODY, BLOCK_END ); #endif MPI_Bcast(&mpiContinue,1,MPI_INT,0,MPI_COMM_WORLD); @@ -216,6 +227,11 @@ void mpiCatchEvent(void) the_event.event_type = MOLECULE; the_event.evt.blk_index = mpiEventContainer.i1; break; + + case mpiRIGIDBODY: + the_event.event_type = RIGIDBODY; + the_event.evt.blk_index = mpiEventContainer.i1; + break; case mpiATOM: the_event.event_type = ATOM; @@ -236,6 +252,11 @@ void mpiCatchEvent(void) the_event.event_type = TORSION; the_event.evt.blk_index = mpiEventContainer.i1; break; + + case mpiZCONSTRAINT: + the_event.event_type = ZCONSTRAINT; + the_event.evt.blk_index = mpiEventContainer.i1; + break; case mpiCOMPONENT: the_event.event_type = COMPONENT;