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

Comparing trunk/OOPSE/libBASS/BASS_interface.cpp (file contents):
Revision 993 by gezelter, Tue Jan 27 20:34:11 2004 UTC vs.
Revision 998 by gezelter, Thu Jan 29 23:01:17 2004 UTC

# Line 16 | Line 16 | typedef enum { GLOBAL_BLK, MOLECULE_BLK, ATOM_BLK, BON
16  
17   typedef enum { GLOBAL_BLK, MOLECULE_BLK, ATOM_BLK, BOND_BLK, BEND_BLK,
18                 TORSION_BLK, COMPONENT_BLK, ZCONSTRAINT_BLK,
19 <               RIGIDBODY_BLK, MEMBER_BLK } block_type;
19 >               RIGIDBODY_BLK } block_type;
20  
21   block_type current_block = GLOBAL_BLK;
22   #define MAX_NEST 20 // the max number of nested blocks
# Line 131 | Line 131 | int event_handler( event* the_event ){
131        handled = the_stamps->rigidBodyAssign( the_event );
132        break;
133  
134 <    case MEMBER:
135 <      incr_block( MEMBER_BLK );
136 <      handled = the_stamps->newMember( the_event );
134 >    case MEMBERS:
135 >      handled = the_stamps->rigidBodyMembers( the_event );
136        break;
137        
138      case BLOCK_END:
# Line 261 | Line 260 | int event_handler( event* the_event ){
260      }
261      break;
262  
264  case MEMBER_BLK:
265    
266    switch( the_event->event_type ){
267      
268    case ASSIGNMENT:
269      handled = the_stamps->memberAssign( the_event );
270      break;
271            
272    case BLOCK_END:
273      decr_block();
274      handled = the_stamps->memberEnd(the_event );
275      break;
276
277    default:
278      the_event->err_msg =
279        strdup( "not a valid member event\n" );
280      return 0;
281    }
282    break;
283
263    case ZCONSTRAINT_BLK:
264  
265      switch( the_event->event_type ){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines