Changeset 4363 for issm/trunk/src/c/objects/Elements/Tria.cpp
- Timestamp:
- 06/30/10 15:25:10 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Tria.cpp
r4357 r4363 2165 2165 } 2166 2166 /*}}}*/ 2167 /*FUNCTION Tria::Update (IoModel* iomodel,int analysis_counter,int analysis_type){{{1*/2167 /*FUNCTION Tria::Update{{{1*/ 2168 2168 void Tria::Update(int index, IoModel* iomodel,int analysis_counter,int analysis_type){ //i is the element index 2169 2169 … … 2221 2221 if (iomodel->drag_q) this->inputs->AddInput(new DoubleInput(DragQEnum,iomodel->drag_q[index])); 2222 2222 this->inputs->AddInput(new IntInput(DragTypeEnum,iomodel->drag_type)); 2223 } 2224 if (iomodel->rheology_B) { 2225 for(i=0;i<3;i++)nodeinputs[i]=iomodel->rheology_B[tria_vertex_ids[i]-1]; 2226 this->inputs->AddInput(new TriaVertexInput(RheologyBEnum,nodeinputs)); 2223 2227 } 2224 2228 if (iomodel->melting_rate) {
Note:
See TracChangeset
for help on using the changeset viewer.