Changeset 4091
- Timestamp:
- 06/21/10 12:26:34 (15 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 77 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/DataSet/DataSet.cpp
r4079 r4091 1050 1050 } 1051 1051 /*}}}*/ 1052 /*FUNCTION DataSet::UpdateInputsFromVector{{{1*/1053 void DataSet::UpdateInputsFromVector(double* vec, int name, int type){1054 1055 vector<Object*>::iterator object;1056 for ( object=objects.begin() ; object < objects.end(); object++ ){1057 1058 (*object)->UpdateInputsFromVector(vec,name,type);1059 }1060 }1061 /*}}}*/1062 /*FUNCTION DataSet::UpdateInputsFromVector{{{1*/1063 void DataSet::UpdateInputsFromVector(int* vec, int name, int type){1064 1065 vector<Object*>::iterator object;1066 for ( object=objects.begin() ; object < objects.end(); object++ ){1067 1068 (*object)->UpdateInputsFromVector(vec,name,type);1069 }1070 }1071 /*}}}*/1072 /*FUNCTION DataSet::UpdateInputsFromVector{{{1*/1073 void DataSet::UpdateInputsFromVector(bool* vec, int name, int type){1074 1075 vector<Object*>::iterator object;1076 for ( object=objects.begin() ; object < objects.end(); object++ ){1077 1078 (*object)->UpdateInputsFromVector(vec,name,type);1079 }1080 }1081 /*}}}*/ -
issm/trunk/src/c/DataSet/DataSet.h
r4079 r4091 68 68 void SetSorting(int* in_sorted_ids,int* in_id_offsets); 69 69 void Sort(); 70 void UpdateInputsFromVector(double* vector,int name, int type);71 void UpdateInputsFromVector(int* vector,int name, int type);72 void UpdateInputsFromVector(bool* vector,int name, int type);73 70 int RiftIsPresent(); 74 71 int MeltingIsPresent(); -
issm/trunk/src/c/Makefile.am
r4085 r4091 436 436 ./modules/GetVectorFromInputsx/GetVectorFromInputsx.h\ 437 437 ./modules/GetVectorFromInputsx/GetVectorFromInputsx.cpp\ 438 ./modules/ UpdateInputsFromVectorx/UpdateInputsFromVectorx.h\439 ./modules/ UpdateInputsFromVectorx/UpdateInputsFromVectorx.cpp\438 ./modules/InputUpdateFromVectorx/InputUpdateFromVectorx.h\ 439 ./modules/InputUpdateFromVectorx/InputUpdateFromVectorx.cpp\ 440 440 ./modules/UpdateGeometryx/UpdateGeometryx.h\ 441 441 ./modules/UpdateGeometryx/UpdateGeometryx.cpp\ … … 959 959 ./modules/GetVectorFromInputsx/GetVectorFromInputsx.h\ 960 960 ./modules/GetVectorFromInputsx/GetVectorFromInputsx.cpp\ 961 ./modules/ UpdateInputsFromVectorx/UpdateInputsFromVectorx.h\962 ./modules/ UpdateInputsFromVectorx/UpdateInputsFromVectorx.cpp\961 ./modules/InputUpdateFromVectorx/InputUpdateFromVectorx.h\ 962 ./modules/InputUpdateFromVectorx/InputUpdateFromVectorx.cpp\ 963 963 ./modules/UpdateGeometryx/UpdateGeometryx.h\ 964 964 ./modules/UpdateGeometryx/UpdateGeometryx.cpp\ -
issm/trunk/src/c/modules/CostFunctionx/CostFunctionx.cpp
r4043 r4091 32 32 33 33 /*add surface area to elements :*/ 34 elements->UpdateInputsFromVector(&S,SurfaceAreaEnum,ConstantEnum); 34 for(i=0;i<elements->Size();i++){ 35 Element* element=(Element*)elements->GetObjectByOffset(i); 36 element->InputUpdateFromVector(&S,SurfaceAreaEnum,ConstantEnum); 37 } 35 38 36 39 /*Compute cost function: */ -
issm/trunk/src/c/modules/Dux/Dux.cpp
r4043 r4091 38 38 39 39 /*add surface area to elements :*/ 40 elements->UpdateInputsFromVector(&S,SurfaceAreaEnum,ConstantEnum); 40 for(i=0;i<elements->Size();i++){ 41 Element* element=(Element*)elements->GetObjectByOffset(i); 42 element->InputUpdateFromVector(&S,SurfaceAreaEnum,ConstantEnum); 43 } 41 44 42 45 /*Get size of matrix: */ -
issm/trunk/src/c/modules/InputUpdateFromVectorx/InputUpdateFromVectorx.cpp
r4087 r4091 24 24 void InputUpdateFromVectorx( DataSet* elements,DataSet* nodes, DataSet* vertices, DataSet* loads, DataSet* materials, Parameters* parameters,double* vector, int NameEnum, int TypeEnum){ 25 25 26 /*First, get elements and loads configured: */ 27 elements->Configure(elements,loads, nodes,vertices, materials,parameters); 28 loads->Configure(elements, loads, nodes,vertices, materials,parameters); 29 nodes->Configure(elements, loads, nodes,vertices, materials,parameters); 30 parameters->Configure(elements,loads, nodes,vertices, materials,parameters); 31 32 /*Update elements, nodes, loads and materials from inputs: */ 33 elements->InputUpdateFromVector(vector,NameEnum,TypeEnum); 34 nodes->InputUpdateFromVector(vector,NameEnum,TypeEnum); 35 vertices->InputUpdateFromVector(vector,NameEnum,TypeEnum); 36 loads->InputUpdateFromVector(vector,NameEnum,TypeEnum); 37 materials->InputUpdateFromVector(vector,NameEnum,TypeEnum); 38 parameters->InputUpdateFromVector(vector,NameEnum,TypeEnum); 39 40 } 41 42 void InputUpdateFromVectorx( DataSet* elements,DataSet* nodes, DataSet* vertices, DataSet* loads, DataSet* materials, Parameters* parameters,int* vector, int NameEnum, int TypeEnum){ 26 int i; 43 27 44 28 /*First, get elements and loads configured: */ … … 49 33 50 34 /*Update elements, nodes, loads and materials from inputs: */ 51 elements->InputUpdateFromVector(vector,NameEnum,TypeEnum); 52 nodes->InputUpdateFromVector(vector,NameEnum,TypeEnum); 53 vertices->InputUpdateFromVector(vector,NameEnum,TypeEnum); 54 loads->InputUpdateFromVector(vector,NameEnum,TypeEnum); 55 materials->InputUpdateFromVector(vector,NameEnum,TypeEnum); 56 parameters->InputUpdateFromVector(vector,NameEnum,TypeEnum); 35 for(i=0;i<elements->Size();i++){ 36 Element* element=(Element*)elements->GetObjectByOffset(i); 37 element->InputUpdateFromVector(vector,NameEnum,TypeEnum); 38 } 39 for(i=0;i<nodes->Size();i++){ 40 Node* node=(Node*)nodes->GetObjectByOffset(i); 41 node->InputUpdateFromVector(vector,NameEnum,TypeEnum); 42 } 43 for(i=0;i<vertices->Size();i++){ 44 Vertex* vertex=(Vertex*)vertices->GetObjectByOffset(i); 45 vertex->InputUpdateFromVector(vector,NameEnum,TypeEnum); 46 } 47 for(i=0;i<loads->Size();i++){ 48 Load* load=(Load*)loads->GetObjectByOffset(i); 49 load->InputUpdateFromVector(vector,NameEnum,TypeEnum); 50 } 51 for(i=0;i<materials->Size();i++){ 52 Material* material=(Material*)materials->GetObjectByOffset(i); 53 material->InputUpdateFromVector(vector,NameEnum,TypeEnum); 54 } 55 for(i=0;i<parameters->Size();i++){ 56 Param* parameter=(Param*)parameters->GetObjectByOffset(i); 57 parameter->InputUpdateFromVector(vector,NameEnum,TypeEnum); 58 } 57 59 58 60 } 59 61 60 void InputUpdateFromVectorx( DataSet* elements,DataSet* nodes, DataSet* vertices, DataSet* loads, DataSet* materials, Parameters* parameters,bool* vector, int NameEnum, int TypeEnum){ 62 void InputUpdateFromVectorx( DataSet* elements,DataSet* nodes, DataSet* vertices, DataSet* loads, DataSet* materials, Parameters* parameters,int* vector, int NameEnum, int TypeEnum){ 63 64 int i; 61 65 62 66 /*First, get elements and loads configured: */ … … 67 71 68 72 /*Update elements, nodes, loads and materials from inputs: */ 69 elements->InputUpdateFromVector(vector,NameEnum,TypeEnum); 70 nodes->InputUpdateFromVector(vector,NameEnum,TypeEnum); 71 vertices->InputUpdateFromVector(vector,NameEnum,TypeEnum); 72 loads->InputUpdateFromVector(vector,NameEnum,TypeEnum); 73 materials->InputUpdateFromVector(vector,NameEnum,TypeEnum); 74 parameters->InputUpdateFromVector(vector,NameEnum,TypeEnum); 73 for(i=0;i<elements->Size();i++){ 74 Element* element=(Element*)elements->GetObjectByOffset(i); 75 element->InputUpdateFromVector(vector,NameEnum,TypeEnum); 76 } 77 for(i=0;i<nodes->Size();i++){ 78 Node* node=(Node*)nodes->GetObjectByOffset(i); 79 node->InputUpdateFromVector(vector,NameEnum,TypeEnum); 80 } 81 for(i=0;i<vertices->Size();i++){ 82 Vertex* vertex=(Vertex*)vertices->GetObjectByOffset(i); 83 vertex->InputUpdateFromVector(vector,NameEnum,TypeEnum); 84 } 85 for(i=0;i<loads->Size();i++){ 86 Load* load=(Load*)loads->GetObjectByOffset(i); 87 load->InputUpdateFromVector(vector,NameEnum,TypeEnum); 88 } 89 for(i=0;i<materials->Size();i++){ 90 Material* material=(Material*)materials->GetObjectByOffset(i); 91 material->InputUpdateFromVector(vector,NameEnum,TypeEnum); 92 } 93 for(i=0;i<parameters->Size();i++){ 94 Param* parameter=(Param*)parameters->GetObjectByOffset(i); 95 parameter->InputUpdateFromVector(vector,NameEnum,TypeEnum); 96 } 75 97 76 98 } 99 100 void InputUpdateFromVectorx( DataSet* elements,DataSet* nodes, DataSet* vertices, DataSet* loads, DataSet* materials, Parameters* parameters,bool* vector, int NameEnum, int TypeEnum){ 101 102 int i; 103 104 /*First, get elements and loads configured: */ 105 elements->Configure(elements,loads, nodes,vertices, materials,parameters); 106 loads->Configure(elements, loads, nodes,vertices, materials,parameters); 107 nodes->Configure(elements, loads, nodes,vertices, materials,parameters); 108 parameters->Configure(elements,loads, nodes,vertices, materials,parameters); 109 110 /*Update elements, nodes, loads and materials from inputs: */ 111 for(i=0;i<elements->Size();i++){ 112 Element* element=(Element*)elements->GetObjectByOffset(i); 113 element->InputUpdateFromVector(vector,NameEnum,TypeEnum); 114 } 115 for(i=0;i<nodes->Size();i++){ 116 Node* node=(Node*)nodes->GetObjectByOffset(i); 117 node->InputUpdateFromVector(vector,NameEnum,TypeEnum); 118 } 119 for(i=0;i<vertices->Size();i++){ 120 Vertex* vertex=(Vertex*)vertices->GetObjectByOffset(i); 121 vertex->InputUpdateFromVector(vector,NameEnum,TypeEnum); 122 } 123 for(i=0;i<loads->Size();i++){ 124 Load* load=(Load*)loads->GetObjectByOffset(i); 125 load->InputUpdateFromVector(vector,NameEnum,TypeEnum); 126 } 127 for(i=0;i<materials->Size();i++){ 128 Material* material=(Material*)materials->GetObjectByOffset(i); 129 material->InputUpdateFromVector(vector,NameEnum,TypeEnum); 130 } 131 for(i=0;i<parameters->Size();i++){ 132 Param* parameter=(Param*)parameters->GetObjectByOffset(i); 133 parameter->InputUpdateFromVector(vector,NameEnum,TypeEnum); 134 } 135 } -
issm/trunk/src/c/modules/Misfitx/Misfitx.cpp
r4043 r4091 32 32 33 33 /*add surface area to elements :*/ 34 elements->UpdateInputsFromVector(&S,SurfaceAreaEnum,ConstantEnum); 34 for(i=0;i<elements->Size();i++){ 35 Element* element=(Element*)elements->GetObjectByOffset(i); 36 element->InputUpdateFromVector(&S,SurfaceAreaEnum,ConstantEnum); 37 } 35 38 36 39 /*Compute Misfit: */ -
issm/trunk/src/c/modules/PenaltyConstraintsx/RiftConstraints.cpp
r4043 r4091 308 308 309 309 /*feed max_penetration to inputs: */ 310 loads->UpdateInputsFromVector(&max_penetration,MaxPenetrationEnum,ConstantEnum); 310 for(i=0;i<loads->Size();i++){ 311 Load* load=(Load*)loads->GetObjectByOffset(i); 312 load->InputUpdateFromVector(&max_penetration,MaxPenetrationEnum,ConstantEnum); 313 } 311 314 } 312 315 -
issm/trunk/src/c/modules/UpdateGeometryx/UpdateGeometryx.cpp
r4057 r4091 106 106 107 107 /*Put back into inputs:*/ 108 UpdateInputsFromVectorx( elements,nodes, vertices,loads, materials, parameters,vec_newthickness,ThicknessEnum,VertexEnum); //clobber existing thickness input with new one109 UpdateInputsFromVectorx( elements,nodes, vertices,loads, materials, parameters,vec_bed,BedEnum,VertexEnum);110 UpdateInputsFromVectorx( elements,nodes, vertices,loads, materials, parameters,vec_surface,SurfaceEnum,VertexEnum);108 InputUpdateFromVectorx( elements,nodes, vertices,loads, materials, parameters,vec_newthickness,ThicknessEnum,VertexEnum); //clobber existing thickness input with new one 109 InputUpdateFromVectorx( elements,nodes, vertices,loads, materials, parameters,vec_bed,BedEnum,VertexEnum); 110 InputUpdateFromVectorx( elements,nodes, vertices,loads, materials, parameters,vec_surface,SurfaceEnum,VertexEnum); 111 111 112 112 /*Free ressources:*/ -
issm/trunk/src/c/modules/modules.h
r4085 r4091 31 31 #include "./InputUpdateFromSolutionx/InputUpdateFromSolutionx.h" 32 32 #include "./InputUpdateFromDakotax/InputUpdateFromDakotax.h" 33 #include "./ UpdateInputsFromVectorx/UpdateInputsFromVectorx.h"33 #include "./InputUpdateFromVectorx/InputUpdateFromVectorx.h" 34 34 #include "./UpdateGeometryx/UpdateGeometryx.h" 35 35 #include "./UpdateVertexPositionsx/UpdateVertexPositionsx.h" -
issm/trunk/src/c/objects/Constraints/Rgb.h
r4085 r4091 35 35 int Id(); 36 36 int MyRank(); 37 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}38 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}39 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}37 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 38 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 39 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 40 40 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 41 41 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Constraints/Spc.h
r4085 r4091 39 39 double GetValue(); 40 40 Object* copy(); 41 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}42 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}43 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}41 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 42 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 43 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 44 44 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 45 45 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/DofVec.h
r4085 r4091 47 47 int MyRank(); 48 48 int Size(); 49 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}50 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}51 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}49 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 50 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 51 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 52 52 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 53 53 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/ElementResults/BeamVertexElementResult.h
r4085 r4091 38 38 int EnumType(); 39 39 40 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}41 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}42 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}40 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 41 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 42 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 43 43 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 44 44 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/ElementResults/DoubleElementResult.h
r4085 r4091 40 40 int EnumType(); 41 41 42 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}43 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}44 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}42 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 43 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 44 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 45 45 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 46 46 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/ElementResults/PentaVertexElementResult.h
r4085 r4091 39 39 int EnumType(); 40 40 41 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}42 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}43 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}41 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 42 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 43 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 44 44 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 45 45 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/ElementResults/SingVertexElementResult.h
r4085 r4091 38 38 int EnumType(); 39 39 40 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}41 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}42 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}40 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 41 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 42 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 43 43 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 44 44 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/ElementResults/TriaVertexElementResult.h
r4085 r4091 38 38 int EnumType(); 39 39 40 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}41 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}42 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}40 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 41 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 42 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 43 43 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 44 44 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Elements/Beam.cpp
r4085 r4091 610 610 } 611 611 /*}}}1*/ 612 /*FUNCTION Beam:: UpdateInputsFromVector(double* vector, int name, int type);{{{1*/613 void Beam:: UpdateInputsFromVector(double* vector, int name, int type){612 /*FUNCTION Beam::InputUpdateFromVector(double* vector, int name, int type);{{{1*/ 613 void Beam::InputUpdateFromVector(double* vector, int name, int type){ 614 614 615 615 /*Check that name is an element input*/ … … 637 637 } 638 638 /*}}}*/ 639 /*FUNCTION Beam:: UpdateInputsFromVector(int* vector, int name, int type);{{{1*/640 void Beam:: UpdateInputsFromVector(int* vector, int name, int type){641 ISSMERROR(" not supported yet!"); 642 } 643 /*}}}*/ 644 /*FUNCTION Beam:: UpdateInputsFromVector(bool* vector, int name, int type);{{{1*/645 void Beam:: UpdateInputsFromVector(bool* vector, int name, int type){639 /*FUNCTION Beam::InputUpdateFromVector(int* vector, int name, int type);{{{1*/ 640 void Beam::InputUpdateFromVector(int* vector, int name, int type){ 641 ISSMERROR(" not supported yet!"); 642 } 643 /*}}}*/ 644 /*FUNCTION Beam::InputUpdateFromVector(bool* vector, int name, int type);{{{1*/ 645 void Beam::InputUpdateFromVector(bool* vector, int name, int type){ 646 646 ISSMERROR(" not supported yet!"); 647 647 } -
issm/trunk/src/c/objects/Elements/Beam.h
r4085 r4091 55 55 Object* copy(); 56 56 void SetClone(int* minranks); 57 void UpdateInputsFromVector(double* vector, int name, int type);58 void UpdateInputsFromVector(int* vector, int name, int type);59 void UpdateInputsFromVector(bool* vector, int name, int type);57 void InputUpdateFromVector(double* vector, int name, int type); 58 void InputUpdateFromVector(int* vector, int name, int type); 59 void InputUpdateFromVector(bool* vector, int name, int type); 60 60 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 61 61 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Elements/Penta.cpp
r4085 r4091 4804 4804 } 4805 4805 /*}}}*/ 4806 /*FUNCTION Penta:: UpdateInputsFromVector(double* vector, int name, int type);{{{1*/4807 void Penta:: UpdateInputsFromVector(double* vector, int name, int type){4806 /*FUNCTION Penta::InputUpdateFromVector(double* vector, int name, int type);{{{1*/ 4807 void Penta::InputUpdateFromVector(double* vector, int name, int type){ 4808 4808 4809 4809 /*Check that name is an element input*/ … … 4832 4832 } 4833 4833 /*}}}*/ 4834 /*FUNCTION Penta:: UpdateInputsFromVector(int* vector, int name, int type);{{{1*/4835 void Penta:: UpdateInputsFromVector(int* vector, int name, int type){4834 /*FUNCTION Penta::InputUpdateFromVector(int* vector, int name, int type);{{{1*/ 4835 void Penta::InputUpdateFromVector(int* vector, int name, int type){ 4836 4836 ISSMERROR(" not supported yet!"); 4837 4837 } 4838 4838 /*}}}*/ 4839 /*FUNCTION Penta:: UpdateInputsFromVector(bool* vector, int name, int type);{{{1*/4840 void Penta:: UpdateInputsFromVector(bool* vector, int name, int type){4839 /*FUNCTION Penta::InputUpdateFromVector(bool* vector, int name, int type);{{{1*/ 4840 void Penta::InputUpdateFromVector(bool* vector, int name, int type){ 4841 4841 ISSMERROR(" not supported yet!"); 4842 4842 } -
issm/trunk/src/c/objects/Elements/Penta.h
r4085 r4091 180 180 void InputUpdateFromSolutionBalancedthickness2( double* solutiong); 181 181 void InputUpdateFromSolutionBalancedvelocities( double* solutiong); 182 void UpdateInputsFromVector(double* vector, int name, int type);183 void UpdateInputsFromVector(int* vector, int name, int type);184 void UpdateInputsFromVector(bool* vector, int name, int type);182 void InputUpdateFromVector(double* vector, int name, int type); 183 void InputUpdateFromVector(int* vector, int name, int type); 184 void InputUpdateFromVector(bool* vector, int name, int type); 185 185 void InputUpdateFromConstant(double constant, int name); 186 186 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Elements/Sing.cpp
r4085 r4091 424 424 } 425 425 /*}}}1*/ 426 /*FUNCTION Sing:: UpdateInputsFromVector(double* vector, int name, int type);{{{1*/427 void Sing:: UpdateInputsFromVector(double* vector, int name, int type){426 /*FUNCTION Sing::InputUpdateFromVector(double* vector, int name, int type);{{{1*/ 427 void Sing::InputUpdateFromVector(double* vector, int name, int type){ 428 428 429 429 /*Check that name is an element input*/ … … 449 449 } 450 450 /*}}}*/ 451 /*FUNCTION Sing:: UpdateInputsFromVector(int* vector, int name, int type);{{{1*/452 void Sing:: UpdateInputsFromVector(int* vector, int name, int type){453 ISSMERROR(" not supported yet!"); 454 } 455 /*}}}*/ 456 /*FUNCTION Sing:: UpdateInputsFromVector(bool* vector, int name, int type);{{{1*/457 void Sing:: UpdateInputsFromVector(bool* vector, int name, int type){451 /*FUNCTION Sing::InputUpdateFromVector(int* vector, int name, int type);{{{1*/ 452 void Sing::InputUpdateFromVector(int* vector, int name, int type){ 453 ISSMERROR(" not supported yet!"); 454 } 455 /*}}}*/ 456 /*FUNCTION Sing::InputUpdateFromVector(bool* vector, int name, int type);{{{1*/ 457 void Sing::InputUpdateFromVector(bool* vector, int name, int type){ 458 458 ISSMERROR(" not supported yet!"); 459 459 } -
issm/trunk/src/c/objects/Elements/Sing.h
r4085 r4091 55 55 void SetClone(int* minranks); 56 56 int MyRank(); 57 void UpdateInputsFromVector(double* vector, int name, int type);58 void UpdateInputsFromVector(int* vector, int name, int type);59 void UpdateInputsFromVector(bool* vector, int name, int type);57 void InputUpdateFromVector(double* vector, int name, int type); 58 void InputUpdateFromVector(int* vector, int name, int type); 59 void InputUpdateFromVector(bool* vector, int name, int type); 60 60 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 61 61 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Elements/Tria.cpp
r4085 r4091 4963 4963 } 4964 4964 /*}}}*/ 4965 /*FUNCTION Tria:: UpdateInputsFromVector(double* vector, int name, int type);{{{1*/4966 void Tria:: UpdateInputsFromVector(double* vector, int name, int type){4965 /*FUNCTION Tria::InputUpdateFromVector(double* vector, int name, int type);{{{1*/ 4966 void Tria::InputUpdateFromVector(double* vector, int name, int type){ 4967 4967 4968 4968 /*Check that name is an element input*/ … … 4991 4991 } 4992 4992 /*}}}*/ 4993 /*FUNCTION Tria:: UpdateInputsFromVector(int* vector, int name, int type);{{{1*/4994 void Tria:: UpdateInputsFromVector(int* vector, int name, int type){4993 /*FUNCTION Tria::InputUpdateFromVector(int* vector, int name, int type);{{{1*/ 4994 void Tria::InputUpdateFromVector(int* vector, int name, int type){ 4995 4995 ISSMERROR(" not supported yet!"); 4996 4996 } 4997 4997 /*}}}*/ 4998 /*FUNCTION Tria:: UpdateInputsFromVector(bool* vector, int name, int type);{{{1*/4999 void Tria:: UpdateInputsFromVector(bool* vector, int name, int type){4998 /*FUNCTION Tria::InputUpdateFromVector(bool* vector, int name, int type);{{{1*/ 4999 void Tria::InputUpdateFromVector(bool* vector, int name, int type){ 5000 5000 ISSMERROR(" not supported yet!"); 5001 5001 } -
issm/trunk/src/c/objects/Elements/Tria.h
r4085 r4091 158 158 void InputUpdateFromSolutionBalancedthickness2( double* solution); 159 159 void InputUpdateFromSolutionBalancedvelocities( double* solution); 160 void UpdateInputsFromVector(double* vector, int name, int type);161 void UpdateInputsFromVector(int* vector, int name, int type);162 void UpdateInputsFromVector(bool* vector, int name, int type);160 void InputUpdateFromVector(double* vector, int name, int type); 161 void InputUpdateFromVector(int* vector, int name, int type); 162 void InputUpdateFromVector(bool* vector, int name, int type); 163 163 void InputUpdateFromConstant(double constant, int name); 164 164 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/ExternalResults/BoolExternalResult.h
r4085 r4091 55 55 int MyRank(); 56 56 57 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}58 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}59 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}57 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 58 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 59 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 60 60 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 61 61 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/ExternalResults/DoubleExternalResult.h
r4085 r4091 55 55 int MyRank(); 56 56 57 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}58 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}59 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}57 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 58 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 59 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 60 60 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 61 61 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/ExternalResults/DoubleVecExternalResult.h
r4085 r4091 54 54 int MyRank(); 55 55 56 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}57 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}58 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}56 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 57 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 58 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 59 59 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 60 60 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/ExternalResults/IntExternalResult.h
r4085 r4091 55 55 int MyRank(); 56 56 57 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}58 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}59 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}57 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 58 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 59 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 60 60 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 61 61 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/ExternalResults/PetscVecExternalResult.h
r4085 r4091 53 53 int MarshallSize(); 54 54 int MyRank(); 55 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}56 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}57 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}55 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 56 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 57 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 58 58 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 59 59 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/ExternalResults/StringExternalResult.h
r4085 r4091 54 54 int MyRank(); 55 55 56 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}57 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}58 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}56 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 57 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 58 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 59 59 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 60 60 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Inputs/BeamVertexInput.h
r4085 r4091 36 36 Object* copy(); 37 37 int EnumType(); 38 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}39 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}40 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}38 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 39 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 40 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 41 41 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 42 42 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Inputs/BoolInput.h
r4085 r4091 36 36 Object* copy(); 37 37 int EnumType(); 38 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}39 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}40 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}38 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 39 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 40 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 41 41 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 42 42 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Inputs/DoubleInput.h
r4085 r4091 38 38 int EnumType(); 39 39 40 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}41 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}42 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}40 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 41 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 42 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 43 43 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 44 44 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Inputs/IntInput.h
r4085 r4091 36 36 Object* copy(); 37 37 int EnumType(); 38 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}39 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}40 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}38 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 39 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 40 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 41 41 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 42 42 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Inputs/PentaVertexInput.h
r4085 r4091 35 35 Object* copy(); 36 36 int EnumType(); 37 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}38 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}39 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}37 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 38 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 39 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 40 40 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 41 41 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Inputs/SingVertexInput.h
r4085 r4091 35 35 Object* copy(); 36 36 int EnumType(); 37 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}38 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}39 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}37 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 38 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 39 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 40 40 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 41 41 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Inputs/TriaVertexInput.h
r4085 r4091 36 36 Object* copy(); 37 37 int EnumType(); 38 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}39 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}40 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}38 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 39 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 40 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 41 41 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 42 42 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Loads/Icefront.cpp
r4090 r4091 1346 1346 } 1347 1347 /*}}}*/ 1348 /*FUNCTION Icefront:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/1349 void Icefront:: UpdateInputsFromVector(double* vector, int name, int type){1348 /*FUNCTION Icefront::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 1349 void Icefront::InputUpdateFromVector(double* vector, int name, int type){ 1350 1350 /*Nothing updated yet*/ 1351 1351 } 1352 1352 /*}}}*/ 1353 /*FUNCTION Icefront:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/1354 void Icefront:: UpdateInputsFromVector(int* vector, int name, int type){1353 /*FUNCTION Icefront::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 1354 void Icefront::InputUpdateFromVector(int* vector, int name, int type){ 1355 1355 /*Nothing updated yet*/ 1356 1356 } 1357 1357 /*}}}*/ 1358 /*FUNCTION Icefront:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/1359 void Icefront:: UpdateInputsFromVector(bool* vector, int name, int type){1358 /*FUNCTION Icefront::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 1359 void Icefront::InputUpdateFromVector(bool* vector, int name, int type){ 1360 1360 /*Nothing updated yet*/ 1361 1361 } -
issm/trunk/src/c/objects/Loads/Icefront.h
r4085 r4091 49 49 int MarshallSize(); 50 50 int MyRank(); 51 void UpdateInputsFromVector(double* vector, int name, int type);52 void UpdateInputsFromVector(int* vector, int name, int type);53 void UpdateInputsFromVector(bool* vector, int name, int type);51 void InputUpdateFromVector(double* vector, int name, int type); 52 void InputUpdateFromVector(int* vector, int name, int type); 53 void InputUpdateFromVector(bool* vector, int name, int type); 54 54 void InputUpdateFromConstant(double constant, int name); 55 55 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Loads/Numericalflux.h
r4085 r4091 44 44 int MarshallSize(); 45 45 int MyRank(); 46 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}47 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}48 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}46 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 47 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 48 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 49 49 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 50 50 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Loads/Pengrid.cpp
r4085 r4091 733 733 } 734 734 /*}}}1*/ 735 /*FUNCTION Pengrid:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/736 void Pengrid:: UpdateInputsFromVector(double* vector, int name, int type){735 /*FUNCTION Pengrid::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 736 void Pengrid::InputUpdateFromVector(double* vector, int name, int type){ 737 737 /*Nothing updated yet*/ 738 738 } 739 739 /*}}}*/ 740 /*FUNCTION Pengrid:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/741 void Pengrid:: UpdateInputsFromVector(int* vector, int name, int type){740 /*FUNCTION Pengrid::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 741 void Pengrid::InputUpdateFromVector(int* vector, int name, int type){ 742 742 /*Nothing updated yet*/ 743 743 } 744 744 /*}}}*/ 745 /*FUNCTION Pengrid:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/746 void Pengrid:: UpdateInputsFromVector(bool* vector, int name, int type){745 /*FUNCTION Pengrid::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 746 void Pengrid::InputUpdateFromVector(bool* vector, int name, int type){ 747 747 /*Nothing updated yet*/ 748 748 } -
issm/trunk/src/c/objects/Loads/Pengrid.h
r4085 r4091 50 50 int MarshallSize(); 51 51 int MyRank(); 52 void UpdateInputsFromVector(double* vector, int name, int type);53 void UpdateInputsFromVector(int* vector, int name, int type);54 void UpdateInputsFromVector(bool* vector, int name, int type);52 void InputUpdateFromVector(double* vector, int name, int type); 53 void InputUpdateFromVector(int* vector, int name, int type); 54 void InputUpdateFromVector(bool* vector, int name, int type); 55 55 void InputUpdateFromConstant(double constant, int name); 56 56 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Loads/Penpair.h
r4085 r4091 41 41 int MarshallSize(); 42 42 int MyRank(); 43 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}44 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}45 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}43 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 44 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 45 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 46 46 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 47 47 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Loads/Riftfront.h
r4085 r4091 59 59 int MarshallSize(); 60 60 int MyRank(); 61 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}62 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}63 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}61 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 62 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 63 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 64 64 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 65 65 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Materials/Material.h
r4085 r4091 26 26 virtual void Demarshall(char** pmarshalled_dataset)=0; 27 27 virtual void UpdateFromInputs(void* inputs)=0; 28 virtual void UpdateInputsFromVector(double* vector, int name, int type)=0;29 virtual void UpdateInputsFromVector(int* vector, int name, int type)=0;30 virtual void UpdateInputsFromVector(bool* vector, int name, int type)=0;28 virtual void InputUpdateFromVector(double* vector, int name, int type)=0; 29 virtual void InputUpdateFromVector(int* vector, int name, int type)=0; 30 virtual void InputUpdateFromVector(bool* vector, int name, int type)=0; 31 31 virtual void InputUpdateFromSolution(double* solution)=0; 32 32 -
issm/trunk/src/c/objects/Materials/Matice.cpp
r4085 r4091 428 428 } 429 429 /*}}}*/ 430 /*FUNCTION Matice:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/431 void Matice:: UpdateInputsFromVector(double* vector, int name, int type){432 /*Nothing updated yet*/ 433 } 434 /*}}}*/ 435 /*FUNCTION Matice:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/436 void Matice:: UpdateInputsFromVector(int* vector, int name, int type){437 /*Nothing updated yet*/ 438 } 439 /*}}}*/ 440 /*FUNCTION Matice:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/441 void Matice:: UpdateInputsFromVector(bool* vector, int name, int type){430 /*FUNCTION Matice::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 431 void Matice::InputUpdateFromVector(double* vector, int name, int type){ 432 /*Nothing updated yet*/ 433 } 434 /*}}}*/ 435 /*FUNCTION Matice::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 436 void Matice::InputUpdateFromVector(int* vector, int name, int type){ 437 /*Nothing updated yet*/ 438 } 439 /*}}}*/ 440 /*FUNCTION Matice::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 441 void Matice::InputUpdateFromVector(bool* vector, int name, int type){ 442 442 /*Nothing updated yet*/ 443 443 } -
issm/trunk/src/c/objects/Materials/Matice.h
r4085 r4091 44 44 double GetB(); 45 45 double GetN(); 46 void UpdateInputsFromVector(double* vector, int name, int type);47 void UpdateInputsFromVector(int* vector, int name, int type);48 void UpdateInputsFromVector(bool* vector, int name, int type);46 void InputUpdateFromVector(double* vector, int name, int type); 47 void InputUpdateFromVector(int* vector, int name, int type); 48 void InputUpdateFromVector(bool* vector, int name, int type); 49 49 void InputUpdateFromConstant(double constant, int name); 50 50 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Materials/Matpar.cpp
r4085 r4091 279 279 } 280 280 /*}}}1*/ 281 /*FUNCTION Matpar:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/282 void Matpar:: UpdateInputsFromVector(double* vector, int name, int type){283 /*Nothing updated yet*/ 284 } 285 /*}}}*/ 286 /*FUNCTION Matpar:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/287 void Matpar:: UpdateInputsFromVector(int* vector, int name, int type){288 /*Nothing updated yet*/ 289 } 290 /*}}}*/ 291 /*FUNCTION Matpar:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/292 void Matpar:: UpdateInputsFromVector(bool* vector, int name, int type){281 /*FUNCTION Matpar::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 282 void Matpar::InputUpdateFromVector(double* vector, int name, int type){ 283 /*Nothing updated yet*/ 284 } 285 /*}}}*/ 286 /*FUNCTION Matpar::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 287 void Matpar::InputUpdateFromVector(int* vector, int name, int type){ 288 /*Nothing updated yet*/ 289 } 290 /*}}}*/ 291 /*FUNCTION Matpar::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 292 void Matpar::InputUpdateFromVector(bool* vector, int name, int type){ 293 293 /*Nothing updated yet*/ 294 294 } -
issm/trunk/src/c/objects/Materials/Matpar.h
r4085 r4091 56 56 double GetMeltingPoint(); 57 57 Object* copy(); 58 void UpdateInputsFromVector(double* vector, int name, int type);59 void UpdateInputsFromVector(int* vector, int name, int type);60 void UpdateInputsFromVector(bool* vector, int name, int type);58 void InputUpdateFromVector(double* vector, int name, int type); 59 void InputUpdateFromVector(int* vector, int name, int type); 60 void InputUpdateFromVector(bool* vector, int name, int type); 61 61 void InputUpdateFromConstant(double constant, int name); 62 62 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Node.cpp
r4079 r4091 837 837 } 838 838 /*}}}*/ 839 /*FUNCTION Node:: UpdateInputsFromVector(double* vector, int name, int type){{{2*/840 void Node:: UpdateInputsFromVector(double* vector, int name, int type){839 /*FUNCTION Node::InputUpdateFromVector(double* vector, int name, int type){{{2*/ 840 void Node::InputUpdateFromVector(double* vector, int name, int type){ 841 841 842 842 /*Nothing updated yet*/ 843 843 } 844 844 /*}}}*/ 845 /*FUNCTION Node:: UpdateInputsFromVector(int* vector, int name, int type){{{2*/846 void Node:: UpdateInputsFromVector(int* vector, int name, int type){845 /*FUNCTION Node::InputUpdateFromVector(int* vector, int name, int type){{{2*/ 846 void Node::InputUpdateFromVector(int* vector, int name, int type){ 847 847 848 848 /*Nothing updated yet*/ 849 849 } 850 850 /*}}}*/ 851 /*FUNCTION Node:: UpdateInputsFromVector(bool* vector, int name, int type){{{2*/852 void Node:: UpdateInputsFromVector(bool* vector, int name, int type){851 /*FUNCTION Node::InputUpdateFromVector(bool* vector, int name, int type){{{2*/ 852 void Node::InputUpdateFromVector(bool* vector, int name, int type){ 853 853 854 854 /*Nothing updated yet*/ -
issm/trunk/src/c/objects/Node.h
r4085 r4091 53 53 int MyRank(void); 54 54 void SetVertexDof(int in_dof); 55 void UpdateInputsFromVector(double* vector, int name, int type);56 void UpdateInputsFromVector(int* vector, int name, int type);57 void UpdateInputsFromVector(bool* vector, int name, int type);55 void InputUpdateFromVector(double* vector, int name, int type); 56 void InputUpdateFromVector(int* vector, int name, int type); 57 void InputUpdateFromVector(bool* vector, int name, int type); 58 58 void InputUpdateFromConstant(double constant, int name); 59 59 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Object.h
r4085 r4091 25 25 virtual int Enum()=0; 26 26 virtual Object* copy()=0; 27 virtual void UpdateInputsFromVector(double* vector, int name, int type)=0;28 virtual void UpdateInputsFromVector(int* vector, int name, int type)=0;29 virtual void UpdateInputsFromVector(bool* vector, int name, int type)=0;27 virtual void InputUpdateFromVector(double* vector, int name, int type)=0; 28 virtual void InputUpdateFromVector(int* vector, int name, int type)=0; 29 virtual void InputUpdateFromVector(bool* vector, int name, int type)=0; 30 30 virtual void InputUpdateFromConstant(double constant, int name)=0; 31 31 virtual void InputUpdateFromConstant(int constant, int name)=0; -
issm/trunk/src/c/objects/Params/BoolParam.cpp
r4079 r4091 144 144 /*}}}*/ 145 145 146 /*FUNCTION BoolParam:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/147 void BoolParam:: UpdateInputsFromVector(double* vector, int name, int type){146 /*FUNCTION BoolParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 147 void BoolParam::InputUpdateFromVector(double* vector, int name, int type){ 148 148 /*Nothing updated yet*/ 149 149 } 150 150 /*}}}*/ 151 /*FUNCTION BoolParam:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/152 void BoolParam:: UpdateInputsFromVector(int* vector, int name, int type){151 /*FUNCTION BoolParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 152 void BoolParam::InputUpdateFromVector(int* vector, int name, int type){ 153 153 /*Nothing updated yet*/ 154 154 } 155 155 /*}}}*/ 156 /*FUNCTION BoolParam:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/157 void BoolParam:: UpdateInputsFromVector(bool* vector, int name, int type){156 /*FUNCTION BoolParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 157 void BoolParam::InputUpdateFromVector(bool* vector, int name, int type){ 158 158 /*Nothing updated yet*/ 159 159 } -
issm/trunk/src/c/objects/Params/BoolParam.h
r4085 r4091 50 50 int MarshallSize(); 51 51 int MyRank(); 52 void UpdateInputsFromVector(double* vector, int name, int type);53 void UpdateInputsFromVector(int* vector, int name, int type);54 void UpdateInputsFromVector(bool* vector, int name, int type);52 void InputUpdateFromVector(double* vector, int name, int type); 53 void InputUpdateFromVector(int* vector, int name, int type); 54 void InputUpdateFromVector(bool* vector, int name, int type); 55 55 void InputUpdateFromConstant(double constant, int name); 56 56 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Params/DoubleMatParam.cpp
r4079 r4091 200 200 /*}}}*/ 201 201 202 /*FUNCTION DoubleMatParam:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/203 void DoubleMatParam:: UpdateInputsFromVector(double* vector, int name, int type){204 /*Nothing updated yet*/ 205 } 206 /*}}}*/ 207 /*FUNCTION DoubleMatParam:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/208 void DoubleMatParam:: UpdateInputsFromVector(int* vector, int name, int type){209 /*Nothing updated yet*/ 210 } 211 /*}}}*/ 212 /*FUNCTION DoubleMatParam:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/213 void DoubleMatParam:: UpdateInputsFromVector(bool* vector, int name, int type){202 /*FUNCTION DoubleMatParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 203 void DoubleMatParam::InputUpdateFromVector(double* vector, int name, int type){ 204 /*Nothing updated yet*/ 205 } 206 /*}}}*/ 207 /*FUNCTION DoubleMatParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 208 void DoubleMatParam::InputUpdateFromVector(int* vector, int name, int type){ 209 /*Nothing updated yet*/ 210 } 211 /*}}}*/ 212 /*FUNCTION DoubleMatParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 213 void DoubleMatParam::InputUpdateFromVector(bool* vector, int name, int type){ 214 214 /*Nothing updated yet*/ 215 215 } -
issm/trunk/src/c/objects/Params/DoubleMatParam.h
r4085 r4091 53 53 int MarshallSize(); 54 54 int MyRank(); 55 void UpdateInputsFromVector(double* vector, int name, int type);56 void UpdateInputsFromVector(int* vector, int name, int type);57 void UpdateInputsFromVector(bool* vector, int name, int type);55 void InputUpdateFromVector(double* vector, int name, int type); 56 void InputUpdateFromVector(int* vector, int name, int type); 57 void InputUpdateFromVector(bool* vector, int name, int type); 58 58 void InputUpdateFromConstant(double constant, int name); 59 59 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Params/DoubleParam.cpp
r4079 r4091 166 166 /*}}}*/ 167 167 168 /*FUNCTION DoubleParam:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/169 void DoubleParam:: UpdateInputsFromVector(double* vector, int name, int type){168 /*FUNCTION DoubleParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 169 void DoubleParam::InputUpdateFromVector(double* vector, int name, int type){ 170 170 /*Nothing updated yet*/ 171 171 } 172 172 /*}}}*/ 173 /*FUNCTION DoubleParam:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/174 void DoubleParam:: UpdateInputsFromVector(int* vector, int name, int type){173 /*FUNCTION DoubleParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 174 void DoubleParam::InputUpdateFromVector(int* vector, int name, int type){ 175 175 /*Nothing updated yet*/ 176 176 } 177 177 /*}}}*/ 178 /*FUNCTION DoubleParam:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/179 void DoubleParam:: UpdateInputsFromVector(bool* vector, int name, int type){178 /*FUNCTION DoubleParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 179 void DoubleParam::InputUpdateFromVector(bool* vector, int name, int type){ 180 180 /*Nothing updated yet*/ 181 181 } -
issm/trunk/src/c/objects/Params/DoubleParam.h
r4085 r4091 51 51 int MarshallSize(); 52 52 int MyRank(); 53 void UpdateInputsFromVector(double* vector, int name, int type);54 void UpdateInputsFromVector(int* vector, int name, int type);55 void UpdateInputsFromVector(bool* vector, int name, int type);53 void InputUpdateFromVector(double* vector, int name, int type); 54 void InputUpdateFromVector(int* vector, int name, int type); 55 void InputUpdateFromVector(bool* vector, int name, int type); 56 56 void InputUpdateFromConstant(double constant, int name); 57 57 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Params/DoubleVecParam.cpp
r4079 r4091 210 210 /*}}}*/ 211 211 212 /*FUNCTION DoubleVecParam:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/213 void DoubleVecParam:: UpdateInputsFromVector(double* vector, int name, int type){214 /*Nothing updated yet*/ 215 } 216 /*}}}*/ 217 /*FUNCTION DoubleVecParam:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/218 void DoubleVecParam:: UpdateInputsFromVector(int* vector, int name, int type){219 /*Nothing updated yet*/ 220 } 221 /*}}}*/ 222 /*FUNCTION DoubleVecParam:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/223 void DoubleVecParam:: UpdateInputsFromVector(bool* vector, int name, int type){212 /*FUNCTION DoubleVecParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 213 void DoubleVecParam::InputUpdateFromVector(double* vector, int name, int type){ 214 /*Nothing updated yet*/ 215 } 216 /*}}}*/ 217 /*FUNCTION DoubleVecParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 218 void DoubleVecParam::InputUpdateFromVector(int* vector, int name, int type){ 219 /*Nothing updated yet*/ 220 } 221 /*}}}*/ 222 /*FUNCTION DoubleVecParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 223 void DoubleVecParam::InputUpdateFromVector(bool* vector, int name, int type){ 224 224 /*Nothing updated yet*/ 225 225 } -
issm/trunk/src/c/objects/Params/DoubleVecParam.h
r4085 r4091 51 51 int MarshallSize(); 52 52 int MyRank(); 53 void UpdateInputsFromVector(double* vector, int name, int type);54 void UpdateInputsFromVector(int* vector, int name, int type);55 void UpdateInputsFromVector(bool* vector, int name, int type);53 void InputUpdateFromVector(double* vector, int name, int type); 54 void InputUpdateFromVector(int* vector, int name, int type); 55 void InputUpdateFromVector(bool* vector, int name, int type); 56 56 void InputUpdateFromConstant(double constant, int name); 57 57 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Params/IntParam.cpp
r4079 r4091 145 145 /*}}}*/ 146 146 147 /*FUNCTION IntParam:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/148 void IntParam:: UpdateInputsFromVector(double* vector, int name, int type){147 /*FUNCTION IntParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 148 void IntParam::InputUpdateFromVector(double* vector, int name, int type){ 149 149 /*Nothing updated yet*/ 150 150 } 151 151 /*}}}*/ 152 /*FUNCTION IntParam:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/153 void IntParam:: UpdateInputsFromVector(int* vector, int name, int type){152 /*FUNCTION IntParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 153 void IntParam::InputUpdateFromVector(int* vector, int name, int type){ 154 154 /*Nothing updated yet*/ 155 155 } 156 156 /*}}}*/ 157 /*FUNCTION IntParam:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/158 void IntParam:: UpdateInputsFromVector(bool* vector, int name, int type){157 /*FUNCTION IntParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 158 void IntParam::InputUpdateFromVector(bool* vector, int name, int type){ 159 159 /*Nothing updated yet*/ 160 160 } -
issm/trunk/src/c/objects/Params/IntParam.h
r4085 r4091 51 51 int MarshallSize(); 52 52 int MyRank(); 53 void UpdateInputsFromVector(double* vector, int name, int type);54 void UpdateInputsFromVector(int* vector, int name, int type);55 void UpdateInputsFromVector(bool* vector, int name, int type);53 void InputUpdateFromVector(double* vector, int name, int type); 54 void InputUpdateFromVector(int* vector, int name, int type); 55 void InputUpdateFromVector(bool* vector, int name, int type); 56 56 void InputUpdateFromConstant(double constant, int name); 57 57 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Params/PetscMatParam.cpp
r4079 r4091 227 227 /*}}}*/ 228 228 229 /*FUNCTION PetscMatParam:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/230 void PetscMatParam:: UpdateInputsFromVector(double* vector, int name, int type){231 /*Nothing updated yet*/ 232 } 233 /*}}}*/ 234 /*FUNCTION PetscMatParam:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/235 void PetscMatParam:: UpdateInputsFromVector(int* vector, int name, int type){236 /*Nothing updated yet*/ 237 } 238 /*}}}*/ 239 /*FUNCTION PetscMatParam:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/240 void PetscMatParam:: UpdateInputsFromVector(bool* vector, int name, int type){229 /*FUNCTION PetscMatParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 230 void PetscMatParam::InputUpdateFromVector(double* vector, int name, int type){ 231 /*Nothing updated yet*/ 232 } 233 /*}}}*/ 234 /*FUNCTION PetscMatParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 235 void PetscMatParam::InputUpdateFromVector(int* vector, int name, int type){ 236 /*Nothing updated yet*/ 237 } 238 /*}}}*/ 239 /*FUNCTION PetscMatParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 240 void PetscMatParam::InputUpdateFromVector(bool* vector, int name, int type){ 241 241 /*Nothing updated yet*/ 242 242 } -
issm/trunk/src/c/objects/Params/PetscMatParam.h
r4085 r4091 51 51 int MarshallSize(); 52 52 int MyRank(); 53 void UpdateInputsFromVector(double* vector, int name, int type);54 void UpdateInputsFromVector(int* vector, int name, int type);55 void UpdateInputsFromVector(bool* vector, int name, int type);53 void InputUpdateFromVector(double* vector, int name, int type); 54 void InputUpdateFromVector(int* vector, int name, int type); 55 void InputUpdateFromVector(bool* vector, int name, int type); 56 56 void InputUpdateFromConstant(double constant, int name); 57 57 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Params/PetscVecParam.cpp
r4079 r4091 221 221 /*}}}*/ 222 222 223 /*FUNCTION PetscVecParam:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/224 void PetscVecParam:: UpdateInputsFromVector(double* vector, int name, int type){225 /*Nothing updated yet*/ 226 } 227 /*}}}*/ 228 /*FUNCTION PetscVecParam:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/229 void PetscVecParam:: UpdateInputsFromVector(int* vector, int name, int type){230 /*Nothing updated yet*/ 231 } 232 /*}}}*/ 233 /*FUNCTION PetscVecParam:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/234 void PetscVecParam:: UpdateInputsFromVector(bool* vector, int name, int type){223 /*FUNCTION PetscVecParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 224 void PetscVecParam::InputUpdateFromVector(double* vector, int name, int type){ 225 /*Nothing updated yet*/ 226 } 227 /*}}}*/ 228 /*FUNCTION PetscVecParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 229 void PetscVecParam::InputUpdateFromVector(int* vector, int name, int type){ 230 /*Nothing updated yet*/ 231 } 232 /*}}}*/ 233 /*FUNCTION PetscVecParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 234 void PetscVecParam::InputUpdateFromVector(bool* vector, int name, int type){ 235 235 /*Nothing updated yet*/ 236 236 } -
issm/trunk/src/c/objects/Params/PetscVecParam.h
r4085 r4091 51 51 int MarshallSize(); 52 52 int MyRank(); 53 void UpdateInputsFromVector(double* vector, int name, int type);54 void UpdateInputsFromVector(int* vector, int name, int type);55 void UpdateInputsFromVector(bool* vector, int name, int type);53 void InputUpdateFromVector(double* vector, int name, int type); 54 void InputUpdateFromVector(int* vector, int name, int type); 55 void InputUpdateFromVector(bool* vector, int name, int type); 56 56 void InputUpdateFromConstant(double constant, int name); 57 57 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Params/StringArrayParam.cpp
r4079 r4091 250 250 /*}}}*/ 251 251 252 /*FUNCTION StringArrayParam:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/253 void StringArrayParam:: UpdateInputsFromVector(double* vector, int name, int type){254 /*Nothing updated yet*/ 255 } 256 /*}}}*/ 257 /*FUNCTION StringArrayParam:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/258 void StringArrayParam:: UpdateInputsFromVector(int* vector, int name, int type){259 /*Nothing updated yet*/ 260 } 261 /*}}}*/ 262 /*FUNCTION StringArrayParam:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/263 void StringArrayParam:: UpdateInputsFromVector(bool* vector, int name, int type){252 /*FUNCTION StringArrayParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 253 void StringArrayParam::InputUpdateFromVector(double* vector, int name, int type){ 254 /*Nothing updated yet*/ 255 } 256 /*}}}*/ 257 /*FUNCTION StringArrayParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 258 void StringArrayParam::InputUpdateFromVector(int* vector, int name, int type){ 259 /*Nothing updated yet*/ 260 } 261 /*}}}*/ 262 /*FUNCTION StringArrayParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 263 void StringArrayParam::InputUpdateFromVector(bool* vector, int name, int type){ 264 264 /*Nothing updated yet*/ 265 265 } -
issm/trunk/src/c/objects/Params/StringArrayParam.h
r4085 r4091 53 53 int MarshallSize(); 54 54 int MyRank(); 55 void UpdateInputsFromVector(double* vector, int name, int type);56 void UpdateInputsFromVector(int* vector, int name, int type);57 void UpdateInputsFromVector(bool* vector, int name, int type);55 void InputUpdateFromVector(double* vector, int name, int type); 56 void InputUpdateFromVector(int* vector, int name, int type); 57 void InputUpdateFromVector(bool* vector, int name, int type); 58 58 void InputUpdateFromConstant(double constant, int name); 59 59 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/Params/StringParam.cpp
r4079 r4091 176 176 /*}}}*/ 177 177 178 /*FUNCTION StringParam:: UpdateInputsFromVector(double* vector, int name, int type) {{{1*/179 void StringParam:: UpdateInputsFromVector(double* vector, int name, int type){180 /*Nothing updated yet*/ 181 } 182 /*}}}*/ 183 /*FUNCTION StringParam:: UpdateInputsFromVector(int* vector, int name, int type) {{{1*/184 void StringParam:: UpdateInputsFromVector(int* vector, int name, int type){185 /*Nothing updated yet*/ 186 } 187 /*}}}*/ 188 /*FUNCTION StringParam:: UpdateInputsFromVector(bool* vector, int name, int type) {{{1*/189 void StringParam:: UpdateInputsFromVector(bool* vector, int name, int type){178 /*FUNCTION StringParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 179 void StringParam::InputUpdateFromVector(double* vector, int name, int type){ 180 /*Nothing updated yet*/ 181 } 182 /*}}}*/ 183 /*FUNCTION StringParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/ 184 void StringParam::InputUpdateFromVector(int* vector, int name, int type){ 185 /*Nothing updated yet*/ 186 } 187 /*}}}*/ 188 /*FUNCTION StringParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/ 189 void StringParam::InputUpdateFromVector(bool* vector, int name, int type){ 190 190 /*Nothing updated yet*/ 191 191 } -
issm/trunk/src/c/objects/Params/StringParam.h
r4085 r4091 51 51 int MarshallSize(); 52 52 int MyRank(); 53 void UpdateInputsFromVector(double* vector, int name, int type);54 void UpdateInputsFromVector(int* vector, int name, int type);55 void UpdateInputsFromVector(bool* vector, int name, int type);53 void InputUpdateFromVector(double* vector, int name, int type); 54 void InputUpdateFromVector(int* vector, int name, int type); 55 void InputUpdateFromVector(bool* vector, int name, int type); 56 56 void InputUpdateFromConstant(double constant, int name); 57 57 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/objects/SolPar.h
r4085 r4091 39 39 int Enum(); 40 40 Object* copy(); 41 void UpdateInputsFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");}42 void UpdateInputsFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}43 void UpdateInputsFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}41 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 42 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 43 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 44 44 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 45 45 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} -
issm/trunk/src/c/objects/Vertex.cpp
r4079 r4091 183 183 /*}}}*/ 184 184 185 /*FUNCTION Vertex:: UpdateInputsFromVector(double* vector, int name, int type) {{{2*/186 void Vertex:: UpdateInputsFromVector(double* vector, int name, int type){187 /*Nothing updated yet*/ 188 } 189 /*}}}*/ 190 /*FUNCTION Vertex:: UpdateInputsFromVector(int* vector, int name, int type) {{{2*/191 void Vertex:: UpdateInputsFromVector(int* vector, int name, int type){192 /*Nothing updated yet*/ 193 } 194 /*}}}*/ 195 /*FUNCTION Vertex:: UpdateInputsFromVector(bool* vector, int name, int type) {{{2*/196 void Vertex:: UpdateInputsFromVector(bool* vector, int name, int type){185 /*FUNCTION Vertex::InputUpdateFromVector(double* vector, int name, int type) {{{2*/ 186 void Vertex::InputUpdateFromVector(double* vector, int name, int type){ 187 /*Nothing updated yet*/ 188 } 189 /*}}}*/ 190 /*FUNCTION Vertex::InputUpdateFromVector(int* vector, int name, int type) {{{2*/ 191 void Vertex::InputUpdateFromVector(int* vector, int name, int type){ 192 /*Nothing updated yet*/ 193 } 194 /*}}}*/ 195 /*FUNCTION Vertex::InputUpdateFromVector(bool* vector, int name, int type) {{{2*/ 196 void Vertex::InputUpdateFromVector(bool* vector, int name, int type){ 197 197 /*Nothing updated yet*/ 198 198 } -
issm/trunk/src/c/objects/Vertex.h
r4085 r4091 50 50 void UpdateFromDakota(void* vinputs); 51 51 void UpdatePosition(double* thickness,double* bed); 52 void UpdateInputsFromVector(double* vector, int name, int type);53 void UpdateInputsFromVector(int* vector, int name, int type);54 void UpdateInputsFromVector(bool* vector, int name, int type);52 void InputUpdateFromVector(double* vector, int name, int type); 53 void InputUpdateFromVector(int* vector, int name, int type); 54 void InputUpdateFromVector(bool* vector, int name, int type); 55 55 void InputUpdateFromConstant(double constant, int name); 56 56 void InputUpdateFromConstant(int constant, int name); -
issm/trunk/src/c/solutions/gradient_core.cpp
r4055 r4091 55 55 56 56 /*plug back into inputs: */ 57 UpdateInputsFromVectorx( femmodel-> elements,femmodel-> nodes, femmodel-> vertices,femmodel-> loads, femmodel-> materials, femmodel->parameters,gradient,GradientEnum,VertexEnum);58 UpdateInputsFromVectorx( femmodel-> elements,femmodel-> nodes, femmodel-> vertices,femmodel-> loads, femmodel-> materials, femmodel->parameters,old_gradient,OldGradientEnum,VertexEnum);57 InputUpdateFromVectorx( femmodel-> elements,femmodel-> nodes, femmodel-> vertices,femmodel-> loads, femmodel-> materials, femmodel->parameters,gradient,GradientEnum,VertexEnum); 58 InputUpdateFromVectorx( femmodel-> elements,femmodel-> nodes, femmodel-> vertices,femmodel-> loads, femmodel-> materials, femmodel->parameters,old_gradient,OldGradientEnum,VertexEnum); 59 59 60 60 /*Free ressources and return:*/ -
issm/trunk/src/c/solvers/solver_thermal_nonlinear.cpp
r4085 r4091 111 111 112 112 //Update inputs using new solution: 113 UpdateInputsFromVectorx( fem->elements,fem->nodes, fem->vertices, fem->loads, fem->materials, fem->parameters,tg,TemperatureEnum,VertexEnum);113 InputUpdateFromVectorx( fem->elements,fem->nodes, fem->vertices, fem->loads, fem->materials, fem->parameters,tg,TemperatureEnum,VertexEnum); 114 114 InputUpdateFromSolutionx(fem->elements,fem->nodes, fem->vertices, fem->loads, fem->materials, fem->parameters,tg); 115 115
Note:
See TracChangeset
for help on using the changeset viewer.