Changeset 13445
- Timestamp:
- 09/26/12 07:42:29 (12 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/IoModel.cpp
r13438 r13445 53 53 for(int i=0;i<MaximumNumberOfEnums;i++) this->data[i]=NULL; 54 54 55 /*If we are running in AD mode, we need to declare our independent variables now,55 /*If we are running in AD mode, we need to start the trace and declare our independent variables now, 56 56 *and prevent them from being erased during successive calls to iomodel->FetchConstants, iomodel->FetchData and 57 57 iomodel->DeleteData:*/ … … 220 220 this->FetchData(&autodiff,AutodiffIsautodiffEnum); 221 221 if(autodiff){ 222 222 223 223 this->FetchData(&numberofvertices,MeshNumberofverticesEnum); 224 224 225 225 #ifdef _HAVE_ADOLC_ 226 227 /*Start the trace: */ 228 trace_on(1); 229 226 230 /*build dataset made of independent objects: */ 227 231 this->independent_objects=new DataSet(); -
issm/trunk-jpl/src/c/solutions/issm.cpp
r13434 r13445 80 80 /*out of solution_type, figure out types of analyses needed in the femmodel: */ 81 81 AnalysisConfiguration(&analyses,&numanalyses,solution_type); 82 83 /*before we create the model, start the trace on for AD mode: */84 #ifdef _HAVE_ADOLC_85 trace_on(1);86 #endif87 82 88 83 /*Create femmodel, using input file: */
Note:
See TracChangeset
for help on using the changeset viewer.