Changeset 13765
- Timestamp:
- 10/19/12 23:49:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/FemModel.cpp
r13761 r13765 41 41 42 42 /*Now, initialize PETSC: */ 43 #ifdef _HAVE_PETSC_ 43 44 PETSC_COMM_WORLD=this->comm; 44 45 ierr=PetscInitialize(&argc,&argv,(char*)0,""); if(ierr) _error_("Could not initialize Petsc"); 46 #endif 45 47 46 48 /*Start profiler: */ … … 129 131 130 132 /*Finalize PETSC for this model: */ 133 #ifdef _HAVE_PETSC_ 131 134 _pprintLine_("closing Petsc"); 132 135 PetscFinalize(); 136 #endif 133 137 134 138 }
Note:
See TracChangeset
for help on using the changeset viewer.