Ice Sheet System Model  4.18
Code documentation
ElementHook.h
Go to the documentation of this file.
1 
5 #ifndef _ELEMENTHOOK_H_
6 #define _ELEMENTHOOK_H_
7 
8 class Hook;
9 class IoModel;
10 
12 
13  public:
14  int numanalyses; //number of analysis types
15  Hook **hnodes; // set of nodes for each analysis type
16  Hook *hvertices; // vertices
17  Hook *hmaterial; // 1 ice material
18  Hook *hneighbors; // 2 elements, first down, second up in 3d only
19 
20  /*constructors, destructors*/
21  ElementHook();
22  ElementHook(int in_numanalyses,int material_id,int numvertices,IoModel* iomodel);
23  ~ElementHook();
24  void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction);
25 
26  void DeepEcho();
27  void Echo();
28  void InitHookNeighbors(int* element_ids); //3d only
29  void SetHookNodes(int* node_ids,int numnodes,int analysis_counter);
30  void SpawnSegHook(ElementHook* triahook,int ndex1,int index2); //2d only
31  void SpawnTriaHook(ElementHook* triahook,int index1,int index2,int index3); //3d only
32 };
33 
34 #endif //ifndef _ELEMENTHOOK_H_
ElementHook::~ElementHook
~ElementHook()
Definition: ElementHook.cpp:26
ElementHook::ElementHook
ElementHook()
Definition: ElementHook.cpp:18
ElementHook::SpawnSegHook
void SpawnSegHook(ElementHook *triahook, int ndex1, int index2)
Definition: ElementHook.cpp:192
ElementHook::SetHookNodes
void SetHookNodes(int *node_ids, int numnodes, int analysis_counter)
Definition: ElementHook.cpp:188
ElementHook::Echo
void Echo()
Definition: ElementHook.cpp:156
ElementHook
Definition: ElementHook.h:11
ElementHook::hmaterial
Hook * hmaterial
Definition: ElementHook.h:17
Hook
Definition: Hook.h:16
ElementHook::InitHookNeighbors
void InitHookNeighbors(int *element_ids)
Definition: ElementHook.cpp:184
ElementHook::Marshall
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
Definition: ElementHook.cpp:67
ElementHook::hvertices
Hook * hvertices
Definition: ElementHook.h:16
ElementHook::hneighbors
Hook * hneighbors
Definition: ElementHook.h:18
ElementHook::hnodes
Hook ** hnodes
Definition: ElementHook.h:15
IoModel
Definition: IoModel.h:48
ElementHook::SpawnTriaHook
void SpawnTriaHook(ElementHook *triahook, int index1, int index2, int index3)
Definition: ElementHook.cpp:217
ElementHook::DeepEcho
void DeepEcho()
Definition: ElementHook.cpp:127
ElementHook::numanalyses
int numanalyses
Definition: ElementHook.h:14