Ice Sheet System Model  4.18
Code documentation
ModelProcessorx.h
Go to the documentation of this file.
1 /* \file ModelProcessorx.h
2  * \brief Header file for model processor
3  */
4 
5 #ifndef _MODEL_PROCESSORX_H_
6 #define _MODEL_PROCESSORX_H_
7 
8 #include "../../classes/classes.h"
9 #include "../../analyses/analyses.h"
10 
11 void ModelProcessorx(Elements** pelements, Nodes*** pnodes, Vertices** pvertices, Materials** pmaterials, Constraints*** pconstraints, Loads*** ploads, Parameters** pparameters,Inputs2** pinputs2,IoModel* iomodel,FILE* toolkitfile, char* rootpath,const int solution_type,const int nummodels,const int* analysis_type_listh);
12 
13 /*Creation of fem datasets: general drivers*/
14 void CreateElements(Elements* elements,IoModel* iomodel,int nummodels);
15 void CreateMaterials(Elements* elements,Inputs2* inputs2,Materials* materials,IoModel* iomodel,int nummodels);
16 void CreateVertices(Elements* elements,Vertices* vertices,IoModel* iomodel,int solution_type,bool isamr=false);
17 void CreateParameters(Parameters*parameters,IoModel* iomodel,char* rootpath,FILE* toolkitfile,const int solution_type);
18 void CreateParametersAutodiff(Parameters* parameters,IoModel* iomodel);
19 void CreateParametersControl(Parameters* parameters,IoModel* iomodel,int solution_type);
20 void CreateParametersDakota(Parameters* parameters,IoModel* iomodel,char* rootpath);
21 void CreateOutputDefinitions(Elements* elements, Parameters* parameters,Inputs2* inputs2,IoModel* iomodel);
22 void UpdateElementsAndMaterialsControl(Elements* elements,Parameters* parameters,Inputs2* inputs2,Materials* materials, IoModel* iomodel);
23 void UpdateElementsAndMaterialsControlAD(Elements* elements,Parameters* parameters,Inputs2* inputs2,Materials* materials, IoModel* iomodel);
24 void UpdateElementsAndMaterialsDakota(Elements* elements,Inputs2* inputs2,Materials* materials, IoModel* iomodel);
25 void UpdateElementsTransient(Elements* elements,Parameters* parameters,Inputs2* inputs2,IoModel* iomodel);
26 void CreateNodes(Nodes*nodes, IoModel* iomodel,int analysis,int finite_element,bool isamr=false,int approximation=NoneApproximationEnum,int* approximations=NULL);
27 
28 /*partitioning: */
30 void DiscontinuousGalerkinNodesPartitioning(bool** pmy_nodes,bool* my_elements,bool* my_vertices, IoModel* iomodel);
31 void FacesPartitioning(IoModel* iomodel);
32 void EdgesPartitioning(IoModel* iomodel);
33 
34 /*Mesh properties*/
35 void CreateEdges(IoModel* iomodel);
36 void CreateFaces(IoModel* iomodel);
37 void CreateFaces3d(IoModel* iomodel);
38 void EdgeOnBoundaryFlags(bool** pflags,IoModel* iomodel);
39 
40 /*Connectivity*/
43 #endif
CreateEdges
void CreateEdges(IoModel *iomodel)
Definition: CreateEdges.cpp:9
Vertices
Declaration of Vertices class.
Definition: Vertices.h:15
DiscontinuousGalerkinNodesPartitioning
void DiscontinuousGalerkinNodesPartitioning(bool **pmy_nodes, bool *my_elements, bool *my_vertices, IoModel *iomodel)
Definition: NodesPartitioning.cpp:17
CreateFaces3d
void CreateFaces3d(IoModel *iomodel)
Definition: CreateFaces.cpp:124
Nodes
Declaration of Nodes class.
Definition: Nodes.h:19
Parameters
Declaration of Parameters class.
Definition: Parameters.h:18
UpdateElementsTransient
void UpdateElementsTransient(Elements *elements, Parameters *parameters, Inputs2 *inputs2, IoModel *iomodel)
Definition: UpdateElementsTransient.cpp:11
CreateVertices
void CreateVertices(Elements *elements, Vertices *vertices, IoModel *iomodel, int solution_type, bool isamr=false)
Definition: CreateElementsVerticesAndMaterials.cpp:301
Constraints
Declaration of Constraints class.
Definition: Constraints.h:13
Elements
Declaration of Elements class.
Definition: Elements.h:17
FacesPartitioning
void FacesPartitioning(IoModel *iomodel)
Definition: FacesPartitioning.cpp:10
CreateParametersControl
void CreateParametersControl(Parameters *parameters, IoModel *iomodel, int solution_type)
Definition: CreateParametersControl.cpp:10
CreateOutputDefinitions
void CreateOutputDefinitions(Elements *elements, Parameters *parameters, Inputs2 *inputs2, IoModel *iomodel)
Definition: CreateOutputDefinitions.cpp:10
CreateParameters
void CreateParameters(Parameters *parameters, IoModel *iomodel, char *rootpath, FILE *toolkitfile, const int solution_type)
Definition: CreateParameters.cpp:18
CreateParametersDakota
void CreateParametersDakota(Parameters *parameters, IoModel *iomodel, char *rootpath)
Definition: CreateParametersDakota.cpp:11
UpdateElementsAndMaterialsControlAD
void UpdateElementsAndMaterialsControlAD(Elements *elements, Parameters *parameters, Inputs2 *inputs2, Materials *materials, IoModel *iomodel)
Definition: UpdateElementsAndMaterialsControl.cpp:181
NoneApproximationEnum
@ NoneApproximationEnum
Definition: EnumDefinitions.h:1201
Materials
Declaration of Materials class.
Definition: Materials.h:16
UpdateElementsAndMaterialsControl
void UpdateElementsAndMaterialsControl(Elements *elements, Parameters *parameters, Inputs2 *inputs2, Materials *materials, IoModel *iomodel)
Definition: UpdateElementsAndMaterialsControl.cpp:11
Inputs2
Declaration of Inputs class.
Definition: Inputs2.h:23
CreateNumberNodeToElementConnectivity
void CreateNumberNodeToElementConnectivity(IoModel *iomodel)
Definition: CreateNumberNodeToElementConnectivity.cpp:16
EdgesPartitioning
void EdgesPartitioning(IoModel *iomodel)
Definition: EdgesPartitioning.cpp:10
CreateMaterials
void CreateMaterials(Elements *elements, Inputs2 *inputs2, Materials *materials, IoModel *iomodel, int nummodels)
Definition: CreateElementsVerticesAndMaterials.cpp:87
Loads
Declaration of Loads class.
Definition: Loads.h:16
CreateParametersAutodiff
void CreateParametersAutodiff(Parameters *parameters, IoModel *iomodel)
Definition: CreateParametersAutodiff.cpp:10
CreateFaces
void CreateFaces(IoModel *iomodel)
Definition: CreateFaces.cpp:9
UpdateElementsAndMaterialsDakota
void UpdateElementsAndMaterialsDakota(Elements *elements, Inputs2 *inputs2, Materials *materials, IoModel *iomodel)
Definition: UpdateElementsAndMaterialsDakota.cpp:11
CreateElements
void CreateElements(Elements *elements, IoModel *iomodel, int nummodels)
Definition: CreateElementsVerticesAndMaterials.cpp:35
IoModel
Definition: IoModel.h:48
ModelProcessorx
void ModelProcessorx(Elements **pelements, Nodes ***pnodes, Vertices **pvertices, Materials **pmaterials, Constraints ***pconstraints, Loads ***ploads, Parameters **pparameters, Inputs2 **pinputs2, IoModel *iomodel, FILE *toolkitfile, char *rootpath, const int solution_type, const int nummodels, const int *analysis_type_listh)
Definition: ModelProcessorx.cpp:15
EdgeOnBoundaryFlags
void EdgeOnBoundaryFlags(bool **pflags, IoModel *iomodel)
Definition: CreateEdges.cpp:217
ElementsAndVerticesPartitioning
void ElementsAndVerticesPartitioning(IoModel *iomodel)
Definition: ElementsAndVerticesPartitioning.cpp:17
CreateNodes
void CreateNodes(Nodes *nodes, IoModel *iomodel, int analysis, int finite_element, bool isamr=false, int approximation=NoneApproximationEnum, int *approximations=NULL)
Definition: CreateNodes.cpp:36
CreateSingleNodeToElementConnectivity
void CreateSingleNodeToElementConnectivity(IoModel *iomodel)
Definition: CreateSingleNodeToElementConnectivity.cpp:10