Changeset 1890


Ignore:
Timestamp:
08/25/09 14:53:41 (16 years ago)
Author:
Eric.Larour
Message:

Using new prototype for FindParam

Location:
issm/trunk/src/c/parallel
Files:
2 edited

Legend:

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

    r1887 r1890  
    2323        char* outputfilename=NULL;
    2424        char* lockname=NULL;
    25         int   numberofnodes;
     25        int   waitonlock=0;
    2626        int   qmu_analysis=0;
    2727
     
    3434       
    3535        ParameterInputs* inputs=NULL;
    36         int waitonlock=0;
     36        int   numberofnodes;
    3737       
    3838        double* u_g_initial=NULL;
  • issm/trunk/src/c/parallel/thermal.cpp

    r1887 r1890  
    7171
    7272        _printf_("read and create thermal finite element model:\n");
    73         model->AddFormulation(fid,ThermalAnalysisEnum(),0);
     73        model->AddFormulation(fid,ThermalAnalysisEnum());
    7474        _printf_("read and create melting finite element model:\n");
    75         model->AddFormulation(fid,MeltingAnalysisEnum(),0);
     75        model->AddFormulation(fid,MeltingAnalysisEnum());
    7676
    7777        /*recover parameters: */
     
    8080       
    8181        _printf_("initialize inputs:\n");
    82         model->FindParam(&u_g,"u_g",ThermalAnalysisEnum(),0);
    83         model->FindParam(&p_g,"p_g",ThermalAnalysisEnum(),0);
     82        model->FindParam(&u_g,"u_g",ThermalAnalysisEnum());
     83        model->FindParam(&p_g,"p_g",ThermalAnalysisEnum());
    8484        model->FindParam(&numberofnodes,"numberofnodes");
    8585        model->FindParam(&dt,"dt");
Note: See TracChangeset for help on using the changeset viewer.