1 | /*! \file HydrologyGlaDSAnalysis.h
|
---|
2 | * \brief: header file for generic external result object
|
---|
3 | */
|
---|
4 |
|
---|
5 | #ifndef _HydrologyGlaDSAnalysis_
|
---|
6 | #define _HydrologyGlaDSAnalysis_
|
---|
7 |
|
---|
8 | /*Headers*/
|
---|
9 | #include "./Analysis.h"
|
---|
10 |
|
---|
11 | class HydrologyGlaDSAnalysis: 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,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 | ElementVector* CreateDVector(Element* element);
|
---|
25 | ElementMatrix* CreateJacobianMatrix(Element* element);
|
---|
26 | ElementMatrix* CreateKMatrix(Element* element);
|
---|
27 | ElementVector* CreatePVector(Element* element);
|
---|
28 | void GetSolutionFromInputs(Vector<IssmDouble>* solution,Element* element);
|
---|
29 | void GradientJ(Vector<IssmDouble>* gradient,Element* element,int control_type,int control_index);
|
---|
30 | void InputUpdateFromSolution(IssmDouble* solution,Element* element);
|
---|
31 | void UpdateConstraints(FemModel* femmodel);
|
---|
32 |
|
---|
33 | /*Specific to GlaDS*/
|
---|
34 | void SetChannelCrossSectionOld(FemModel* femmodel);
|
---|
35 | void UpdateSheetThickness(FemModel* femmodel);
|
---|
36 | void UpdateSheetThickness(Element* element);
|
---|
37 | void UpdateChannelCrossSection(FemModel* femmodel);
|
---|
38 | void UpdateEffectivePressure(FemModel* femmodel);
|
---|
39 | void UpdateEffectivePressure(Element* element);
|
---|
40 | };
|
---|
41 | #endif
|
---|