Changeset 3706


Ignore:
Timestamp:
05/11/10 08:47:34 (15 years ago)
Author:
seroussi
Message:

added dt

Location:
issm/trunk/src/c/objects/Elements
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Elements/Beam.cpp

    r3703 r3706  
    142142        }       
    143143        if (iomodel->gridonbed) this->inputs->AddInput(new BoolInput(ElementOnBedEnum,(IssmBool)iomodel->gridonbed[index]));
     144        if (iomodel->dt) this->inputs->AddInput(new DoubleInput(DtEnum,iomodel->dt));
    144145
    145146        //this->parameters: we still can't point to it, it may not even exist. Configure will handle this.
  • issm/trunk/src/c/objects/Elements/Penta.cpp

    r3704 r3706  
    161161        if (iomodel->elementonwater) this->inputs->AddInput(new BoolInput(ElementOnWaterEnum,(IssmBool)iomodel->elementonwater[index]));
    162162        if (iomodel->elementonsurface) this->inputs->AddInput(new BoolInput(ElementOnSurfaceEnum,(IssmBool)iomodel->elementonsurface[index]));
     163        if (iomodel->dt) this->inputs->AddInput(new DoubleInput(DtEnum,iomodel->dt));
    163164
    164165        //elements of type 3 are macayeal type penta. we collapse the formulation on their base.
  • issm/trunk/src/c/objects/Elements/Sing.cpp

    r3699 r3706  
    9494        if (iomodel->vz_obs) this->inputs->AddInput(new SingVertexInput(VzEnum,iomodel->vz_obs[i]));
    9595        if (iomodel->weights) this->inputs->AddInput(new SingVertexInput(WeightsEnum,iomodel->weights[i]));
     96
     97        if (iomodel->dt) this->inputs->AddInput(new DoubleInput(DtEnum,iomodel->dt));
    9698
    9799        //this->parameters: we still can't point to it, it may not even exist. Configure will handle this.
  • issm/trunk/src/c/objects/Elements/Tria.cpp

    r3704 r3706  
    174174        if (iomodel->elementonwater) this->inputs->AddInput(new BoolInput(ElementOnWaterEnum,(IssmBool)iomodel->elementonwater[index]));
    175175        if (iomodel->elementonsurface) this->inputs->AddInput(new BoolInput(ElementOnSurfaceEnum,(IssmBool)iomodel->elementonsurface[index]));
     176        if (iomodel->dt) this->inputs->AddInput(new DoubleInput(DtEnum,iomodel->dt));
    176177
    177178        //this->parameters: we still can't point to it, it may not even exist. Configure will handle this.
Note: See TracChangeset for help on using the changeset viewer.