| 1 | #ifndef _ENUMTOANALYSIS_
|
|---|
| 2 | #define _ENUMTOANALYSIS_
|
|---|
| 3 |
|
|---|
| 4 | class Analysis;
|
|---|
| 5 |
|
|---|
| 6 | Analysis* EnumToAnalysis(int analysis_enum);
|
|---|
| 7 |
|
|---|
| 8 | #endif
|
|---|
| 9 | /*Model processing*/
|
|---|
| 10 | int DofsPerNode(int** doflist,int domaintype,int approximation);
|
|---|
| 11 | void UpdateParameters(Parameters* parameters,IoModel* iomodel,int solution_enum,int analysis_enum);
|
|---|
| 12 | void UpdateElements(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type);
|
|---|
| 13 | void CreateNodes(Nodes* nodes,IoModel* iomodel);
|
|---|
| 14 | void CreateConstraints(Constraints* constraints,IoModel* iomodel);
|
|---|
| 15 | void CreateLoads(Loads* loads, IoModel* iomodel);
|
|---|
| 16 |
|
|---|
| 17 | /*Finite element Analysis*/
|
|---|
| 18 | void Core(FemModel* femmodel);
|
|---|
| 19 | ElementVector* CreateDVector(Element* element);
|
|---|
| 20 | ElementMatrix* CreateJacobianMatrix(Element* element);
|
|---|
| 21 | ElementMatrix* CreateKMatrix(Element* element);
|
|---|
| 22 | ElementVector* CreatePVector(Element* element);
|
|---|
| 23 | void GetSolutionFromInputs(Vector<IssmDouble>* solution,Element* element);
|
|---|
| 24 | void GradientJ(Vector<IssmDouble>* gradient,Element* element,int control_type,int control_index);
|
|---|
| 25 | void InputUpdateFromSolution(IssmDouble* solution,Element* element);
|
|---|
| 26 | void UpdateConstraints(FemModel* femmodel);
|
|---|