--- trunk/OOPSE/libBASS/interface.c 2003/11/06 19:24:31 854 +++ trunk/OOPSE/libBASS/interface.c 2004/01/19 16:08:21 957 @@ -45,6 +45,23 @@ void init_molecule( int mol_index ){ free( the_event ); } +void init_rigidbody( int rigidbody_index ){ + event* the_event; + + the_event = (event* )malloc( sizeof( event ) ); + + the_event->event_type = RIGIDBODY; + the_event->err_msg = NULL; + the_event->evt.blk_index = rigidbody_index; + + if( !event_handler( the_event ) ) interface_error( the_event ); +#ifdef IS_MPI + throwMPIEvent(the_event); +#endif + + free( the_event ); +} + void init_atom( int atom_index ){ event* the_event;