30 enum ETYPE{ TRI = 1, QUAD = 2, TETRA = 3, HEXA = 4 };
31 enum WTYPE{ NOWEIGHTS = 0, WEIGHTS_ONLY_EDGES = 1, WEIGTHS_ONLY_VERTICES = 2,
32 WEIGHTS_BOTH_VERTICES_EDGES = 3};
33 enum NUMFLAG{ C_STYLE = 0, FORTRAN_STYLE = 1 };
34 enum CELLTYPE{ INTERIOR = 1, GHOST_BOUNDARY_CELL = 2, GHOST_INTERFACE_CELL};
36 explicit PartMesh(
const MeshList& mesh_list, vector<int> npart, vector<int> eType);
50 void setWeightType(
int weight_type );
51 void setNumFlag(
int num_flag);
55 void isCleanup(
bool clean_up) { _cleanup = clean_up; cout <<
" cleanup = " << _cleanup << endl; }
62 void compute_elem_dist();
63 void elem_connectivity();
65 int local_nodes(
int id);
66 void set_eptr_eind(
int id);
68 void count_elems_part();
69 void exchange_part_elems();
73 void CRConnectivity_cellParts();
74 void mapBounIDAndCell(
int id);
75 void resize_elem(
int id);
76 void CRConnectivity_faceParts();
77 void faceCells_faceNodes();
81 int count_interior_faces(
int id );
82 void order_faceCells_faceNodes();
83 void non_interior_cells();
84 void non_interior_cells2();
85 void local_number_elems();
86 void exchange_interface_meshes();
88 void create_window(
int id );
91 int get_window_displ(
int id,
int neigh_mesh_id );
92 void construct_mesh(
int id );
95 void mesh_xdmf_header();
100 void cleanup_follow_exchange_part_elems();
101 void cleanup_follow_faceCells_faceNodes();
102 void cleanup_follow_mappers();
vector< map< int, string > > _mapBounIDAndBounType
vector< StorageSitePtr > _partSite
vector< StorageSitePtr > _nodeSite
vector< map< int, int > > _localToGlobalMappers
vector< CRConnectivityPtr > _cellCells
vector< CRConnectivityPtr > _partNodes
vector< int > _totElemsAndGhosts
vector< CRConnectivityPtr > _faceParts
shared_ptr< Mesh > MeshPtr
vector< int > _ncommonNodes
vector< set< int > > _interfaceSet
shared_ptr< StorageSite > StorageSitePtr
vector< vector< int > > _cellToOrderedCell
vector< CRConnectivityPtr > _faceNodes
vector< set< int > > _elemSet
vector< ArrayIntPtr > _ghostCellsLocal
vector< Mesh * > _meshListLocal
vector< int > _windowSize
shared_ptr< Array< Mesh::VecD3 > > ArrayVecD3Ptr
vector< int * > _elemWithGhosts
vector< Array< int > * > _elemDist
vector< float * > _tpwgts
vector< multimap< int, int > > _globalToLocalMappers
vector< ArrayIntPtr > _interfaceMeshCounts
vector< ArrayIntPtr > _interfaceMeshIDs
vector< int > _nelemsWithGhosts
void isCleanup(bool clean_up)
vector< ArrayIntPtr > _procTotalInterfaces
vector< ArrayIntPtr > _ghostCellsGlobal
vector< multimap< int, int > > _mapBounIDAndCell
vector< map< int, int > > _interfaceOffsets
vector< StorageSitePtr > _cellSite
vector< multimap< int, int > > _mapPartAndElms
vector< CRConnectivityPtr > _faceNodesOrdered
vector< set< int > > _elemLocal
vector< set< int > > _boundarySet
vector< CRConnectivityPtr > _partCells
vector< map< int, int > > _bndryOffsets
vector< vector< ArrayIntPtr > > _toIndices
vector< CRConnectivityPtr > _cellParts
vector< Array< int > * > _globalIndx
vector< StorageSitePtr > _cellSiteGlobal
shared_ptr< Array< int > > ArrayIntPtr
vector< set< int > > _nonInteriorCells
vector< ArrayIntPtr > _offsetInterfaceCells
const MeshList & meshList() const
vector< StorageSitePtr > _faceSite
vector< CRConnectivityPtr > _cellNodes
vector< vector< ArrayIntPtr > > _fromIndices
vector< CRConnectivityPtr > _faceCellsOrdered
vector< const CRConnectivity * > _faceCellsGlobal
vector< multimap< int, int > > _interfaceMap
vector< const CRConnectivity * > _faceNodesGlobal
shared_ptr< CRConnectivity > CRConnectivityPtr
vector< ArrayVecD3Ptr > _coord
vector< Mesh * > MeshList
vector< ArrayIntPtr > _localToGlobalMap
vector< CRConnectivityPtr > _partFaces
vector< CRConnectivityPtr > _faceCells