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

CHG: removing inputs from elements

File:
1 edited

Legend:

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

    r24376 r24378  
    4242                /*this->parameters: we still can't point to it, it may not even exist. Configure will handle this.*/
    4343                this->parameters = NULL;
    44 
    45                 /*intialize inputs: */
    46                 this->inputs  = new Inputs();
    4744
    4845                /*initialize pointers:*/
     
    126123        tria->sid = this->sid;
    127124        tria->lid = this->lid;
    128         if(this->inputs) tria->inputs = (Inputs*)(this->inputs->Copy());
    129         else tria->inputs=new Inputs();
    130125        tria->isonbase  = this->isonbase;
    131126        tria->isonsurface  = this->isonsurface;
     
    10981093        this->parameters=parametersin;
    10991094        this->inputs2=inputs2in;
    1100 
    1101         /*get inputs configured too: */
    1102         this->inputs->Configure(this->parameters);
    1103 
    11041095}/*}}}*/
    11051096void       Tria::ControlInputSetGradient(IssmDouble* gradient,int enum_type,int control_index,int offset,int N, int M){/*{{{*/
     
    31153106        /*Add new input to current element*/
    31163107        _error_("not implemented");
    3117         this->inputs->AddInput((Input*)newinput);
    31183108}
    31193109/*}}}*/
     
    41164106        seg->sid=this->sid;
    41174107        seg->lid=this->lid;
    4118         seg->inputs=NULL;//(Inputs*)this->inputs->SpawnSegInputs(index1,index2);
    41194108        seg->inputs2=this->inputs2;
    41204109        seg->parameters=this->parameters;
Note: See TracChangeset for help on using the changeset viewer.