Changeset 12022
- Timestamp:
- 04/17/12 07:57:42 (13 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/Makefile.am
r12019 r12022 16 16 #Core sources{{{1 17 17 core_sources = ./issm.h\ 18 19 18 ./issm-binding.h\ 19 ./include/macros.h\ 20 20 ./include/typedefs.h\ 21 21 ./include/types.h\ -
issm/trunk-jpl/src/c/include/macros.h
r12015 r12022 40 40 #endif 41 41 /*}}}*/ 42 /* MODULEBOOT/MODULEEND {{{1*/42 /* ISSMBOOT/ISSMEND {{{1*/ 43 43 44 44 /*The following macros hide the error exception handling in a matlab module. Just put 45 * MODULEBOOT(); and MODULEEND(); at the beginning and end of a module, and c++ exceptions45 * ISSMBOOT(); and ISSMEND(); at the beginning and end of a module, and c++ exceptions 46 46 * will be trapped. Really nifty!*/ 47 47 48 #define MODULEBOOT(); \48 #define ISSMBOOT(); \ 49 49 try{ 50 50 51 #define MODULEEND(); }\51 #define ISSMEND(); }\ 52 52 catch(ErrorException &exception){\ 53 53 exception.Report(); \ -
issm/trunk-jpl/src/c/matlab/include/matlab_macros.h
r12015 r12022 20 20 * will be trapped. Really nifty!*/ 21 21 22 //Module Boot //{{{23 22 #define MODULEBOOT(); ModuleBoot(); \ 24 23 try{ -
issm/trunk-jpl/src/c/matlab/io/WriteMatlabData.cpp
r12013 r12022 27 27 28 28 #ifdef _HAVE_PETSC_ 29 PetscMatrixToDoubleMatrix(& tmatrix_ptr,&rows,&cols,matrix->matrix);29 PetscMatrixToDoubleMatrix(&matrix_ptr,&rows,&cols,matrix->matrix); 30 30 #else 31 31 matrix_ptr=matrix->matrix->ToSerial(); -
issm/trunk-jpl/src/c/solutions/issm.cpp
r12016 r12022 35 35 int ierr; 36 36 37 MODULEBOOT();37 ISSMBOOT(); 38 38 39 39 /*Initialize environments: Petsc, MPI, etc...: */ … … 141 141 142 142 /*end module: */ 143 MODULEEND();143 ISSMEND(); 144 144 145 145 return 0; //unix success return; 146 146 } 147
Note:
See TracChangeset
for help on using the changeset viewer.