source: issm/oecreview/Archive/21724-22754/ISSM-22201-22202.diff

Last change on this file was 22755, checked in by Mathieu Morlighem, 7 years ago

CHG: added 21724-22754

File size: 1.2 KB
RevLine 
[22755]1Index: ../trunk-jpl/src/c/classes/Elements/Element.cpp
2===================================================================
3--- ../trunk-jpl/src/c/classes/Elements/Element.cpp (revision 22201)
4+++ ../trunk-jpl/src/c/classes/Elements/Element.cpp (revision 22202)
5@@ -1791,9 +1791,7 @@
6 name==DeviatoricStresszzEnum ||
7 name==DeviatoricStresseffectiveEnum ||
8 name==VxAverageEnum ||
9- name==VyAverageEnum ||
10- name==BalancethicknessSpcthicknessEnum
11-
12+ name==VyAverageEnum
13 ) {
14 return true;
15 }
16Index: ../trunk-jpl/src/c/classes/Constraints/SpcStatic.cpp
17===================================================================
18--- ../trunk-jpl/src/c/classes/Constraints/SpcStatic.cpp (revision 22201)
19+++ ../trunk-jpl/src/c/classes/Constraints/SpcStatic.cpp (revision 22202)
20@@ -115,6 +115,9 @@
21 /*}}}*/
22 void SpcStatic::InputUpdateFromVectorDakota(IssmDouble* vector,Nodes* nodes,int name,int type){/*{{{*/
23
24+ /*Only update if this is a constraint parameter*/
25+ if(name != BalancethicknessSpcthicknessEnum) return;
26+
27 /*Chase through nodes and find the node to which this SpcStatic applys: */
28 Node* node=(Node*)nodes->GetObjectById(NULL,nodeid);
29
Note: See TracBrowser for help on using the repository browser.