Template:CMI Example go C: Difference between revisions
From CSDMS
Automated import of articles |
Automated import of articles *** existing text overwritten *** |
||
Line 22: | Line 22: | ||
EXIT: | EXIT: | ||
bocca_status = 2; | bocca_status = 2; | ||
edu_csdms_models_Sedflux3D_finalize (self, _ex); | |||
return bocca_status; | return bocca_status; | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 17:03, 1 February 2012
int bocca_status = 0;
struct edu_csdms_models_Sedflux3D__data *pd =
edu_csdms_models_Sedflux3D__get_data (self);
pd->is_driver = TRUE;
//PRINT(1, "Initialize sedflux");
fprintf (stderr, "Initialize sedflux
"); fflush (stderr);
edu_csdms_models_Sedflux3D_CMI_initialize (self, NULL, _ex);
fprintf (stderr, "Run sedflux
"); fflush (stderr);
//PRINT (1, "Run sedflux");
edu_csdms_models_Sedflux3D_CMI_run (self, -1, _ex);
fprintf (stderr, "Finalize sedflux
"); fflush (stderr);
//PRINT (1, "Finalize sedflux");
edu_csdms_models_Sedflux3D_CMI_finalize (self, _ex);
EXIT:
bocca_status = 2;
edu_csdms_models_Sedflux3D_finalize (self, _ex);
return bocca_status;