Changeset 4244
- Timestamp:
- 06/25/10 17:37:18 (15 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 1 added
- 1 deleted
- 63 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Makefile.am
r4236 r4244 77 77 ./objects/Bamg/VertexOnVertex.h\ 78 78 ./objects/Bamg/VertexOnVertex.cpp\ 79 ./objects/Update.h\ 79 80 ./objects/Element.h\ 80 81 ./objects/FemModel.h\ … … 619 620 ./objects/Bamg/VertexOnGeom.cpp\ 620 621 ./objects/Bamg/VertexOnVertex.h\ 622 ./objects/Update.h\ 621 623 ./objects/Element.h\ 622 624 ./objects/FemModel.h\ -
issm/trunk/src/c/modules/InputUpdateFromVectorx/InputUpdateFromVectorx.cpp
r4218 r4244 41 41 node->InputUpdateFromVector(vector,NameEnum,TypeEnum); 42 42 } 43 for(i=0;i<vertices->Size();i++){44 Vertex* vertex=(Vertex*)vertices->GetObjectByOffset(i);45 vertex->InputUpdateFromVector(vector,NameEnum,TypeEnum);46 }47 43 for(i=0;i<loads->Size();i++){ 48 44 Load* load=(Load*)loads->GetObjectByOffset(i); … … 53 49 material->InputUpdateFromVector(vector,NameEnum,TypeEnum); 54 50 } 55 for(i=0;i<parameters->Size();i++){56 Param* parameter=(Param*)parameters->GetObjectByOffset(i);57 parameter->InputUpdateFromVector(vector,NameEnum,TypeEnum);58 }59 60 51 } 61 52 … … 79 70 node->InputUpdateFromVector(vector,NameEnum,TypeEnum); 80 71 } 81 for(i=0;i<vertices->Size();i++){82 Vertex* vertex=(Vertex*)vertices->GetObjectByOffset(i);83 vertex->InputUpdateFromVector(vector,NameEnum,TypeEnum);84 }85 72 for(i=0;i<loads->Size();i++){ 86 73 Load* load=(Load*)loads->GetObjectByOffset(i); … … 91 78 material->InputUpdateFromVector(vector,NameEnum,TypeEnum); 92 79 } 93 for(i=0;i<parameters->Size();i++){94 Param* parameter=(Param*)parameters->GetObjectByOffset(i);95 parameter->InputUpdateFromVector(vector,NameEnum,TypeEnum);96 }97 98 80 } 99 81 … … 117 99 node->InputUpdateFromVector(vector,NameEnum,TypeEnum); 118 100 } 119 for(i=0;i<vertices->Size();i++){120 Vertex* vertex=(Vertex*)vertices->GetObjectByOffset(i);121 vertex->InputUpdateFromVector(vector,NameEnum,TypeEnum);122 }123 101 for(i=0;i<loads->Size();i++){ 124 102 Load* load=(Load*)loads->GetObjectByOffset(i); … … 129 107 material->InputUpdateFromVector(vector,NameEnum,TypeEnum); 130 108 } 131 for(i=0;i<parameters->Size();i++){132 Param* parameter=(Param*)parameters->GetObjectByOffset(i);133 parameter->InputUpdateFromVector(vector,NameEnum,TypeEnum);134 }135 109 } -
issm/trunk/src/c/objects/Constraints/Rgb.h
r4091 r4244 35 35 int Id(); 36 36 int MyRank(); 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}41 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}42 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}43 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}44 45 46 37 /*non virtual: */ 47 38 int GetNodeId1(); -
issm/trunk/src/c/objects/Constraints/Spc.h
r4091 r4244 39 39 double GetValue(); 40 40 Object* copy(); 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}45 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}46 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}47 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}48 41 bool InAnalysis(int analysis_type); 49 42 -
issm/trunk/src/c/objects/ElementResults/BeamVertexElementResult.h
r4239 r4244 39 39 Object* copy(); 40 40 int EnumType(); 41 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}46 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}47 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}48 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}49 50 41 /*}}}*/ 51 42 /*result virtual functions: {{{1*/ -
issm/trunk/src/c/objects/ElementResults/DoubleElementResult.h
r4239 r4244 41 41 Object* copy(); 42 42 int EnumType(); 43 44 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 45 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} 46 void InputUpdateFromVector(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");} 47 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");} 48 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");} 49 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");} 50 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");} 51 52 /*}}}*/ 43 /*}}}*/ 53 44 /*result virtual functions: {{{1*/ 54 45 ElementResult* SpawnSingElementResult(int index); -
issm/trunk/src/c/objects/ElementResults/PentaVertexElementResult.h
r4239 r4244 40 40 Object* copy(); 41 41 int EnumType(); 42 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}47 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}48 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}49 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}50 51 42 /*}}}*/ 52 43 /*result virtual functions: {{{1*/ -
issm/trunk/src/c/objects/ElementResults/SingVertexElementResult.h
r4239 r4244 39 39 Object* copy(); 40 40 int EnumType(); 41 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}46 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}47 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}48 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}49 50 41 /*}}}*/ 51 42 /*result virtual functions: {{{1*/ -
issm/trunk/src/c/objects/ElementResults/TriaVertexElementResult.h
r4239 r4244 39 39 Object* copy(); 40 40 int EnumType(); 41 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}46 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}47 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}48 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}49 50 41 /*}}}*/ 51 42 /*result virtual functions: {{{1*/ -
issm/trunk/src/c/objects/Elements/Beam.h
r4218 r4244 43 43 void UpdateGeometry(void){ISSMERROR("not implemented yet");}; 44 44 /*}}}*/ 45 /* object management: {{{1*/45 /*Object virtual functions resolution: {{{1*/ 46 46 void Configure(Elements* elements,Loads* loads,DataSet* nodes,Materials* materials,Parameters* parameters); 47 47 void Echo(); … … 56 56 Object* copy(); 57 57 void SetClone(int* minranks); 58 void InputDepthAverageAtBase(int enum_type,int average_enum_type){ISSMERROR("not implemented yet");}; 59 void InputToResult(int enum_type,int step,double time); 60 void ProcessResultsUnits(void); 61 /*}}}*/ 62 /*Update virtual functions resolution: {{{1*/ 58 63 void InputUpdateFromVector(double* vector, int name, int type); 59 64 void InputUpdateFromVector(int* vector, int name, int type); … … 63 68 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");} 64 69 void InputUpdateFromSolution(double* solution); 65 void InputDepthAverageAtBase(int enum_type,int average_enum_type){ISSMERROR("not implemented yet");};66 void InputToResult(int enum_type,int step,double time);67 void ProcessResultsUnits(void);68 70 /*}}}*/ 69 71 /*numerics: {{{1*/ -
issm/trunk/src/c/objects/Elements/Element.h
r4218 r4244 20 20 /*}}}*/ 21 21 22 class Element: public Object {22 class Element: public Object,public Update{ 23 23 24 24 public: -
issm/trunk/src/c/objects/Elements/Penta.h
r4218 r4244 48 48 ~Penta(); 49 49 /*}}}*/ 50 /* FUNCTION object management{{{1*/50 /*Object virtual functions resolution: {{{1*/ 51 51 void Configure(Elements* elements,Loads* loads,DataSet* nodes,Materials* materials,Parameters* parameters); 52 52 Object* copy(); … … 69 69 void InputToResult(int enum_type,int step,double time); 70 70 void ProcessResultsUnits(void); 71 /*}}}*/ 72 /*Update virtual functions resolution: {{{1*/ 73 void InputUpdateFromSolution(double* solutiong); 74 void InputUpdateFromSolutionDiagnosticHoriz( double* solutiong); 75 void InputUpdateFromSolutionDiagnosticStokes( double* solutiong); 76 void InputUpdateFromSolutionSlopeCompute( double* solutiong); 77 void InputUpdateFromSolutionPrognostic( double* solutiong); 78 void InputUpdateFromSolutionPrognostic2(double* solutiong); 79 void InputUpdateFromSolutionBalancedthickness( double* solutiong); 80 void InputUpdateFromSolutionBalancedthickness2( double* solutiong); 81 void InputUpdateFromSolutionBalancedvelocities( double* solutiong); 82 void InputUpdateFromVector(double* vector, int name, int type); 83 void InputUpdateFromVector(int* vector, int name, int type); 84 void InputUpdateFromVector(bool* vector, int name, int type); 85 void InputUpdateFromConstant(double constant, int name); 86 void InputUpdateFromConstant(int constant, int name); 87 void InputUpdateFromConstant(bool constant, int name); 88 void UpdateFromDakota(void* inputs); 71 89 /*}}}*/ 72 90 /*FUNCTION element numerical routines {{{1*/ … … 168 186 void InputConvergence(int* pconverged,double* eps, int* enums,int num_enums,int* criterionenums,double* criterionvalues,int num_criterionenums); 169 187 void GetVectorFromInputs(Vec vector,int NameEnum); 170 171 172 /*updates: */173 void UpdateFromDakota(void* inputs);174 void InputUpdateFromSolution(double* solutiong);175 void InputUpdateFromSolutionDiagnosticHoriz( double* solutiong);176 void InputUpdateFromSolutionDiagnosticStokes( double* solutiong);177 void InputUpdateFromSolutionSlopeCompute( double* solutiong);178 void InputUpdateFromSolutionPrognostic( double* solutiong);179 void InputUpdateFromSolutionPrognostic2(double* solutiong);180 void InputUpdateFromSolutionBalancedthickness( double* solutiong);181 void InputUpdateFromSolutionBalancedthickness2( double* solutiong);182 void InputUpdateFromSolutionBalancedvelocities( double* solutiong);183 void InputUpdateFromVector(double* vector, int name, int type);184 void InputUpdateFromVector(int* vector, int name, int type);185 void InputUpdateFromVector(bool* vector, int name, int type);186 void InputUpdateFromConstant(double constant, int name);187 void InputUpdateFromConstant(int constant, int name);188 void InputUpdateFromConstant(bool constant, int name);189 190 191 188 /*}}}*/ 192 189 -
issm/trunk/src/c/objects/Elements/Sing.h
r4218 r4244 43 43 void UpdateGeometry(void){ISSMERROR("not implemented yet");}; 44 44 /*}}}*/ 45 /* object management: {{{1*/45 /*Object virtual functions resolution: {{{1*/ 46 46 void Configure(Elements* elements,Loads* loads,DataSet* nodes,Materials* materials,Parameters* parameters); 47 47 Object* copy(); … … 56 56 void SetClone(int* minranks); 57 57 int MyRank(); 58 void InputDepthAverageAtBase(int enum_type,int average_enum_type){ISSMERROR("not implemented yet");}; 59 void InputToResult(int enum_type,int step,double time); 60 void ProcessResultsUnits(void); 61 /*}}}*/ 62 /*Update virtual functions resolution: {{{1*/ 58 63 void InputUpdateFromVector(double* vector, int name, int type); 59 64 void InputUpdateFromVector(int* vector, int name, int type); … … 63 68 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");} 64 69 void InputUpdateFromSolution(double* solutiong); 65 void InputDepthAverageAtBase(int enum_type,int average_enum_type){ISSMERROR("not implemented yet");};66 void InputToResult(int enum_type,int step,double time);67 void ProcessResultsUnits(void);68 70 /*}}}*/ 71 69 72 /*numerics: {{{1*/ 70 73 void CreateKMatrix(Mat Kggg); -
issm/trunk/src/c/objects/Elements/Tria.h
r4218 r4244 43 43 ~Tria(); 44 44 /*}}}*/ 45 /* FUNCTION object management{{{1*/45 /*Object virtual functions resolution: {{{1*/ 46 46 void Configure(Elements* elements,Loads* loads,DataSet* nodes,Materials* materials,Parameters* parameters); 47 47 Object* copy(); … … 61 61 void InputToResult(int enum_type,int step,double time); 62 62 void ProcessResultsUnits(void); 63 /*}}}*/ 64 /*Update virtual functions resolution: {{{1*/ 65 void InputUpdateFromSolution(double* solutiong); 66 void InputUpdateFromSolutionDiagnosticHoriz( double* solution); 67 void InputUpdateFromSolutionSlopeCompute( double* solution); 68 void InputUpdateFromSolutionPrognostic( double* solution); 69 void InputUpdateFromSolutionPrognostic2(double* solution); 70 void InputUpdateFromSolutionBalancedthickness( double* solution); 71 void InputUpdateFromSolutionBalancedthickness2( double* solution); 72 void InputUpdateFromSolutionBalancedvelocities( double* solution); 73 void InputUpdateFromVector(double* vector, int name, int type); 74 void InputUpdateFromVector(int* vector, int name, int type); 75 void InputUpdateFromVector(bool* vector, int name, int type); 76 void InputUpdateFromConstant(double constant, int name); 77 void InputUpdateFromConstant(int constant, int name); 78 void InputUpdateFromConstant(bool constant, int name); 79 void UpdateFromDakota(void* inputs); 63 80 /*}}}*/ 64 81 /*FUNCTION element numerical routines {{{1*/ … … 149 166 150 167 /*}}}*/ 151 /*FUNCTION updates{{{1*/152 void UpdateFromDakota(void* inputs);153 void InputUpdateFromSolution(double* solutiong);154 void InputUpdateFromSolutionDiagnosticHoriz( double* solution);155 void InputUpdateFromSolutionSlopeCompute( double* solution);156 void InputUpdateFromSolutionPrognostic( double* solution);157 void InputUpdateFromSolutionPrognostic2(double* solution);158 void InputUpdateFromSolutionBalancedthickness( double* solution);159 void InputUpdateFromSolutionBalancedthickness2( double* solution);160 void InputUpdateFromSolutionBalancedvelocities( double* solution);161 void InputUpdateFromVector(double* vector, int name, int type);162 void InputUpdateFromVector(int* vector, int name, int type);163 void InputUpdateFromVector(bool* vector, int name, int type);164 void InputUpdateFromConstant(double constant, int name);165 void InputUpdateFromConstant(int constant, int name);166 void InputUpdateFromConstant(bool constant, int name);167 /*}}}*/168 168 169 169 }; -
issm/trunk/src/c/objects/ExternalResults/BoolExternalResult.h
r4182 r4244 54 54 int MarshallSize(); 55 55 int MyRank(); 56 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}61 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}62 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}63 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}64 56 /*}}}*/ 65 57 /*ExternalResult methods: {{{1*/ -
issm/trunk/src/c/objects/ExternalResults/DoubleExternalResult.h
r4182 r4244 54 54 int MarshallSize(); 55 55 int MyRank(); 56 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}61 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}62 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}63 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}64 56 /*}}}*/ 65 57 /*ExternalResult methods: {{{1*/ -
issm/trunk/src/c/objects/ExternalResults/DoubleMatExternalResult.h
r4182 r4244 54 54 int MarshallSize(); 55 55 int MyRank(); 56 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}61 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}62 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}63 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}64 56 /*}}}*/ 65 57 /*ExternalResult methods: {{{1*/ -
issm/trunk/src/c/objects/ExternalResults/DoubleVecExternalResult.h
r4182 r4244 53 53 int MarshallSize(); 54 54 int MyRank(); 55 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}60 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}61 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}62 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}63 55 /*}}}*/ 64 56 /*ExternalResult methods: {{{1*/ -
issm/trunk/src/c/objects/ExternalResults/IntExternalResult.h
r4182 r4244 54 54 int MarshallSize(); 55 55 int MyRank(); 56 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}61 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}62 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}63 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}64 56 /*}}}*/ 65 57 /*ExternalResult methods: {{{1*/ -
issm/trunk/src/c/objects/ExternalResults/PetscVecExternalResult.h
r4182 r4244 53 53 int MarshallSize(); 54 54 int MyRank(); 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}59 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}60 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}61 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}62 55 /*}}}*/ 63 56 /*ExternalResult methods: {{{1*/ -
issm/trunk/src/c/objects/ExternalResults/StringExternalResult.h
r4182 r4244 53 53 int MarshallSize(); 54 54 int MyRank(); 55 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}60 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}61 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}62 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}63 55 /*}}}*/ 64 56 /*ExternalResult methods: {{{1*/ -
issm/trunk/src/c/objects/Inputs/BeamVertexInput.h
r4091 r4244 36 36 Object* copy(); 37 37 int EnumType(); 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}42 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}43 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}44 45 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}46 38 47 39 Input* SpawnSingInput(int index); -
issm/trunk/src/c/objects/Inputs/BoolInput.h
r4091 r4244 36 36 Object* copy(); 37 37 int EnumType(); 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}42 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}43 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}44 45 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}46 38 47 39 Input* SpawnSingInput(int index); -
issm/trunk/src/c/objects/Inputs/DoubleInput.h
r4239 r4244 35 35 Object* copy(); 36 36 int EnumType(); 37 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}42 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}43 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}44 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}45 37 46 38 Input* SpawnSingInput(int index); -
issm/trunk/src/c/objects/Inputs/IntInput.h
r4091 r4244 36 36 Object* copy(); 37 37 int EnumType(); 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}42 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}43 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}44 45 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}46 38 47 39 Input* SpawnSingInput(int index); -
issm/trunk/src/c/objects/Inputs/PentaVertexInput.h
r4239 r4244 35 35 Object* copy(); 36 36 int EnumType(); 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}41 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}42 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}43 44 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}45 37 46 38 Input* SpawnSingInput(int index); -
issm/trunk/src/c/objects/Inputs/SingVertexInput.h
r4091 r4244 35 35 Object* copy(); 36 36 int EnumType(); 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}41 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}42 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}43 44 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}45 37 46 38 Input* SpawnSingInput(int index); -
issm/trunk/src/c/objects/Inputs/TriaVertexInput.h
r4091 r4244 36 36 Object* copy(); 37 37 int EnumType(); 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 void InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}42 void InputUpdateFromConstant(int constant, int name){ISSMERROR("Not implemented yet!");}43 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}44 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}45 38 46 39 Input* SpawnSingInput(int index); -
issm/trunk/src/c/objects/Loads/Icefront.h
r4218 r4244 39 39 Object* copy(); 40 40 /*}}}*/ 41 /* object management: {{{1*/41 /*Object virtual functions resolution: {{{1*/ 42 42 void Configure(Elements* elementsin,Loads* loadsin,DataSet* nodesin,Vertices* verticesin,Materials* materialsin,Parameters* parametersin); 43 43 void DeepEcho(); … … 49 49 int MarshallSize(); 50 50 int MyRank(); 51 /*}}}*/ 52 /*Update virtual functions resolution: {{{1*/ 51 53 void InputUpdateFromVector(double* vector, int name, int type); 52 54 void InputUpdateFromVector(int* vector, int name, int type); -
issm/trunk/src/c/objects/Loads/Load.h
r4236 r4244 18 18 /*}}}*/ 19 19 20 class Load: public Object {20 class Load: public Object,public Update{ 21 21 22 22 public: -
issm/trunk/src/c/objects/Loads/Numericalflux.h
r4218 r4244 34 34 Object* copy(); 35 35 /*}}}*/ 36 /*Object management: {{{1*/36 /*Object virtual functions resolution: {{{1*/ 37 37 void Configure(Elements* elements,Loads* loads,DataSet* nodes,Vertices* vertices,Materials* materials,Parameters* parameters); 38 38 void DeepEcho(); … … 44 44 int MarshallSize(); 45 45 int MyRank(); 46 /*}}}*/ 47 /*Update virtual functions resolution: {{{1*/ 46 48 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 47 49 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} … … 51 53 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");} 52 54 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");} 53 bool InAnalysis(int analysis_type);54 55 55 /*}}}*/ 56 56 /*Numerics: {{{1*/ 57 bool InAnalysis(int analysis_type); 57 58 void GetJacobianDeterminant(double* pJdet,double xyz_list[4][3], double gauss_coord); 58 59 void GetNodalFunctions(double* l1l4, double gauss_coord); … … 62 63 void GetNormal(double* normal,double xyz_list[4][3]); 63 64 void GetParameterValue(double* pp, double* plist, double gauss_coord); 64 void UpdateFromInputs(void* inputs);65 65 66 66 void CreateKMatrix(Mat Kgg); -
issm/trunk/src/c/objects/Loads/Pengrid.h
r4218 r4244 40 40 Object* copy(); 41 41 /*}}}*/ 42 /* FUNCTION object management{{{1*/42 /*Object virtual functions resolution: {{{1*/ 43 43 void Configure(Elements* elementsin,Loads* loadsin,DataSet* nodesin,Vertices* verticesin,Materials* materialsin,Parameters* parametersin); 44 44 void DeepEcho(); … … 50 50 int MarshallSize(); 51 51 int MyRank(); 52 /*}}}*/ 53 /*Update virtual functions resolution: {{{1*/ 52 54 void InputUpdateFromVector(double* vector, int name, int type); 53 55 void InputUpdateFromVector(int* vector, int name, int type); … … 57 59 void InputUpdateFromConstant(bool constant, int name); 58 60 void InputUpdateFromSolution(double* solution); 59 bool InAnalysis(int analysis_type);60 61 61 /*}}}*/ 62 62 /*FUNCTION element numerical routines {{{1*/ 63 bool InAnalysis(int analysis_type); 63 64 void CreateKMatrix(Mat Kgg); 64 65 void CreatePVector(Vec pg); -
issm/trunk/src/c/objects/Loads/Penpair.h
r4218 r4244 31 31 Object* copy(); 32 32 /*}}}*/ 33 /* object management: {{{1*/33 /*Object virtual functions resolution: {{{1*/ 34 34 void Configure(Elements* elements,Loads* loads,DataSet* nodes,Vertices* vertices,Materials* materials,Parameters* parameters); 35 35 void DeepEcho(); … … 41 41 int MarshallSize(); 42 42 int MyRank(); 43 /*}}}*/ 44 /*Update virtual functions resolution: {{{1*/ 43 45 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 44 46 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} … … 48 50 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");} 49 51 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");} 50 bool InAnalysis(int analysis_type);51 52 /*}}}*/ 52 53 /*numerics: {{{1*/ 54 bool InAnalysis(int analysis_type); 53 55 void CreateKMatrix(Mat Kgg); 54 56 void CreatePVector(Vec pg); -
issm/trunk/src/c/objects/Loads/Riftfront.h
r4218 r4244 48 48 ~Riftfront(); 49 49 /*}}}*/ 50 /* object management: {{{1*/50 /*Object virtual functions resolution: {{{1*/ 51 51 void Configure(Elements* elements,Loads* loads,DataSet* nodes,Vertices* vertices,Materials* materials,Parameters* parameters); 52 52 Object* copy(); … … 59 59 int MarshallSize(); 60 60 int MyRank(); 61 /*}}}*/ 62 /*Update virtual functions resolution: {{{1*/ 61 63 void InputUpdateFromVector(double* vector, int name, int type){ISSMERROR("Not implemented yet!");} 62 64 void InputUpdateFromVector(int* vector, int name, int type){ISSMERROR("Not implemented yet!");} … … 66 68 void InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");} 67 69 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");} 68 bool InAnalysis(int analysis_type);69 70 71 72 70 /*}}}*/ 73 71 /*numerics: {{{1*/ 72 bool InAnalysis(int analysis_type); 74 73 void GetDofList(int* doflist,int* pnumberofdofs); 75 74 void CreateKMatrix(Mat Kgg); -
issm/trunk/src/c/objects/Materials/Material.h
r4091 r4244 14 14 /*}}}*/ 15 15 16 class Material: public Object {16 class Material: public Object,public Update{ 17 17 18 18 public: … … 25 25 virtual int MarshallSize()=0; 26 26 virtual void Demarshall(char** pmarshalled_dataset)=0; 27 virtual void UpdateFromInputs(void* inputs)=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 virtual void InputUpdateFromSolution(double* solution)=0;32 33 27 }; 34 28 #endif -
issm/trunk/src/c/objects/Materials/Matice.cpp
r4237 r4244 441 441 } 442 442 /*}}}*/ 443 /*FUNCTION Matice::UpdateFromInputs {{{1*/444 void Matice::UpdateFromInputs(void* inputs){445 446 //ISSMERROR(" not supported yet!");447 448 }449 /*}}}*/450 443 /*FUNCTION Matice::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 451 444 void Matice::InputUpdateFromVector(double* vector, int name, int type){ -
issm/trunk/src/c/objects/Materials/Matice.h
r4091 r4244 27 27 ~Matice(); 28 28 29 /*Object virtual functions resolution: {{{1*/ 29 30 void Echo(); 31 Object* copy(); 30 32 void DeepEcho(); 31 33 void Marshall(char** pmarshalled_dataset); … … 35 37 int Id(); 36 38 int MyRank(); 37 void UpdateFromInputs(void* inputs); 38 void SetB(double B_param); 39 void GetViscosity2d(double* pviscosity, double* pepsilon); 40 void GetViscosity3d(double* pviscosity3d, double* pepsilon); 41 void GetViscosity3dStokes(double* pviscosity3d, double* epsilon); 42 void GetViscosityComplement(double* pviscosity_complement, double* pepsilon); 43 Object* copy(); 44 double GetB(); 45 double GetN(); 39 /*}}}*/ 40 /*Update virtual functions resolution: {{{1*/ 46 41 void InputUpdateFromVector(double* vector, int name, int type); 47 42 void InputUpdateFromVector(int* vector, int name, int type); … … 51 46 void InputUpdateFromConstant(bool constant, int name); 52 47 void InputUpdateFromSolution(double* solution); 53 48 /*}}}*/ 49 /*Numerics: {{{1*/ 50 void SetB(double B_param); 51 void GetViscosity2d(double* pviscosity, double* pepsilon); 52 void GetViscosity3d(double* pviscosity3d, double* pepsilon); 53 void GetViscosity3dStokes(double* pviscosity3d, double* epsilon); 54 void GetViscosityComplement(double* pviscosity_complement, double* pepsilon); 55 double GetB(); 56 double GetN(); 57 /*}}}*/ 54 58 }; 55 59 -
issm/trunk/src/c/objects/Materials/Matpar.cpp
r4091 r4244 272 272 } 273 273 /*}}}1*/ 274 /*FUNCTION Matpar::UpdateFromInputs {{{1*/275 void Matpar::UpdateFromInputs(void* inputs){276 277 //ISSMERROR(" not supported yet!");278 279 }280 /*}}}1*/281 274 /*FUNCTION Matpar::InputUpdateFromVector(double* vector, int name, int type) {{{1*/ 282 275 void Matpar::InputUpdateFromVector(double* vector, int name, int type){ -
issm/trunk/src/c/objects/Materials/Matpar.h
r4091 r4244 36 36 ~Matpar(); 37 37 38 /*Object virtual functions resolution: {{{1*/ 38 39 void Echo(); 39 40 void DeepEcho(); … … 43 44 int Enum(); 44 45 int Id(); 46 Object* copy(); 45 47 int MyRank(); 46 void UpdateFromInputs(void* inputs); 48 /*}}}*/ 49 /*Update virtual functions resolution: {{{1*/ 50 void InputUpdateFromVector(double* vector, int name, int type); 51 void InputUpdateFromVector(int* vector, int name, int type); 52 void InputUpdateFromVector(bool* vector, int name, int type); 53 void InputUpdateFromConstant(double constant, int name); 54 void InputUpdateFromConstant(int constant, int name); 55 void InputUpdateFromConstant(bool constant, int name); 56 void InputUpdateFromSolution(double* solution); 57 /*}}}*/ 58 /*Numerics: {{{1*/ 47 59 double GetG(); 48 60 double GetRhoIce(); … … 55 67 double GetBeta(); 56 68 double GetMeltingPoint(); 57 Object* copy(); 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 void InputUpdateFromConstant(double constant, int name); 62 void InputUpdateFromConstant(int constant, int name); 63 void InputUpdateFromConstant(bool constant, int name); 64 void InputUpdateFromSolution(double* solution); 65 69 /*}}}*/ 66 70 67 71 }; -
issm/trunk/src/c/objects/Node.cpp
r4236 r4244 790 790 } 791 791 /*}}}*/ 792 /*FUNCTION Node::UpdateFromInputs {{{2*/793 void Node::UpdateFromInputs(void* vinputs){794 795 /*nothing updated for now*/796 797 }798 /*}}}*/799 792 /*FUNCTION Node::InputUpdateFromVector(double* vector, int name, int type){{{2*/ 800 793 void Node::InputUpdateFromVector(double* vector, int name, int type){ -
issm/trunk/src/c/objects/Node.h
r4219 r4244 16 16 class DataSet; 17 17 class Vertices; 18 #include "./Update.h" 18 19 /*}}}*/ 19 20 20 class Node: public Object {21 class Node: public Object ,public Update{ 21 22 22 23 private: … … 40 41 ~Node(); 41 42 /*}}}*/ 42 /* FUNCTION object management{{{1*/43 /*Object virtual functions resolution: {{{1*/ 43 44 void Configure(DataSet* nodes,Vertices* vertices); 44 45 void DeepEcho(); … … 48 49 int Id(void); 49 50 int Sid(void); 50 int GetVertexDof(void);51 int GetVertexId(void);52 51 void Marshall(char** pmarshalled_dataset); 53 52 int MarshallSize(); 54 53 int MyRank(void); 55 void SetVertexDof(int in_dof); 54 /*}}}*/ 55 /*Update virtual functions resolution: {{{1*/ 56 56 void InputUpdateFromVector(double* vector, int name, int type); 57 57 void InputUpdateFromVector(int* vector, int name, int type); … … 61 61 void InputUpdateFromConstant(bool constant, int name); 62 62 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");} 63 bool InAnalysis(int analysis_type);64 65 63 /*}}}*/ 66 64 /*FUNCTION numerical routines {{{1*/ 65 int GetVertexDof(void); 66 int GetVertexId(void); 67 void SetVertexDof(int in_dof); 68 bool InAnalysis(int analysis_type); 67 69 int GetNumberOfDofs(); 68 70 int IsClone(); … … 81 83 double GetSigma(); 82 84 Object* copy(); 83 void UpdateFromInputs(void* inputs);84 85 Node* GetUpperNode(); 85 86 int IsOnBed(); -
issm/trunk/src/c/objects/Object.h
r4091 r4244 25 25 virtual int Enum()=0; 26 26 virtual Object* copy()=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 virtual void InputUpdateFromConstant(double constant, int name)=0;31 virtual void InputUpdateFromConstant(int constant, int name)=0;32 virtual void InputUpdateFromConstant(bool constant, int name)=0;33 virtual void InputUpdateFromSolution(double* solution)=0;34 35 27 }; 36 28 #endif -
issm/trunk/src/c/objects/Params/BoolParam.cpp
r4236 r4244 139 139 #endif 140 140 /*}}}*/ 141 142 /*FUNCTION BoolParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/143 void BoolParam::InputUpdateFromVector(double* vector, int name, int type){144 /*Nothing updated yet*/145 }146 /*}}}*/147 /*FUNCTION BoolParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/148 void BoolParam::InputUpdateFromVector(int* vector, int name, int type){149 /*Nothing updated yet*/150 }151 /*}}}*/152 /*FUNCTION BoolParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/153 void BoolParam::InputUpdateFromVector(bool* vector, int name, int type){154 /*Nothing updated yet*/155 }156 /*}}}*/157 /*FUNCTION BoolParam::InputUpdateFromConstant(double constant, int name) {{{1*/158 void BoolParam::InputUpdateFromConstant(double constant, int name){159 /*Nothing updated yet*/160 }161 /*}}}*/162 /*FUNCTION BoolParam::InputUpdateFromConstant(int constant, int name) {{{1*/163 void BoolParam::InputUpdateFromConstant(int constant, int name){164 /*Nothing updated yet*/165 }166 /*}}}*/167 /*FUNCTION BoolParam::InputUpdateFromConstant(bool constant, int name) {{{1*/168 void BoolParam::InputUpdateFromConstant(bool constant, int name){169 /*Nothing updated yet*/170 }171 /*}}}*/ -
issm/trunk/src/c/objects/Params/BoolParam.h
r4160 r4244 50 50 int MarshallSize(); 51 51 int MyRank(); 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 void InputUpdateFromConstant(double constant, int name);56 void InputUpdateFromConstant(int constant, int name);57 void InputUpdateFromConstant(bool constant, int name);58 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}59 60 52 /*}}}*/ 61 53 /*Param methods: {{{1*/ -
issm/trunk/src/c/objects/Params/DoubleMatParam.cpp
r4236 r4244 195 195 #endif 196 196 /*}}}*/ 197 198 /*FUNCTION DoubleMatParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/199 void DoubleMatParam::InputUpdateFromVector(double* vector, int name, int type){200 /*Nothing updated yet*/201 }202 /*}}}*/203 /*FUNCTION DoubleMatParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/204 void DoubleMatParam::InputUpdateFromVector(int* vector, int name, int type){205 /*Nothing updated yet*/206 }207 /*}}}*/208 /*FUNCTION DoubleMatParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/209 void DoubleMatParam::InputUpdateFromVector(bool* vector, int name, int type){210 /*Nothing updated yet*/211 }212 /*}}}*/213 /*FUNCTION DoubleMatParam::InputUpdateFromConstant(double constant, int name) {{{1*/214 void DoubleMatParam::InputUpdateFromConstant(double constant, int name){215 /*Nothing updated yet*/216 }217 /*}}}*/218 /*FUNCTION DoubleMatParam::InputUpdateFromConstant(int constant, int name) {{{1*/219 void DoubleMatParam::InputUpdateFromConstant(int constant, int name){220 /*Nothing updated yet*/221 }222 /*}}}*/223 /*FUNCTION DoubleMatParam::InputUpdateFromConstant(bool constant, int name) {{{1*/224 void DoubleMatParam::InputUpdateFromConstant(bool constant, int name){225 /*Nothing updated yet*/226 }227 /*}}}*/228 197 /*FUNCTION DoubleMatParam::SetValue(double* doublearray,int M,int N);{{{1*/ 229 198 void DoubleMatParam::SetValue(double* doublearray,int in_M,int in_N){ -
issm/trunk/src/c/objects/Params/DoubleMatParam.h
r4160 r4244 53 53 int MarshallSize(); 54 54 int MyRank(); 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 void InputUpdateFromConstant(double constant, int name);59 void InputUpdateFromConstant(int constant, int name);60 void InputUpdateFromConstant(bool constant, int name);61 62 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}63 64 55 /*}}}*/ 65 56 /*Param methods: {{{1*/ -
issm/trunk/src/c/objects/Params/DoubleParam.cpp
r4236 r4244 160 160 #endif 161 161 /*}}}*/ 162 163 /*FUNCTION DoubleParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/164 void DoubleParam::InputUpdateFromVector(double* vector, int name, int type){165 /*Nothing updated yet*/166 }167 /*}}}*/168 /*FUNCTION DoubleParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/169 void DoubleParam::InputUpdateFromVector(int* vector, int name, int type){170 /*Nothing updated yet*/171 }172 /*}}}*/173 /*FUNCTION DoubleParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/174 void DoubleParam::InputUpdateFromVector(bool* vector, int name, int type){175 /*Nothing updated yet*/176 }177 /*}}}*/178 /*FUNCTION DoubleParam::InputUpdateFromConstant(double constant, int name) {{{1*/179 void DoubleParam::InputUpdateFromConstant(double constant, int name){180 /*Nothing updated yet*/181 }182 /*}}}*/183 /*FUNCTION DoubleParam::InputUpdateFromConstant(int constant, int name) {{{1*/184 void DoubleParam::InputUpdateFromConstant(int constant, int name){185 /*Nothing updated yet*/186 }187 /*}}}*/188 /*FUNCTION DoubleParam::InputUpdateFromConstant(bool constant, int name) {{{1*/189 void DoubleParam::InputUpdateFromConstant(bool constant, int name){190 /*Nothing updated yet*/191 }192 /*}}}*/ -
issm/trunk/src/c/objects/Params/DoubleParam.h
r4160 r4244 51 51 int MarshallSize(); 52 52 int MyRank(); 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 void InputUpdateFromConstant(double constant, int name);57 void InputUpdateFromConstant(int constant, int name);58 void InputUpdateFromConstant(bool constant, int name);59 60 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}61 62 53 /*}}}*/ 63 54 /*Param methods: {{{1*/ -
issm/trunk/src/c/objects/Params/DoubleVecParam.cpp
r4236 r4244 185 185 #endif 186 186 /*}}}*/ 187 188 /*FUNCTION DoubleVecParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/189 void DoubleVecParam::InputUpdateFromVector(double* vector, int name, int type){190 /*Nothing updated yet*/191 }192 /*}}}*/193 /*FUNCTION DoubleVecParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/194 void DoubleVecParam::InputUpdateFromVector(int* vector, int name, int type){195 /*Nothing updated yet*/196 }197 /*}}}*/198 /*FUNCTION DoubleVecParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/199 void DoubleVecParam::InputUpdateFromVector(bool* vector, int name, int type){200 /*Nothing updated yet*/201 }202 /*}}}*/203 /*FUNCTION DoubleVecParam::InputUpdateFromConstant(double constant, int name) {{{1*/204 void DoubleVecParam::InputUpdateFromConstant(double constant, int name){205 /*Nothing updated yet*/206 }207 /*}}}*/208 /*FUNCTION DoubleVecParam::InputUpdateFromConstant(int constant, int name) {{{1*/209 void DoubleVecParam::InputUpdateFromConstant(int constant, int name){210 /*Nothing updated yet*/211 }212 /*}}}*/213 /*FUNCTION DoubleVecParam::InputUpdateFromConstant(bool constant, int name) {{{1*/214 void DoubleVecParam::InputUpdateFromConstant(bool constant, int name){215 /*Nothing updated yet*/216 }217 /*}}}*/218 187 /*FUNCTION DoubleVecParam::SetValue(double* doublearray,int M);{{{1*/ 219 188 void DoubleVecParam::SetValue(double* doublearray,int in_M){ -
issm/trunk/src/c/objects/Params/DoubleVecParam.h
r4160 r4244 51 51 int MarshallSize(); 52 52 int MyRank(); 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 void InputUpdateFromConstant(double constant, int name);57 void InputUpdateFromConstant(int constant, int name);58 void InputUpdateFromConstant(bool constant, int name);59 60 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}61 53 /*}}}*/ 62 54 /*Param methods: {{{1*/ -
issm/trunk/src/c/objects/Params/IntParam.cpp
r4236 r4244 140 140 #endif 141 141 /*}}}*/ 142 143 /*FUNCTION IntParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/144 void IntParam::InputUpdateFromVector(double* vector, int name, int type){145 /*Nothing updated yet*/146 }147 /*}}}*/148 /*FUNCTION IntParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/149 void IntParam::InputUpdateFromVector(int* vector, int name, int type){150 /*Nothing updated yet*/151 }152 /*}}}*/153 /*FUNCTION IntParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/154 void IntParam::InputUpdateFromVector(bool* vector, int name, int type){155 /*Nothing updated yet*/156 }157 /*}}}*/158 /*FUNCTION IntParam::InputUpdateFromConstant(double constant, int name) {{{1*/159 void IntParam::InputUpdateFromConstant(double constant, int name){160 /*Nothing updated yet*/161 }162 /*}}}*/163 /*FUNCTION IntParam::InputUpdateFromConstant(int constant, int name) {{{1*/164 void IntParam::InputUpdateFromConstant(int constant, int name){165 /*Nothing updated yet*/166 }167 /*}}}*/168 /*FUNCTION IntParam::InputUpdateFromConstant(bool constant, int name) {{{1*/169 void IntParam::InputUpdateFromConstant(bool constant, int name){170 /*Nothing updated yet*/171 }172 /*}}}*/ -
issm/trunk/src/c/objects/Params/IntParam.h
r4172 r4244 50 50 int MarshallSize(); 51 51 int MyRank(); 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 void InputUpdateFromConstant(double constant, int name);56 void InputUpdateFromConstant(int constant, int name);57 void InputUpdateFromConstant(bool constant, int name);58 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}59 60 52 /*}}}*/ 61 53 /*Param methods: {{{1*/ -
issm/trunk/src/c/objects/Params/PetscMatParam.cpp
r4236 r4244 222 222 #endif 223 223 /*}}}*/ 224 225 /*FUNCTION PetscMatParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/226 void PetscMatParam::InputUpdateFromVector(double* vector, int name, int type){227 /*Nothing updated yet*/228 }229 /*}}}*/230 /*FUNCTION PetscMatParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/231 void PetscMatParam::InputUpdateFromVector(int* vector, int name, int type){232 /*Nothing updated yet*/233 }234 /*}}}*/235 /*FUNCTION PetscMatParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/236 void PetscMatParam::InputUpdateFromVector(bool* vector, int name, int type){237 /*Nothing updated yet*/238 }239 /*}}}*/240 /*FUNCTION PetscMatParam::InputUpdateFromConstant(double constant, int name) {{{1*/241 void PetscMatParam::InputUpdateFromConstant(double constant, int name){242 /*Nothing updated yet*/243 }244 /*}}}*/245 /*FUNCTION PetscMatParam::InputUpdateFromConstant(int constant, int name) {{{1*/246 void PetscMatParam::InputUpdateFromConstant(int constant, int name){247 /*Nothing updated yet*/248 }249 /*}}}*/250 /*FUNCTION PetscMatParam::InputUpdateFromConstant(bool constant, int name) {{{1*/251 void PetscMatParam::InputUpdateFromConstant(bool constant, int name){252 /*Nothing updated yet*/253 }254 /*}}}*/255 224 /*FUNCTION PetscMatParam::SetValue(Mat matrix){{{1*/ 256 225 void PetscMatParam::SetValue(Mat matrix){ -
issm/trunk/src/c/objects/Params/PetscMatParam.h
r4160 r4244 51 51 int MarshallSize(); 52 52 int MyRank(); 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 void InputUpdateFromConstant(double constant, int name);57 void InputUpdateFromConstant(int constant, int name);58 void InputUpdateFromConstant(bool constant, int name);59 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}60 61 53 /*}}}*/ 62 54 /*Param methods: {{{1*/ -
issm/trunk/src/c/objects/Params/PetscVecParam.cpp
r4236 r4244 216 216 #endif 217 217 /*}}}*/ 218 219 /*FUNCTION PetscVecParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/220 void PetscVecParam::InputUpdateFromVector(double* vector, int name, int type){221 /*Nothing updated yet*/222 }223 /*}}}*/224 /*FUNCTION PetscVecParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/225 void PetscVecParam::InputUpdateFromVector(int* vector, int name, int type){226 /*Nothing updated yet*/227 }228 /*}}}*/229 /*FUNCTION PetscVecParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/230 void PetscVecParam::InputUpdateFromVector(bool* vector, int name, int type){231 /*Nothing updated yet*/232 }233 /*}}}*/234 /*FUNCTION PetscVecParam::InputUpdateFromConstant(double constant, int name) {{{1*/235 void PetscVecParam::InputUpdateFromConstant(double constant, int name){236 /*Nothing updated yet*/237 }238 /*}}}*/239 /*FUNCTION PetscVecParam::InputUpdateFromConstant(int constant, int name) {{{1*/240 void PetscVecParam::InputUpdateFromConstant(int constant, int name){241 /*Nothing updated yet*/242 }243 /*}}}*/244 /*FUNCTION PetscVecParam::InputUpdateFromConstant(bool constant, int name) {{{1*/245 void PetscVecParam::InputUpdateFromConstant(bool constant, int name){246 /*Nothing updated yet*/247 }248 /*}}}*/249 218 /*FUNCTION PetscVecParam::SetValue(Vec vector){{{1*/ 250 219 void PetscVecParam::SetValue(Vec vector){ -
issm/trunk/src/c/objects/Params/PetscVecParam.h
r4160 r4244 51 51 int MarshallSize(); 52 52 int MyRank(); 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 void InputUpdateFromConstant(double constant, int name);57 void InputUpdateFromConstant(int constant, int name);58 void InputUpdateFromConstant(bool constant, int name);59 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}60 61 53 /*}}}*/ 62 54 /*Param methods: {{{1*/ -
issm/trunk/src/c/objects/Params/StringArrayParam.cpp
r4236 r4244 245 245 #endif 246 246 /*}}}*/ 247 248 /*FUNCTION StringArrayParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/249 void StringArrayParam::InputUpdateFromVector(double* vector, int name, int type){250 /*Nothing updated yet*/251 }252 /*}}}*/253 /*FUNCTION StringArrayParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/254 void StringArrayParam::InputUpdateFromVector(int* vector, int name, int type){255 /*Nothing updated yet*/256 }257 /*}}}*/258 /*FUNCTION StringArrayParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/259 void StringArrayParam::InputUpdateFromVector(bool* vector, int name, int type){260 /*Nothing updated yet*/261 }262 /*}}}*/263 /*FUNCTION StringArrayParam::InputUpdateFromConstant(double constant, int name) {{{1*/264 void StringArrayParam::InputUpdateFromConstant(double constant, int name){265 /*Nothing updated yet*/266 }267 /*}}}*/268 /*FUNCTION StringArrayParam::InputUpdateFromConstant(int constant, int name) {{{1*/269 void StringArrayParam::InputUpdateFromConstant(int constant, int name){270 /*Nothing updated yet*/271 }272 /*}}}*/273 /*FUNCTION StringArrayParam::InputUpdateFromConstant(bool constant, int name) {{{1*/274 void StringArrayParam::InputUpdateFromConstant(bool constant, int name){275 /*Nothing updated yet*/276 }277 /*}}}*/278 247 /*FUNCTION StringArrayParam::SetValue(char** stringarray, int M){{{1*/ 279 248 void StringArrayParam::SetValue(char** stringarray,int M){ -
issm/trunk/src/c/objects/Params/StringArrayParam.h
r4160 r4244 53 53 int MarshallSize(); 54 54 int MyRank(); 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 void InputUpdateFromConstant(double constant, int name);59 void InputUpdateFromConstant(int constant, int name);60 void InputUpdateFromConstant(bool constant, int name);61 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}62 63 55 /*}}}*/ 64 56 /*Param methods: {{{1*/ -
issm/trunk/src/c/objects/Params/StringParam.cpp
r4236 r4244 171 171 #endif 172 172 /*}}}*/ 173 174 /*FUNCTION StringParam::InputUpdateFromVector(double* vector, int name, int type) {{{1*/175 void StringParam::InputUpdateFromVector(double* vector, int name, int type){176 /*Nothing updated yet*/177 }178 /*}}}*/179 /*FUNCTION StringParam::InputUpdateFromVector(int* vector, int name, int type) {{{1*/180 void StringParam::InputUpdateFromVector(int* vector, int name, int type){181 /*Nothing updated yet*/182 }183 /*}}}*/184 /*FUNCTION StringParam::InputUpdateFromVector(bool* vector, int name, int type) {{{1*/185 void StringParam::InputUpdateFromVector(bool* vector, int name, int type){186 /*Nothing updated yet*/187 }188 /*}}}*/189 /*FUNCTION StringParam::InputUpdateFromConstant(double constant, int name) {{{1*/190 void StringParam::InputUpdateFromConstant(double constant, int name){191 /*Nothing updated yet*/192 }193 /*}}}*/194 /*FUNCTION StringParam::InputUpdateFromConstant(int constant, int name) {{{1*/195 void StringParam::InputUpdateFromConstant(int constant, int name){196 /*Nothing updated yet*/197 }198 /*}}}*/199 /*FUNCTION StringParam::InputUpdateFromConstant(bool constant, int name) {{{1*/200 void StringParam::InputUpdateFromConstant(bool constant, int name){201 /*Nothing updated yet*/202 }203 /*}}}*/204 173 /*FUNCTION StringParam::SetValue(char* string){{{1*/ 205 174 void StringParam::SetValue(char* string){ -
issm/trunk/src/c/objects/Params/StringParam.h
r4160 r4244 51 51 int MarshallSize(); 52 52 int MyRank(); 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 void InputUpdateFromConstant(double constant, int name);57 void InputUpdateFromConstant(int constant, int name);58 void InputUpdateFromConstant(bool constant, int name);59 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}60 61 53 /*}}}*/ 62 54 /*Param methods: {{{1*/ -
issm/trunk/src/c/objects/Vertex.cpp
r4219 r4244 190 190 } 191 191 /*}}}*/ 192 193 /*FUNCTION Vertex::InputUpdateFromVector(double* vector, int name, int type) {{{2*/194 void Vertex::InputUpdateFromVector(double* vector, int name, int type){195 /*Nothing updated yet*/196 }197 /*}}}*/198 /*FUNCTION Vertex::InputUpdateFromVector(int* vector, int name, int type) {{{2*/199 void Vertex::InputUpdateFromVector(int* vector, int name, int type){200 /*Nothing updated yet*/201 }202 /*}}}*/203 /*FUNCTION Vertex::InputUpdateFromVector(bool* vector, int name, int type) {{{2*/204 void Vertex::InputUpdateFromVector(bool* vector, int name, int type){205 /*Nothing updated yet*/206 }207 /*}}}*/208 /*FUNCTION Vertex::InputUpdateFromConstant(double constant, int name) {{{2*/209 void Vertex::InputUpdateFromConstant(double constant, int name){210 /*Nothing updated yet*/211 }212 /*}}}*/213 /*FUNCTION Vertex::InputUpdateFromConstant(int constant, int name) {{{2*/214 void Vertex::InputUpdateFromConstant(int constant, int name){215 /*Nothing updated yet*/216 }217 /*}}}*/218 /*FUNCTION Vertex::InputUpdateFromConstant(bool constant, int name) {{{2*/219 void Vertex::InputUpdateFromConstant(bool constant, int name){220 /*Nothing updated yet*/221 }222 /*}}}*/223 192 /*}}}*/ 224 193 /* DofObject routines: {{{1*/ -
issm/trunk/src/c/objects/Vertex.h
r4219 r4244 52 52 void UpdateFromDakota(void* vinputs); 53 53 void UpdatePosition(double* thickness,double* bed); 54 void InputUpdateFromVector(double* vector, int name, int type);55 void InputUpdateFromVector(int* vector, int name, int type);56 void InputUpdateFromVector(bool* vector, int name, int type);57 void InputUpdateFromConstant(double constant, int name);58 void InputUpdateFromConstant(int constant, int name);59 void InputUpdateFromConstant(bool constant, int name);60 61 void InputUpdateFromSolution(double* solution){ISSMERROR("Not implemented yet!");}62 63 64 54 /*}}}*/ 65 55 /*FUNCTION DofObject routines {{{1*/ -
issm/trunk/src/c/objects/objects.h
r4166 r4244 17 17 #include "./IoModel.h" 18 18 #include "./Patch.h" 19 #include "./Update.h" 19 20 20 21 /*Constraints: */
Note:
See TracChangeset
for help on using the changeset viewer.