Changeset 1970


Ignore:
Timestamp:
08/26/09 16:55:16 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/parallel/objectivefunctionC.cpp

    r1964 r1970  
    4747               
    4848        /*steadystate: */
    49         int     steadystate=0;
     49        int     dt=0;
    5050        int     isstokes=0;
    5151        DataSet* results_steadystate=NULL;
     
    7272        femmodel->parameters->FindParam((void*)&numberofnodes,"numberofnodes");
    7373        femmodel->parameters->FindParam((void*)&numberofdofspernode,"numberofdofspernode");
    74         femmodel->parameters->FindParam((void*)&steadystate,"steadystate");
     74        femmodel->parameters->FindParam((void*)&dt,"dt");
    7575        femmodel->parameters->FindParam((void*)&isstokes,"isstokes");
    7676
     
    8888        inputs->Add(control_type,param_g_copy,1,numberofnodes);
    8989
    90         if(!steadystate){
     90        if(dt==0){
    9191                //Run diagnostic with updated parameters.
    9292                diagnostic_core_nonlinear(&u_g,NULL,NULL,NULL,femmodel,inputs,DiagnosticAnalysisEnum(),sub_analysis_type);
Note: See TracChangeset for help on using the changeset viewer.