Changeset 17338
- Timestamp:
- 02/21/14 14:16:13 (11 years ago)
- Location:
- issm/trunk-jpl/src/c/classes/Elements
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r17334 r17338 369 369 } 370 370 /*}}}*/ 371 void Element::GetInputValue(bool* pvalue,int inputenum){/*{{{*/ 372 373 Input* input=inputs->GetInput(inputenum); 374 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element"); 375 input->GetInputValue(pvalue); 376 377 }/*}}}*/ 378 void Element::GetInputValue(int* pvalue,int inputenum){/*{{{*/ 379 380 Input* input=inputs->GetInput(inputenum); 381 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element"); 382 input->GetInputValue(pvalue); 383 384 }/*}}}*/ 385 void Element::GetInputValue(IssmDouble* pvalue,int inputenum){/*{{{*/ 386 387 Input* input=inputs->GetInput(inputenum); 388 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element"); 389 input->GetInputValue(pvalue); 390 391 }/*}}}*/ 392 void Element::GetInputValue(IssmDouble* pvalue,Gauss* gauss,int inputenum){/*{{{*/ 393 394 Input* input=inputs->GetInput(inputenum); 395 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element"); 396 input->GetInputValue(pvalue,gauss); 397 398 }/*}}}*/ 371 399 void Element::GetVerticesSidList(int* sidlist){/*{{{*/ 372 400 -
issm/trunk-jpl/src/c/classes/Elements/Element.h
r17330 r17338 69 69 void GetInputListOnVertices(IssmDouble* pvalue,int enumtype); 70 70 void GetInputListOnVertices(IssmDouble* pvalue,int enumtype,IssmDouble defaultvalue); 71 void GetInputValue(bool* pvalue,int enum_type); 72 void GetInputValue(int* pvalue,int enum_type); 73 void GetInputValue(IssmDouble* pvalue,int enum_type); 74 void GetInputValue(IssmDouble* pvalue,Gauss* gauss,int enum_type); 71 75 IssmDouble GetMaterialParameter(int enum_in); 72 76 void GetPhi(IssmDouble* phi, IssmDouble* epsilon, IssmDouble viscosity); … … 168 172 virtual IssmDouble GetGroundedPortion(IssmDouble* xyz_list)=0; 169 173 virtual void GetInputValue(IssmDouble* pvalue,Node* node,int enumtype)=0; 170 virtual void GetInputValue(bool* pvalue,int enum_type)=0;171 virtual void GetInputValue(int* pvalue,int enum_type)=0;172 virtual void GetInputValue(IssmDouble* pvalue,int enum_type)=0;173 virtual void GetInputValue(IssmDouble* pvalue,Gauss* gauss,int enum_type)=0;174 174 virtual Node* GetNode(int node_number)=0; 175 175 virtual void GetVerticesCoordinates(IssmDouble** xyz_list)=0; -
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r17337 r17338 907 907 } 908 908 /*}}}*/ 909 /*FUNCTION Penta::GetInputValue(bool* pvalue,int inputenum) {{{*/910 void Penta::GetInputValue(bool* pvalue,int inputenum){911 912 Input* input=inputs->GetInput(inputenum);913 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element");914 input->GetInputValue(pvalue);915 916 }/*}}}*/917 /*FUNCTION Penta::GetInputValue(int* pvalue,int inputenum) {{{*/918 void Penta::GetInputValue(int* pvalue,int inputenum){919 920 Input* input=inputs->GetInput(inputenum);921 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element");922 input->GetInputValue(pvalue);923 924 }/*}}}*/925 /*FUNCTION Penta::GetInputValue(IssmDouble* pvalue,int inputenum) {{{*/926 void Penta::GetInputValue(IssmDouble* pvalue,int inputenum){927 928 Input* input=inputs->GetInput(inputenum);929 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element");930 input->GetInputValue(pvalue);931 932 }/*}}}*/933 /*FUNCTION Penta::GetInputValue(IssmDouble* pvalue,Gauss* gauss,int inputenum) {{{*/934 void Penta::GetInputValue(IssmDouble* pvalue,Gauss* gauss,int inputenum){935 936 Input* input=inputs->GetInput(inputenum);937 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element");938 input->GetInputValue(pvalue,gauss);939 940 }/*}}}*/941 909 /*FUNCTION Penta::GetVerticesCoordinates(IssmDouble** pxyz_list){{{*/ 942 910 void Penta::GetVerticesCoordinates(IssmDouble** pxyz_list){ -
issm/trunk-jpl/src/c/classes/Elements/Penta.h
r17322 r17338 203 203 int GetElementType(void); 204 204 void GetInputValue(IssmDouble* pvalue,Node* node,int enumtype); 205 void GetInputValue(bool* pvalue,int enum_type);206 void GetInputValue(int* pvalue,int enum_type);207 void GetInputValue(IssmDouble* pvalue,int enum_type);208 void GetInputValue(IssmDouble* pvalue,Gauss* gauss,int enum_type);209 205 Node* GetNode(int node_number); 210 206 void InputChangeName(int input_enum, int enum_type_old); -
issm/trunk-jpl/src/c/classes/Elements/Seg.h
r17322 r17338 125 125 IssmDouble GetGroundedPortion(IssmDouble* xyz_list){_error_("not implemented yet");}; 126 126 void GetInputValue(IssmDouble* pvalue,Node* node,int enumtype){_error_("not implemented yet");}; 127 void GetInputValue(bool* pvalue,int enum_type){_error_("not implemented yet");};128 void GetInputValue(int* pvalue,int enum_type){_error_("not implemented yet");};129 void GetInputValue(IssmDouble* pvalue,int enum_type){_error_("not implemented yet");};130 void GetInputValue(IssmDouble* pvalue,Gauss* gauss,int enum_type){_error_("not implemented yet");};131 127 Node* GetNode(int node_number){_error_("Not implemented");}; 132 128 IssmDouble GetXcoord(Gauss* gauss){_error_("Not implemented");}; -
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r17332 r17338 984 984 } 985 985 /*}}}*/ 986 /*FUNCTION Tria::GetInputValue(bool* pvalue,int inputenum) {{{*/987 void Tria::GetInputValue(bool* pvalue,int inputenum){988 989 Input* input=inputs->GetInput(inputenum);990 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element");991 input->GetInputValue(pvalue);992 993 }/*}}}*/994 /*FUNCTION Tria::GetInputValue(int* pvalue,int inputenum) {{{*/995 void Tria::GetInputValue(int* pvalue,int inputenum){996 997 Input* input=inputs->GetInput(inputenum);998 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element");999 input->GetInputValue(pvalue);1000 1001 }/*}}}*/1002 /*FUNCTION Tria::GetInputValue(IssmDouble* pvalue,int inputenum) {{{*/1003 void Tria::GetInputValue(IssmDouble* pvalue,int inputenum){1004 1005 Input* input=inputs->GetInput(inputenum);1006 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element");1007 input->GetInputValue(pvalue);1008 1009 }/*}}}*/1010 /*FUNCTION Tria::GetInputValue(IssmDouble* pvalue,Gauss* gauss,int inputenum) {{{*/1011 void Tria::GetInputValue(IssmDouble* pvalue,Gauss* gauss,int inputenum){1012 1013 Input* input=inputs->GetInput(inputenum);1014 if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element");1015 input->GetInputValue(pvalue,gauss);1016 1017 }/*}}}*/1018 986 Node* Tria::GetNode(int node_number){/*{{{*/ 1019 987 _assert_(node_number>=0); -
issm/trunk-jpl/src/c/classes/Elements/Tria.h
r17322 r17338 213 213 void NormalBase(IssmDouble* normal,IssmDouble* xyz_list); 214 214 void GetInputValue(IssmDouble* pvalue,Node* node,int enumtype); 215 void GetInputValue(bool* pvalue,int enum_type);216 void GetInputValue(int* pvalue,int enum_type);217 void GetInputValue(IssmDouble* pvalue,int enum_type);218 void GetInputValue(IssmDouble* pvalue,Gauss* gauss,int enum_type);219 215 void GetMaterialInputValue(IssmDouble* pvalue,Node* node,int enumtype); 220 216 Node* GetNode(int node_number);
Note:
See TracChangeset
for help on using the changeset viewer.