Changeset 12706 for issm/trunk/src/c/objects/Loads/Numericalflux.h
- Timestamp:
- 07/24/12 10:36:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Loads/Numericalflux.h
r12330 r12706 7 7 8 8 /*Headers:*/ 9 /*{{{ 1*/9 /*{{{*/ 10 10 #include "./Load.h" 11 11 class Hook; … … 35 35 36 36 37 /*Numericalflux constructors,destructors {{{ 1*/37 /*Numericalflux constructors,destructors {{{*/ 38 38 Numericalflux(); 39 39 Numericalflux(int numericalflux_id,int i, IoModel* iomodel,int analysis_type); 40 40 ~Numericalflux(); 41 41 /*}}}*/ 42 /*Object virtual functions definitions:{{{ 1*/42 /*Object virtual functions definitions:{{{ */ 43 43 void Echo(); 44 44 void DeepEcho(); … … 48 48 Object* copy(); 49 49 /*}}}*/ 50 /*Update virtual functions resolution: {{{ 1*/51 void InputUpdateFromVector( double* vector, int name, int type){/*Do nothing*/}52 void InputUpdateFromVector(int* vector, int name, int type){_error _("Not implemented yet!");}53 void InputUpdateFromVector(bool* vector, int name, int type){_error _("Not implemented yet!");}54 void InputUpdateFromMatrixDakota( double* matrix, int nrows, int ncols, int name, int type){/*Do nothing*/}55 void InputUpdateFromVectorDakota( double* vector, int name, int type){/*Do nothing*/}56 void InputUpdateFromVectorDakota(int* vector, int name, int type){_error _("Not implemented yet!");}57 void InputUpdateFromVectorDakota(bool* vector, int name, int type){_error _("Not implemented yet!");}58 void InputUpdateFromConstant( double constant, int name){/*Do nothing*/};50 /*Update virtual functions resolution: {{{*/ 51 void InputUpdateFromVector(IssmDouble* vector, int name, int type){/*Do nothing*/} 52 void InputUpdateFromVector(int* vector, int name, int type){_error2_("Not implemented yet!");} 53 void InputUpdateFromVector(bool* vector, int name, int type){_error2_("Not implemented yet!");} 54 void InputUpdateFromMatrixDakota(IssmDouble* matrix, int nrows, int ncols, int name, int type){/*Do nothing*/} 55 void InputUpdateFromVectorDakota(IssmDouble* vector, int name, int type){/*Do nothing*/} 56 void InputUpdateFromVectorDakota(int* vector, int name, int type){_error2_("Not implemented yet!");} 57 void InputUpdateFromVectorDakota(bool* vector, int name, int type){_error2_("Not implemented yet!");} 58 void InputUpdateFromConstant(IssmDouble constant, int name){/*Do nothing*/}; 59 59 void InputUpdateFromConstant(int constant, int name){/*Do nothing*/}; 60 void InputUpdateFromConstant(bool constant, int name){_error _("Not implemented yet!");}61 void InputUpdateFromSolution( double* solution){_error_("Not implemented yet!");}62 void InputUpdateFromIoModel(int index, IoModel* iomodel){_error _("not implemented yet");};60 void InputUpdateFromConstant(bool constant, int name){_error2_("Not implemented yet!");} 61 void InputUpdateFromSolution(IssmDouble* solution){_error2_("Not implemented yet!");} 62 void InputUpdateFromIoModel(int index, IoModel* iomodel){_error2_("not implemented yet");}; 63 63 /*}}}*/ 64 /*Load virtual functions definitions: {{{ 1*/64 /*Load virtual functions definitions: {{{*/ 65 65 void Configure(Elements* elements,Loads* loads,Nodes* nodes,Vertices* vertices,Materials* materials,Parameters* parameters); 66 66 void SetCurrentConfiguration(Elements* elements,Loads* loads,Nodes* nodes,Vertices* vertices,Materials* materials,Parameters* parameters); 67 67 void CreateKMatrix(Matrix* Kff, Matrix* Kfs); 68 68 void CreatePVector(Vector* pf); 69 void CreateJacobianMatrix(Matrix* Jff){_error _("Not implemented yet");};70 void PenaltyCreateJacobianMatrix(Matrix* Jff, double kmax){_error_("Not implemented yet");};71 void PenaltyCreateKMatrix(Matrix* Kff, Matrix* kfs, double kmax);72 void PenaltyCreatePVector(Vector* pf, double kmax);69 void CreateJacobianMatrix(Matrix* Jff){_error2_("Not implemented yet");}; 70 void PenaltyCreateJacobianMatrix(Matrix* Jff,IssmDouble kmax){_error2_("Not implemented yet");}; 71 void PenaltyCreateKMatrix(Matrix* Kff, Matrix* kfs, IssmDouble kmax); 72 void PenaltyCreatePVector(Vector* pf, IssmDouble kmax); 73 73 bool InAnalysis(int analysis_type); 74 74 /*}}}*/ 75 /*Numericalflux management:{{{ 1*/76 void GetNormal( double* normal,double xyz_list[4][3]);75 /*Numericalflux management:{{{*/ 76 void GetNormal(IssmDouble* normal,IssmDouble xyz_list[4][3]); 77 77 ElementMatrix* CreateKMatrixPrognostic(void); 78 78 ElementMatrix* CreateKMatrixPrognosticInternal(void);
Note:
See TracChangeset
for help on using the changeset viewer.