Changeset 24182


Ignore:
Timestamp:
09/30/19 10:06:40 (5 years ago)
Author:
Mathieu Morlighem
Message:

BUG: trying to fix dakota

File:
1 edited

Legend:

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

    r24157 r24182  
    29082908
    29092909        int         numnodes;
     2910        IssmDouble  value;
    29102911        int        *doflist = NULL;
    29112912        IssmDouble *values  = NULL;
     
    29702971                        }
    29712972                        this->inputs->AddInput(new TriaInput(name,values,this->element_type));
     2973                        break;
     2974
     2975                case ElementEnum:
     2976                        value=vector[this->Sid()];
     2977                        if(xIsNan<IssmDouble>(value)) _error_("NaN found in vector");
     2978                        if(xIsInf<IssmDouble>(value)) _error_("Inf found in vector");
     2979                        /*update input*/
     2980                        this->inputs->AddInput(new DoubleInput(name,value));
    29722981                        break;
    29732982
Note: See TracChangeset for help on using the changeset viewer.