Changeset 6349 for issm/trunk/src/c/objects/Elements/Penta.cpp
- Timestamp:
- 10/20/10 12:26:06 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r6320 r6349 575 575 if (iomodel->elementonwater) this->inputs->AddInput(new BoolInput(ElementOnWaterEnum,(IssmBool)iomodel->elementonwater[index])); 576 576 if (iomodel->elementonsurface) this->inputs->AddInput(new BoolInput(ElementOnSurfaceEnum,(IssmBool)iomodel->elementonsurface[index])); 577 578 /*time: */ 579 this->inputs->AddInput(new DoubleInput(DtEnum,iomodel->dt)); 577 580 578 581 /*Control Inputs*/ … … 2881 2884 heatcapacity=matpar->GetHeatCapacity(); 2882 2885 thermalconductivity=matpar->GetThermalConductivity(); 2883 this-> parameters->FindParam(&dt,DtEnum);2886 this->inputs->GetParameterValue(&dt,DtEnum); 2884 2887 this->parameters->FindParam(&artdiff,ArtDiffEnum); 2885 2888 this->parameters->FindParam(&epsvel,EpsVelEnum); … … 3783 3786 heatcapacity=matpar->GetHeatCapacity(); 3784 3787 thermalconductivity=matpar->GetThermalConductivity(); 3785 this-> parameters->FindParam(&dt,DtEnum);3788 this->inputs->GetParameterValue(&dt,DtEnum); 3786 3789 this->parameters->FindParam(&artdiff,ArtDiffEnum); 3787 3790 Input* vx_input=inputs->GetInput(VxEnum); ISSMASSERT(vx_input); … … 5332 5335 name==SurfaceEnum || 5333 5336 name==BedEnum || 5337 name==DtEnum || 5334 5338 name==SurfaceSlopeXEnum || 5335 5339 name==SurfaceSlopeYEnum ||
Note:
See TracChangeset
for help on using the changeset viewer.