Changeset 3707
- Timestamp:
- 05/11/10 09:12:34 (15 years ago)
- Location:
- issm/trunk/src/c/objects/Elements
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Beam.cpp
r3706 r3707 142 142 } 143 143 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));145 144 146 145 //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
r3706 r3707 126 126 this->inputs->AddInput(new PentaVertexInput(TemperatureEnum,nodeinputs)); 127 127 } 128 if (iomodel->dhdt) { 129 for(i=0;i<6;i++)nodeinputs[i]=iomodel->dhdt[penta_node_ids[i]-1]; 130 this->inputs->AddInput(new PentaVertexInput(DhdtEnum,nodeinputs)); 131 } 128 132 129 133 /*vx,vy and vz: */ … … 161 165 if (iomodel->elementonwater) this->inputs->AddInput(new BoolInput(ElementOnWaterEnum,(IssmBool)iomodel->elementonwater[index])); 162 166 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));164 167 165 168 //elements of type 3 are macayeal type penta. we collapse the formulation on their base. -
issm/trunk/src/c/objects/Elements/Sing.cpp
r3706 r3707 94 94 if (iomodel->vz_obs) this->inputs->AddInput(new SingVertexInput(VzEnum,iomodel->vz_obs[i])); 95 95 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));98 96 99 97 //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
r3706 r3707 117 117 if (iomodel->drag_q) this->inputs->AddInput(new DoubleInput(DragQEnum,iomodel->drag_q[index])); 118 118 this->inputs->AddInput(new IntInput(DragTypeEnum,iomodel->drag_type)); 119 119 s 120 120 } 121 121 if (iomodel->melting_rate) { … … 130 130 for(i=0;i<3;i++)nodeinputs[i]=iomodel->geothermalflux[tria_node_ids[i]-1]; 131 131 this->inputs->AddInput(new TriaVertexInput(GeothermalFluxEnum,nodeinputs)); 132 } 133 if (iomodel->dhdt) { 134 for(i=0;i<3;i++)nodeinputs[i]=iomodel->dhdt[tria_node_ids[i]-1]; 135 this->inputs->AddInput(new TriaVertexInput(DhDtEnum,nodeinputs)); 132 136 } 133 137 if (iomodel->pressure) { … … 174 178 if (iomodel->elementonwater) this->inputs->AddInput(new BoolInput(ElementOnWaterEnum,(IssmBool)iomodel->elementonwater[index])); 175 179 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));177 180 178 181 //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.