source:
issm/oecreview/Archive/16554-17801/ISSM-17683-17684.diff@
17802
Last change on this file since 17802 was 17802, checked in by , 11 years ago | |
---|---|
File size: 2.7 KB |
-
../trunk-jpl/src/c/classes/Elements/Tria.cpp
170 170 ::GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES); 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); 176 176 Input* vx_input=inputs->GetInput(VxEnum); _assert_(vx_input); … … 223 223 ::GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES); 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); 229 229 Input* vy_input=inputs->GetInput(VyEnum); _assert_(vy_input); -
../trunk-jpl/src/c/classes/Elements/Element.cpp
809 809 input=this->inputs->GetInput(output_enum); 810 810 break; 811 811 case StressTensorxxEnum: 812 this->ComputeStressTensor();813 input=this->inputs->GetInput(output_enum);814 break;815 812 case StressTensorxyEnum: 816 this->ComputeStressTensor();817 input=this->inputs->GetInput(output_enum);818 break;819 813 case StressTensorxzEnum: 820 this->ComputeStressTensor();821 input=this->inputs->GetInput(output_enum);822 break;823 814 case StressTensoryyEnum: 824 this->ComputeStressTensor();825 input=this->inputs->GetInput(output_enum);826 break;827 815 case StressTensoryzEnum: 816 case StressTensorzzEnum: 828 817 this->ComputeStressTensor(); 829 818 input=this->inputs->GetInput(output_enum); 830 819 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; 835 829 default:
Note:
See TracBrowser
for help on using the repository browser.