--- trunk/OOPSE/libBASS/interface.c 2004/01/29 23:01:17 998 +++ trunk/OOPSE/libBASS/interface.c 2004/05/11 04:21:52 1153 @@ -62,6 +62,23 @@ void init_rigidbody( int rigidbody_index ){ free( the_event ); } +void init_cutoffgroup( int cutoffgroup_index ){ + event* the_event; + + the_event = (event* )malloc( sizeof( event ) ); + + the_event->event_type = CUTOFFGROUP; + the_event->err_msg = NULL; + the_event->evt.blk_index = cutoffgroup_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;