Ignore:
Timestamp:
06/30/10 15:25:10 (15 years ago)
Author:
Mathieu Morlighem
Message:

Added UpdateElementsControl.cpp to provide the control parameter to the element

File:
1 edited

Legend:

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

    r4357 r4363  
    21652165}
    21662166/*}}}*/
    2167 /*FUNCTION Tria::Update(IoModel* iomodel,int analysis_counter,int analysis_type){{{1*/
     2167/*FUNCTION Tria::Update{{{1*/
    21682168void Tria::Update(int index, IoModel* iomodel,int analysis_counter,int analysis_type){ //i is the element index
    21692169
     
    22212221                if (iomodel->drag_q) this->inputs->AddInput(new DoubleInput(DragQEnum,iomodel->drag_q[index]));
    22222222                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));
    22232227        }
    22242228        if (iomodel->melting_rate) {
Note: See TracChangeset for help on using the changeset viewer.