| 1 | /*! \file HydrologyShreveAnalysis.h
|
|---|
| 2 | * \brief: header file for generic external result object
|
|---|
| 3 | */
|
|---|
| 4 |
|
|---|
| 5 | #ifndef _HydrologyShreveAnalysis_
|
|---|
| 6 | #define _HydrologyShreveAnalysis_
|
|---|
| 7 |
|
|---|
| 8 | /*Headers*/
|
|---|
| 9 | #include "./Analysis.h"
|
|---|
| 10 |
|
|---|
| 11 | class HydrologyShreveAnalysis: public Analysis{
|
|---|
| 12 |
|
|---|
| 13 | public:
|
|---|
| 14 | /*Model processing*/
|
|---|
| 15 | void CreateConstraints(Constraints* constraints,IoModel* iomodel);
|
|---|
| 16 | void CreateLoads(Loads* loads, IoModel* iomodel);
|
|---|
| 17 | void CreateNodes(Nodes* nodes,IoModel* iomodel,bool isamr=false);
|
|---|
| 18 | int DofsPerNode(int** doflist,int domaintype,int approximation);
|
|---|
| 19 | void UpdateElements(Elements* elements,Inputs* inputs,IoModel* iomodel,int analysis_counter,int analysis_type);
|
|---|
| 20 | void UpdateParameters(Parameters* parameters,IoModel* iomodel,int solution_enum,int analysis_enum);
|
|---|
| 21 |
|
|---|
| 22 | /*Finite element Analysis*/
|
|---|
| 23 | void Core(FemModel* femmodel);
|
|---|
| 24 | void PreCore(FemModel* femmodel);
|
|---|
| 25 | ElementVector* CreateDVector(Element* element);
|
|---|
| 26 | void CreateHydrologyWaterVelocityInput(Element* element);
|
|---|
| 27 | ElementMatrix* CreateJacobianMatrix(Element* element);
|
|---|
| 28 | ElementMatrix* CreateKMatrix(Element* element);
|
|---|
| 29 | ElementVector* CreatePVector(Element* element);
|
|---|
| 30 | void GetSolutionFromInputs(Vector<IssmDouble>* solution,Element* element);
|
|---|
| 31 | void GradientJ(Vector<IssmDouble>* gradient,Element* element,int control_type,int control_interp,int control_index);
|
|---|
| 32 | void InputUpdateFromSolution(IssmDouble* solution,Element* element);
|
|---|
| 33 | void UpdateConstraints(FemModel* femmodel);
|
|---|
| 34 | };
|
|---|
| 35 | #endif
|
|---|