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

Comparing trunk/OOPSE/libBASS/interface.c (file contents):
Revision 378 by mmeineke, Fri Mar 21 17:42:12 2003 UTC vs.
Revision 854 by mmeineke, Thu Nov 6 19:24:31 2003 UTC

# Line 2 | Line 2
2   #include <stdlib.h>
3   #include <string.h>
4  
5 < #include <parse_interface.h>
6 < #include <BASS_interface.h>
7 < #include <simError.h>
5 > #include "parse_interface.h"
6 > #include "BASS_interface.h"
7 > #include "simError.h"
8   #ifdef IS_MPI
9 < #include <mpiBASS.h>
9 > #include "mpiBASS.h"
10   #endif
11  
12   void interface_error( event* the_event );
# Line 113 | Line 113 | void init_torsion( int torsion_index ){
113    free( the_event );
114   }
115  
116 + void init_zconstraint( int zconstraint_index ){
117 +  event* the_event;
118  
119 +  the_event = (event* )malloc( sizeof( event ) );
120 +  
121 +  the_event->event_type = ZCONSTRAINT;
122 +  the_event->err_msg = NULL;
123 +  the_event->evt.blk_index = zconstraint_index;
124 +
125 +  if( !event_handler( the_event ) ) interface_error( the_event );
126 + #ifdef IS_MPI
127 +  throwMPIEvent(the_event);
128 + #endif
129 +  
130 +  free( the_event );
131 + }
132 +
133 +
134   /*
135   * the next few deal with the statement initializations
136   */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines