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 |
|
*/ |