Changeset 960


Ignore:
Timestamp:
06/12/09 15:15:11 (16 years ago)
Author:
Mathieu Morlighem
Message:

fixed initial temperature

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/ModelProcessorx/Thermal/CreateParametersThermal.cpp

    r765 r960  
    7373                count++;
    7474                param= new Param(count,"t_g",DOUBLEVEC);
    75                 if(temperature) param->SetDoubleVec(temperature,model->numberofnodes);
     75                if(temperature) param->SetDoubleVec(temperature,model->numberofnodes,1);
    7676                else throw ErrorException(__FUNCT__,exprintf("Missing initial temperature"));
    7777                parameters->AddObject(param);
Note: See TracChangeset for help on using the changeset viewer.