Changeset 22202


Ignore:
Timestamp:
10/30/17 11:12:08 (7 years ago)
Author:
Mathieu Morlighem
Message:

BUG: do not update Constraints every time

Location:
issm/trunk-jpl/src/c/classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Constraints/SpcStatic.cpp

    r22200 r22202  
    116116void SpcStatic::InputUpdateFromVectorDakota(IssmDouble* vector,Nodes* nodes,int name,int type){/*{{{*/
    117117
     118        /*Only update if this is a constraint parameter*/
     119        if(name != BalancethicknessSpcthicknessEnum) return;
     120
    118121        /*Chase through nodes and find the node to which this SpcStatic applys: */
    119122        Node* node=(Node*)nodes->GetObjectById(NULL,nodeid);
  • issm/trunk-jpl/src/c/classes/Elements/Element.cpp

    r22200 r22202  
    17921792                                name==DeviatoricStresseffectiveEnum ||
    17931793                                name==VxAverageEnum ||
    1794                                 name==VyAverageEnum ||
    1795                                 name==BalancethicknessSpcthicknessEnum
    1796 
     1794                                name==VyAverageEnum
    17971795                                ) {
    17981796                                        return true;
Note: See TracChangeset for help on using the changeset viewer.