Ignore:
Timestamp:
11/21/19 14:07:14 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: more cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/classes/Elements/Tetra.cpp

    r24335 r24376  
    140140/*}}}*/
    141141
    142 void     Tetra::AddInput(int input_enum,IssmDouble* values, int interpolation_enum){/*{{{*/
    143 
    144         /*Call inputs method*/
    145         _assert_(this->inputs);
    146         this->inputs->AddInput(new TetraInput(input_enum,values,interpolation_enum));
    147 }
    148 /*}}}*/
    149142void     Tetra::Configure(Elements* elementsin, Loads* loadsin, Nodes* nodesin,Vertices* verticesin, Materials* materialsin, Parameters* parametersin,Inputs2* inputs2in){/*{{{*/
    150143
     
    417410
    418411        /*Add input to the element: */
    419         this->inputs->AddInput(new TetraInput(enum_type,values,this->element_type));
     412        this->AddInput2(enum_type,values,this->element_type);
    420413
    421414        /*Free ressources:*/
Note: See TracChangeset for help on using the changeset viewer.