Changeset 3687 for issm/trunk/src/c/objects/Elements/Penta.cpp
- Timestamp:
- 05/10/10 15:29:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r3683 r3687 118 118 this->inputs->AddInput(new PentaVertexInput(GeothermalFluxEnum,nodeinputs)); 119 119 } 120 121 /*vx,vy and vz: */ 122 if (iomodel->vx) { 123 for(i=0;i<6;i++)nodeinputs[i]=iomodel->vx[penta_node_ids[i]-1]; 124 this->inputs->AddInput(new PentaVertexInput(VxEnum,nodeinputs)); 125 } 126 if (iomodel->vy) { 127 for(i=0;i<6;i++)nodeinputs[i]=iomodel->vy[penta_node_ids[i]-1]; 128 this->inputs->AddInput(new PentaVertexInput(VyEnum,nodeinputs)); 129 } 130 if (iomodel->vz) { 131 for(i=0;i<6;i++)nodeinputs[i]=iomodel->vz[penta_node_ids[i]-1]; 132 this->inputs->AddInput(new PentaVertexInput(VzEnum,nodeinputs)); 133 } 134 if (iomodel->vx_obs) { 135 for(i=0;i<6;i++)nodeinputs[i]=iomodel->vx_obs[penta_node_ids[i]-1]; 136 this->inputs->AddInput(new PentaVertexInput(VxObsEnum,nodeinputs)); 137 } 138 if (iomodel->vy_obs) { 139 for(i=0;i<6;i++)nodeinputs[i]=iomodel->vy_obs[penta_node_ids[i]-1]; 140 this->inputs->AddInput(new PentaVertexInput(VyObsEnum,nodeinputs)); 141 } 142 if (iomodel->vz_obs) { 143 for(i=0;i<6;i++)nodeinputs[i]=iomodel->vz_obs[penta_node_ids[i]-1]; 144 this->inputs->AddInput(new PentaVertexInput(VzObsEnum,nodeinputs)); 145 } 146 if (iomodel->weights) { 147 for(i=0;i<6;i++)nodeinputs[i]=iomodel->weights[penta_node_ids[i]-1]; 148 this->inputs->AddInput(new PentaVertexInput(WeightsEnum,nodeinputs)); 149 } 120 150 121 151 if (iomodel->elementoniceshelf) this->inputs->AddInput(new BoolInput(ElementOnIceShelfEnum,(IssmBool)iomodel->elementoniceshelf[index]));
Note:
See TracChangeset
for help on using the changeset viewer.