00001 #ifndef _ELEMPRISM_H_
00002 #define _ELEMPRISM_H_
00003
00004 #include "Face3.h"
00005 #include "Face4.h"
00006
00013 namespace ElemPrismSpace{
00014 void mark2Ref(hHybridMesh* myMesh,hObj& obj,const int i) ;
00015 void mark2Deref(hHybridMesh* myMesh,hObj& obj);
00016 void mark2Delete(hHybridMesh* myMesh,hObj& obj);
00017 int refine(hHybridMesh* myMesh,hObj& obj,const int i);
00018 void derefine(hHybridMesh* myMesh,hObj& obj);
00019 bool test(const hHybridMesh* myMesh,const hObj& obj);
00020
00021 MMT_H_MESH_TYPE(ElemPrism,5,5,Face3,6,3,0,13,9,5,0)
00022
00023
00024
00025
00026 const int faceNeigByEdge[5][4]={{2,3,4,0},{2,3,4,0},{0,2,3,1},{0,1,3,1},{0,1,2,1}};
00027
00028 };
00029
00030 typedef ElemPrismSpace::ElemPrism ElemPrism;
00031 typedef ElemPrismSpace::ElemPrismD ElemPrismD;
00033 #endif // _ELEMPRISM_H_