Changeset 17684
- Timestamp:
- 04/08/14 20:05:51 (11 years ago)
- Location:
- issm/trunk-jpl/src/c/classes/Elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r17672 r17684 810 810 break; 811 811 case StressTensorxxEnum: 812 case StressTensorxyEnum: 813 case StressTensorxzEnum: 814 case StressTensoryyEnum: 815 case StressTensoryzEnum: 816 case StressTensorzzEnum: 812 817 this->ComputeStressTensor(); 813 818 input=this->inputs->GetInput(output_enum); 814 819 break; 815 case StressTensorxyEnum: 816 this->ComputeStressTensor(); 817 input=this->inputs->GetInput(output_enum); 818 break; 819 case StressTensorxzEnum: 820 this->ComputeStressTensor(); 821 input=this->inputs->GetInput(output_enum); 822 break; 823 case StressTensoryyEnum: 824 this->ComputeStressTensor(); 825 input=this->inputs->GetInput(output_enum); 826 break; 827 case StressTensoryzEnum: 828 this->ComputeStressTensor(); 829 input=this->inputs->GetInput(output_enum); 830 break; 831 case StressTensorzzEnum: 832 this->ComputeStressTensor(); 820 case DeviatoricStressxxEnum: 821 case DeviatoricStressxyEnum: 822 case DeviatoricStressxzEnum: 823 case DeviatoricStressyyEnum: 824 case DeviatoricStressyzEnum: 825 case DeviatoricStresszzEnum: 826 this->ComputeDeviatoricStressTensor(); 833 827 input=this->inputs->GetInput(output_enum); 834 828 break; -
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r17681 r17684 171 171 172 172 /*Retrieve all inputs we will be needing: */ 173 this->FindParam(&meshxdim,Mesh TypeEnum);173 this->FindParam(&meshxdim,MeshXDimEnum); 174 174 if(meshxdim==Mesh2DhorizontalEnum) _error_("stress tensor calculation not supported for mesh of type " <<EnumToStringx(meshxdim)<<", extrude mesh or call ComputeDeviatoricStressTensor"); 175 175 Input* pressure_input=inputs->GetInput(PressureEnum); _assert_(pressure_input); … … 224 224 225 225 /*Retrieve all inputs we will be needing: */ 226 this->FindParam(&meshxdim,Mesh TypeEnum);226 this->FindParam(&meshxdim,MeshXDimEnum); 227 227 if(meshxdim!=Mesh2DhorizontalEnum) _error_("deviatoric stress tensor calculation not implemented for mesh of type " <<EnumToStringx(meshxdim)); 228 228 Input* vx_input=inputs->GetInput(VxEnum); _assert_(vx_input);
Note:
See TracChangeset
for help on using the changeset viewer.