Changeset 1970
- Timestamp:
- 08/26/09 16:55:16 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/parallel/objectivefunctionC.cpp
r1964 r1970 47 47 48 48 /*steadystate: */ 49 int steadystate=0;49 int dt=0; 50 50 int isstokes=0; 51 51 DataSet* results_steadystate=NULL; … … 72 72 femmodel->parameters->FindParam((void*)&numberofnodes,"numberofnodes"); 73 73 femmodel->parameters->FindParam((void*)&numberofdofspernode,"numberofdofspernode"); 74 femmodel->parameters->FindParam((void*)& steadystate,"steadystate");74 femmodel->parameters->FindParam((void*)&dt,"dt"); 75 75 femmodel->parameters->FindParam((void*)&isstokes,"isstokes"); 76 76 … … 88 88 inputs->Add(control_type,param_g_copy,1,numberofnodes); 89 89 90 if( !steadystate){90 if(dt==0){ 91 91 //Run diagnostic with updated parameters. 92 92 diagnostic_core_nonlinear(&u_g,NULL,NULL,NULL,femmodel,inputs,DiagnosticAnalysisEnum(),sub_analysis_type);
Note:
See TracChangeset
for help on using the changeset viewer.