Changeset 12278
- Timestamp:
- 05/23/12 16:11:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-jpl-damage/src/c/objects/Elements/Penta.cpp
r12275 r12278 1478 1478 1479 1479 /*Go through all the input objects, and find the one corresponding to enum_type, if it exists: */ 1480 if (enum_type==MaterialsRheologyBbarEnum || enum_type==MaterialsRheologyZbarEnum) input=this->matice->inputs->GetInput(enum_type); 1480 if (enum_type==MaterialsRheologyBbarEnum) input=this->matice->inputs->GetInput(MaterialsRheologyBEnum); 1481 else if (enum_type==MaterialsRheologyZbarEnum) input=this->matice->inputs->GetInput(MaterialsRheologyZEnum); 1481 1482 else input=this->inputs->GetInput(enum_type); 1482 1483 //if (!input) _error_("Input %s not found in penta->inputs",EnumToStringx(enum_type)); why error out? if the requested input does not exist, we should still … … 5096 5097 this->matice->inputs->DeleteInput(MaterialsRheologyBbarEnum); 5097 5098 5099 /*delete Average Z*/ 5100 this->matice->inputs->DeleteInput(MaterialsRheologyZbarEnum); 5101 5098 5102 } /*}}}*/ 5099 5103 /*FUNCTION Penta::GradjBbarPattyn {{{1*/ … … 5116 5120 /*delete Average B*/ 5117 5121 this->matice->inputs->DeleteInput(MaterialsRheologyBbarEnum); 5122 5123 /*delete Average Z*/ 5124 this->matice->inputs->DeleteInput(MaterialsRheologyZbarEnum); 5118 5125 } /*}}}*/ 5119 5126 /*FUNCTION Penta::GradjBbarStokes {{{1*/ … … 5136 5143 /*delete Average B*/ 5137 5144 this->matice->inputs->DeleteInput(MaterialsRheologyBbarEnum); 5145 5146 /*delete Average Z*/ 5147 this->matice->inputs->DeleteInput(MaterialsRheologyZbarEnum); 5138 5148 } /*}}}*/ 5139 5149 /*FUNCTION Penta::InputControlUpdate{{{1*/
Note:
See TracChangeset
for help on using the changeset viewer.