Changeset 10931
- Timestamp:
- 11/25/11 16:00:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Tria.cpp
r10703 r10931 1389 1389 if (enum_type==MaterialsRheologyBbarEnum) input=this->matice->inputs->GetInput(enum_type); 1390 1390 else input=this->inputs->GetInput(enum_type); 1391 if (!input) _error_("Input %s not found in tria->inputs",EnumToStringx(enum_type)); 1391 //if (!input) _error_("Input %s not found in tria->inputs",EnumToStringx(enum_type)); 1392 if(!input)return; 1392 1393 1393 1394 /*If we don't find it, no big deal, just don't do the transfer. Otherwise, build a new Result … … 1850 1851 } 1851 1852 /*}}}*/ 1852 /*FUNCTION Tria::Is OnShelf{{{1*/1853 /*FUNCTION Tria::IsFloating {{{1*/ 1853 1854 bool Tria::IsFloating(){ 1854 1855 … … 4704 4705 GaussTria *gauss=NULL; 4705 4706 4707 /*Skip if water or ice shelf element*/ 4708 if(IsOnWater() | IsFloating()) return NULL; 4709 4706 4710 /*Initialize Element matrix*/ 4707 4711 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); … … 4797 4801 double basis[numdof]; 4798 4802 GaussTria* gauss=NULL; 4803 4804 /*Skip if water or ice shelf element*/ 4805 if(IsOnWater() | IsFloating()) return NULL; 4799 4806 4800 4807 /*Initialize Element vector*/
Note:
See TracChangeset
for help on using the changeset viewer.