Changeset 1954


Ignore:
Timestamp:
08/26/09 15:06:48 (16 years ago)
Author:
seroussi
Message:

use dt instead of ndt to know if thermal steady or transient

File:
1 edited

Legend:

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

    r1901 r1954  
    3737        int    numberofnodes;
    3838        int    nsteps;
     39        double ndt;
    3940        double dt;
    40         double ndt;
    4141
    4242        int    sub_analysis_type;
     
    5353        fem_t->FindParam((void*)&sub_analysis_type,"sub_analysis_type");
    5454        fem_t->FindParam((void*)&debug,"debug");
     55        fem_t->FindParam((void*)&ndt,"ndt");
    5556        fem_t->FindParam((void*)&dt,"dt");
    56         fem_t->FindParam((void*)&ndt,"ndt");
    5757
    58         if(ndt==0){
     58        if(dt==0){
    5959
    6060                time=(double*)xmalloc(sizeof(double));
     
    107107       
    108108        /*Plug results into output dataset: */
    109         if(ndt==0){
     109        if(dt==0){
    110110                result=new Result(results->Size()+1,0,1,"t_g",t_g[0]);
    111111                results->AddObject(result);
Note: See TracChangeset for help on using the changeset viewer.