Changeset 15372 for issm/trunk-jpl/src/c/classes/Elements/ElementHook.h
- Timestamp:
- 06/30/13 17:32:20 (12 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/ElementHook.h
r15364 r15372 1 /*!\file: PentaHook.h2 * \brief prototypes for PentaHook.h1 /*!\file: ElementHook.h 2 * \brief prototypes for ElementHook.h 3 3 */ 4 4 5 #ifndef _ PENTAHOOK_H_6 #define _PENTAHOOK_H_5 #ifndef _ELEMENTHOOK_H_ 6 #define _ELEMENTHOOK_H_ 7 7 8 8 class Hook; 9 class TriaHook;10 9 class IoModel; 11 10 12 class PentaHook{11 class ElementHook{ 13 12 14 13 public: 15 14 int numanalyses; //number of analysis types 16 15 Hook **hnodes; // set of nodes for each analysis type 17 Hook *hvertices; // 6 vertices for each analysis type16 Hook *hvertices; // vertices 18 17 Hook *hmaterial; // 1 ice material 19 18 Hook *hmatpar; // 1 material parameter 20 Hook *hneighbors; // 2 elements, first down, second up 19 Hook *hneighbors; // 2 elements, first down, second up in 3d only 21 20 22 21 /*constructors, destructors*/ 23 PentaHook();24 PentaHook(int in_numanalyses,int material_id,IoModel* iomodel);25 ~ PentaHook();22 ElementHook(); 23 ElementHook(int in_numanalyses,int material_id,int numvertices,IoModel* iomodel); 24 ~ElementHook(); 26 25 27 void SetHookNodes(int* node_ids,int analysis_counter);28 void SpawnTriaHook( TriaHook* triahook,int* indices);29 void InitHookNeighbors(int* element_ids); 26 void SetHookNodes(int* node_ids,int numnodes,int analysis_counter); 27 void SpawnTriaHook(ElementHook* triahook,int* indices); //3d only 28 void InitHookNeighbors(int* element_ids); //3d only 30 29 }; 31 30 32 #endif //ifndef _ PENTAHOOK_H_31 #endif //ifndef _ELEMENTHOOK_H_
Note:
See TracChangeset
for help on using the changeset viewer.