#include <HalfFacetRep.hpp>
Collaboration diagram for moab::HalfFacetRep:Classes | |
| struct | adj_matrix |
| struct | LocalMaps2D |
| 2D local maps More... | |
| struct | LocalMaps3D |
| 3D local maps More... | |
Public Member Functions | |
| HalfFacetRep (Core *impl, ParallelComm *comm=0, moab::EntityHandle rset=0, bool filter_ghosts=true) | |
| ~HalfFacetRep () | |
| bool | check_mixed_entity_type () |
| ErrorCode | initialize () |
| Constructs the sibling-half-facet and vertex-to-incident-half-facet maps for each dimension present in the input. This routine should be called before any calls for adjacency is made. More... | |
| ErrorCode | deinitialize () |
| Deinitialize. More... | |
| ErrorCode | print_tags (int dim) |
| Prints the tag values. More... | |
| ErrorCode | get_adjacencies (const EntityHandle source_entity, const unsigned int target_dimension, std::vector< EntityHandle > &target_entities) |
| Get the adjacencies associated with an entity. More... | |
| ErrorCode | get_up_adjacencies (EntityHandle ent, int out_dim, std::vector< EntityHandle > &adjents, std::vector< int > *lids=NULL) |
| Get the upward incidences associated with an entity. More... | |
| ErrorCode | get_neighbor_adjacencies (EntityHandle ent, std::vector< EntityHandle > &adjents) |
| Get the same-dimensional entities connected with an entity. More... | |
| ErrorCode | get_down_adjacencies (EntityHandle ent, int out_dim, std::vector< EntityHandle > &adjents) |
| Get the downward adjacent entities connected with an entity. More... | |
| ErrorCode | determine_sibling_halfverts (Range &verts, Range &edges) |
| Given a range of edges, determines the map for sibling half-verts and stores them into SIBHVS_EID, SIBHVS_LVID tags. More... | |
| ErrorCode | determine_incident_halfverts (Range &edges) |
| Given a range of edges, determines the map for incident half-verts and stores them into V2HV_EID, V2HV_LVID tags. More... | |
| ErrorCode | get_up_adjacencies_1d (EntityHandle vid, std::vector< EntityHandle > &adjents, std::vector< int > *lvids=NULL) |
| Given a vertex, finds the edges incident on it. More... | |
| ErrorCode | get_neighbor_adjacencies_1d (EntityHandle eid, std::vector< EntityHandle > &adjents) |
| Given an edge, finds vertex-connected neighbor edges. More... | |
| ErrorCode | determine_sibling_halfedges (Range &faces) |
| Given a range of faces, determines the sibling half-edges and stores them into SIBHES_FID, SIBHES_LEID tags. More... | |
| ErrorCode | determine_incident_halfedges (Range &faces) |
| Given a range of faces, determines the incident half-edges and stores them into V2HE_FID, V2HE_LEID tags. More... | |
| ErrorCode | get_up_adjacencies_vert_2d (EntityHandle vid, std::vector< EntityHandle > &adjents) |
| Given a vertex, finds the faces incident on it. More... | |
| ErrorCode | get_up_adjacencies_2d (EntityHandle eid, std::vector< EntityHandle > &adjents, std::vector< int > *leids=NULL) |
| Given an edge, finds the faces incident on it. More... | |
| ErrorCode | get_up_adjacencies_2d (EntityHandle fid, int leid, bool add_inent, std::vector< EntityHandle > &adj_ents, std::vector< int > *adj_leids=NULL, std::vector< int > *adj_orients=NULL) |
| Given a half-edge <fid, leid>, finds the faces incident on it. More... | |
| ErrorCode | get_neighbor_adjacencies_2d (EntityHandle fid, std::vector< EntityHandle > &adjents) |
| Given an edge, finds edge-connected neighbor face. More... | |
| ErrorCode | get_down_adjacencies_2d (EntityHandle fid, std::vector< EntityHandle > &adjents) |
| Given a face, finds its edges. More... | |
| int | find_total_edges_2d (Range &faces) |
| Given a range of faces, finds the total number of edges. More... | |
| ErrorCode | get_face_edges (EntityHandle fid, std::vector< EntityHandle > &edges) |
| ErrorCode | determine_sibling_halffaces (Range &cells) |
| Given a range of cells, determines the sibling half-faces and stores them into SIBHFS_CID, SIBHFS_LFID tags. More... | |
| ErrorCode | determine_incident_halffaces (Range &cells) |
| Given a range of cells, determines the incident half-faces and stores them into V2HF_CID, V2HF_LFID tags. More... | |
| ErrorCode | determine_border_vertices (Range &cells, Tag isborder) |
| Given a range of cells, tags all border vertices with a true value. More... | |
| ErrorCode | get_up_adjacencies_vert_3d (EntityHandle vid, std::vector< EntityHandle > &adjents) |
| Given a vertex, finds the cells incident on it. More... | |
| ErrorCode | get_up_adjacencies_edg_3d (EntityHandle eid, std::vector< EntityHandle > &adjents, std::vector< int > *leids=NULL) |
| Given an edge, finds the cells incident on it. More... | |
| ErrorCode | get_up_adjacencies_edg_3d (EntityHandle cid, int leid, std::vector< EntityHandle > &adjents, std::vector< int > *leids=NULL, std::vector< int > *adj_orients=NULL) |
| Given a local edge <cid, leid>, finds the cells incident on it. More... | |
| ErrorCode | get_up_adjacencies_edg_3d_comp (EntityHandle cid, int leid, std::vector< EntityHandle > &adjents, std::vector< int > *leids=NULL, std::vector< int > *adj_orients=NULL) |
| ErrorCode | get_up_adjacencies_face_3d (EntityHandle fid, std::vector< EntityHandle > &adjents, std::vector< int > *lfids=NULL) |
| Given an face, finds the cells incident on it. More... | |
| ErrorCode | get_up_adjacencies_face_3d (EntityHandle cid, int lfid, std::vector< EntityHandle > &adjents, std::vector< int > *lfids=NULL) |
| Given a local face <cid, lfid>, finds the cells incident on it. More... | |
| ErrorCode | get_neighbor_adjacencies_3d (EntityHandle cid, std::vector< EntityHandle > &adjents) |
| Given a cell, finds face-connected neighbor cells. More... | |
| ErrorCode | get_down_adjacencies_edg_3d (EntityHandle cid, std::vector< EntityHandle > &adjents) |
| Given a cell, finds its edges. More... | |
| ErrorCode | get_down_adjacencies_face_3d (EntityHandle cid, std::vector< EntityHandle > &adjents) |
| Given a cell, finds its faces. More... | |
| ErrorCode | find_total_edges_faces_3d (const Range &cells, int *nedges, int *nfaces) |
| ErrorCode | count_subentities (Range &edges, Range &faces, Range &cells, int *nedges, int *nfaces) |
| void | get_memory_use (unsigned long long &entity_total, unsigned long long &memory_total) |
| ErrorCode | get_half_facet_in_comp (EntityHandle cid, int leid, std::vector< EntityHandle > &ents, std::vector< int > &lids, std::vector< int > &lfids) |
| HFacet | create_halffacet (EntityHandle handle, int lid) |
| EntityHandle | fid_from_halfacet (const HFacet facet, EntityType type) |
| int | lid_from_halffacet (const HFacet facet) |
| ErrorCode | update_entity_ranges (EntityHandle fileset) |
| ErrorCode | resize_hf_maps (EntityHandle start_vert, int nverts, EntityHandle start_edge, int nedges, EntityHandle start_face, int nfaces, EntityHandle start_cell, int ncells) |
| ErrorCode | get_sibling_map (EntityType type, EntityHandle ent, EntityHandle *sib_entids, int *sib_lids, int num_halffacets) |
| ErrorCode | get_sibling_map (EntityType type, EntityHandle ent, int lid, EntityHandle &sib_entid, int &sib_lid) |
| ErrorCode | set_sibling_map (EntityType type, EntityHandle ent, EntityHandle *set_entids, int *set_lids, int num_halffacets) |
| ErrorCode | set_sibling_map (EntityType type, EntityHandle ent, int lid, EntityHandle &set_entid, int &set_lid) |
| ErrorCode | get_incident_map (EntityType type, EntityHandle vid, std::vector< EntityHandle > &inci_entid, std::vector< int > &inci_lid) |
| ErrorCode | set_incident_map (EntityType type, EntityHandle vid, std::vector< EntityHandle > &set_entid, std::vector< int > &set_lid) |
| bool | check_nonmanifold_vertices (EntityType type, EntityHandle vid) |
| int | get_index_in_lmap (EntityHandle cid) |
| ErrorCode | get_entity_ranges (Range &verts, Range &edges, Range &faces, Range &cells) |
| MESHTYPE | get_mesh_type (int nverts, int nedges, int nfaces, int ncells) |
| EntityHandle * | get_rset () |
Public Attributes | |
| MESHTYPE | thismeshtype |
| std::map< EntityType, int > | cell_index |
Static Public Attributes | |
| static const LocalMaps2D | lConnMap2D [2] |
| static const LocalMaps3D | lConnMap3D [4] |
Protected Member Functions | |
| HalfFacetRep () | |
| int | get_index_for_meshtype (MESHTYPE mesh_type) |
| ErrorCode | init_curve () |
| ErrorCode | init_surface () |
| ErrorCode | init_volume () |
| ErrorCode | get_up_adjacencies_2d (EntityHandle he_fid, int he_lid, int *qsize, int *count) |
| Contains the local information for 2D entities. More... | |
| bool | find_matching_halfedge (EntityHandle eid, EntityHandle *hefid, int *helid) |
| Given an edge, finds a matching half-edge in the surface. More... | |
| ErrorCode | gather_halfedges (EntityHandle vid, EntityHandle he_fid, int he_lid, int *qsize, int *count) |
| Gather half-edges to a queue of half-edges. More... | |
| ErrorCode | another_halfedge (EntityHandle vid, EntityHandle he_fid, int he_lid, EntityHandle *he2_fid, int *he2_lid) |
| Obtains another half-edge belonging to the same face as the input half-edge. More... | |
| ErrorCode | mark_halfedges (EntityHandle vid, EntityHandle he_fid, int he_lid, Range &faces, std::vector< char > &markHEdgs, HFacet &bnd_hf) |
| bool | collect_and_compare (const EntityHandle vid, const EntityHandle *edg_vert, int *qsize, int *count, EntityHandle *he_fid, int *he_lid) |
| Collect and compare to find a matching half-edge with the given edge connectivity. More... | |
| ErrorCode | add_cells_of_single_component (EntityHandle vid, EntityHandle curcid, int curlid, std::multimap< EntityHandle, EntityHandle > &comps, HFacet &hf) |
| bool | find_cell_in_component (EntityHandle vid, EntityHandle cell, std::multimap< EntityHandle, EntityHandle > &comps) |
| bool | find_matching_implicit_edge_in_cell (EntityHandle eid, std::vector< EntityHandle > &cid, std::vector< int > &leid) |
| Given an edge, finds a matching local edge in an incident cell. More... | |
| bool | find_matching_halfface (EntityHandle fid, EntityHandle *cid, int *leid) |
| Given a face, finds a matching local face in an incident cell. More... | |
| bool | find_match_in_array (EntityHandle ent, EntityHandle *ent_list, int count, bool get_index=false, int *index=NULL) |
Protected Attributes | |
| Core * | mb |
| ParallelComm * | pcomm |
| EntityHandle | _rset |
| bool | _filterghost |
| bool | mInitAHFmaps |
| Range | _verts |
| Range | _edges |
| Range | _faces |
| Range | _cells |
| std::vector< HFacet > | sibhvs |
| std::vector< HFacet > | v2hv |
| std::vector< HFacet > | sibhes |
| std::vector< HFacet > | v2he |
| std::vector< HFacet > | sibhfs |
| std::vector< HFacet > | v2hf |
| std::multimap< EntityHandle, HFacet > | v2hes |
| std::multimap< EntityHandle, HFacet > | v2hfs |
| EntityHandle | queue_fid [MAXSIZE] |
| EntityHandle | Stkcells [MAXSIZE] |
| EntityHandle | cellq [MAXSIZE] |
| EntityHandle | trackfaces [MAXSIZE] |
| EntityHandle | trackcells [MAXSIZE] |
| int | queue_lid [MAXSIZE] |
| bool | is_mixed |
| bool | chk_mixed |
Static Protected Attributes | |
| static const adj_matrix | adjMatrix [7] |
Definition at line 76 of file HalfFacetRep.hpp.
| moab::HalfFacetRep::HalfFacetRep | ( | Core * | impl, |
| ParallelComm * | comm = 0, |
||
| moab::EntityHandle | rset = 0, |
||
| bool | filter_ghosts = true |
||
| ) |
| moab::HalfFacetRep::~HalfFacetRep | ( | ) |
Definition at line 54 of file HalfFacetRep.cpp.
|
protected |
|
protected |
Definition at line 2062 of file HalfFacetRep.cpp.
References create_halffacet(), moab::error(), ErrorCode, fid_from_halfacet(), find_match_in_array(), moab::Core::get_connectivity(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, mb, MB_CHK_ERR, MB_SET_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, sibhfs, Stkcells, trackcells, moab::Core::type_from_handle(), moab::HalfFacetRep::LocalMaps3D::v2hf, and moab::HalfFacetRep::LocalMaps3D::v2hf_num.
Referenced by determine_incident_halffaces().
|
protected |
Obtains another half-edge belonging to the same face as the input half-edge.
It uses the local maps to find another half-edge that is either incident or outgoing depending on vid and input half-edge
Definition at line 1473 of file HalfFacetRep.cpp.
References moab::error(), ErrorCode, moab::Core::get_connectivity(), lConnMap2D, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps2D::next, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, moab::HalfFacetRep::LocalMaps2D::prev, and moab::Core::type_from_handle().
Referenced by collect_and_compare(), gather_halfedges(), get_up_adjacencies_vert_2d(), and mark_halfedges().
| bool moab::HalfFacetRep::check_mixed_entity_type | ( | ) |
Definition at line 131 of file HalfFacetRep.cpp.
References _rset, chk_mixed, moab::Range::empty(), moab::error(), ErrorCode, moab::ScdInterface::find_boxes(), moab::Core::get_entities_by_dimension(), is_mixed, mb, MB_CHK_ERR, MBHEX, MBPOLYGON, MBPOLYHEDRON, MBPRISM, MBPYRAMID, MBQUAD, MBTET, MBTRI, moab::Interface::query_interface(), moab::Range::size(), and moab::Range::subset_by_type().
Referenced by moab::NestedRefine::initialize().
| bool moab::HalfFacetRep::check_nonmanifold_vertices | ( | EntityType | type, |
| EntityHandle | vid | ||
| ) |
Definition at line 3483 of file HalfFacetRep.cpp.
References moab::ID_FROM_HANDLE(), MB_SET_ERR, MBHEX, MBQUAD, MBTET, MBTRI, v2he, v2hes, v2hf, and v2hfs.
Referenced by moab::NestedRefine::update_global_ahf_3D().
|
protected |
Collect and compare to find a matching half-edge with the given edge connectivity.
Given edge connectivity, compare to an input list of half-edges to find a matching half-edge and add a list of half-edges belonging to the one-ring neighborhood to a queue till it finds a match.
Definition at line 1497 of file HalfFacetRep.cpp.
References _faces, another_halfedge(), moab::Range::begin(), moab::error(), ErrorCode, find_match_in_array(), moab::Core::get_connectivity(), get_up_adjacencies_2d(), lConnMap2D, moab::MAXSIZE, mb, MB_CHK_ERR, moab::HalfFacetRep::LocalMaps2D::next, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, queue_fid, queue_lid, trackfaces, and moab::Core::type_from_handle().
Referenced by find_matching_halfedge().
| ErrorCode moab::HalfFacetRep::count_subentities | ( | Range & | edges, |
| Range & | faces, | ||
| Range & | cells, | ||
| int * | nedges, | ||
| int * | nfaces | ||
| ) |
Definition at line 665 of file HalfFacetRep.cpp.
References moab::error(), ErrorCode, find_total_edges_2d(), find_total_edges_faces_3d(), MB_CHK_ERR, MB_SUCCESS, and moab::Range::size().
Referenced by moab::NestedRefine::count_subentities().
| HFacet moab::HalfFacetRep::create_halffacet | ( | EntityHandle | handle, |
| int | lid | ||
| ) |
Definition at line 3824 of file HalfFacetRep.cpp.
References moab::CREATE_HALFFACET(), and moab::ID_FROM_HANDLE().
Referenced by add_cells_of_single_component(), determine_incident_halfedges(), determine_incident_halfverts(), determine_sibling_halfedges(), determine_sibling_halffaces(), determine_sibling_halfverts(), mark_halfedges(), set_incident_map(), and set_sibling_map().
| ErrorCode moab::HalfFacetRep::deinitialize | ( | ) |
Given a range of cells, tags all border vertices with a true value.
Tag border vertices by using the sibhf_cid map. All vertices on half-faces with no sibling half-faces are considered as border vertices.
| cells | Range of cells |
| isborder | A dense tag over all vertices of size 1. Value is true for a border vertex, otherwise is false. |
Definition at line 2020 of file HalfFacetRep.cpp.
References moab::Range::begin(), moab::Range::end(), moab::error(), ErrorCode, fid_from_halfacet(), moab::Core::get_connectivity(), get_index_in_lmap(), moab::HalfFacetRep::LocalMaps3D::hf2v, moab::HalfFacetRep::LocalMaps3D::hf2v_num, moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, sibhfs, moab::Core::tag_set_data(), and moab::Core::type_from_handle().
Given a range of faces, determines the incident half-edges and stores them into V2HE_FID, V2HE_LEID tags.
Compute a map between a vertex and an incident half-edge. This map is not always required, but is essential for local neighborhood searching as it acts like an anchor to start the search.
| faces | Range of faces |
Definition at line 1016 of file HalfFacetRep.cpp.
References moab::Range::begin(), create_halffacet(), moab::Range::end(), moab::error(), ErrorCode, moab::Core::get_connectivity(), moab::ID_FROM_HANDLE(), moab::Range::index(), lConnMap2D, mark_halfedges(), mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, moab::Range::size(), moab::Core::type_from_handle(), v2he, and v2hes.
Referenced by init_surface().
Given a range of cells, determines the incident half-faces and stores them into V2HF_CID, V2HF_LFID tags.
Compute a map between a vertex and an incident half-face. This map is not always required, but is essential for local neighborhood searching as it acts like an anchor to start the search.
| faces | Range of cells |
Definition at line 1963 of file HalfFacetRep.cpp.
References add_cells_of_single_component(), moab::Range::begin(), moab::Range::end(), moab::error(), ErrorCode, find_cell_in_component(), moab::Core::get_connectivity(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, v2hf, and v2hfs.
Referenced by init_volume().
Given a range of edges, determines the map for incident half-verts and stores them into V2HV_EID, V2HV_LVID tags.
Compute a map between a vertex and an incident half-vertex. This map is not always required, but is essential for local neighborhood searching as it acts like an anchor to start the search.
| edges | Range of edges |
Definition at line 768 of file HalfFacetRep.cpp.
References moab::Range::begin(), create_halffacet(), moab::Range::end(), moab::error(), ErrorCode, fid_from_halfacet(), moab::Core::get_connectivity(), moab::ID_FROM_HANDLE(), mb, MB_CHK_ERR, MB_SUCCESS, MBEDGE, and v2hv.
Referenced by init_curve(), and moab::NestedRefine::update_ahf_1D().
Given a range of faces, determines the sibling half-edges and stores them into SIBHES_FID, SIBHES_LEID tags.
Compute all sibling half-edges for all half-edges in the given surface. The sibling half-edges is defined in terms of the containing face and the local id of the edge w.r.t that entity. That is, the map consists of two pieces of information: <EntityHandle fid, int leid>
| faces | Range of faces |
Definition at line 889 of file HalfFacetRep.cpp.
References _verts, moab::Range::begin(), create_halffacet(), moab::Range::end(), moab::error(), ErrorCode, fid_from_halfacet(), moab::Core::get_connectivity(), moab::ID_FROM_HANDLE(), moab::index, moab::Range::index(), lConnMap2D, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps2D::next, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, sibhes, moab::Range::size(), and moab::Core::type_from_handle().
Referenced by init_surface().
Given a range of cells, determines the sibling half-faces and stores them into SIBHFS_CID, SIBHFS_LFID tags.
Compute all sibling half-faces for all half-faces in the given volume. The sibling half-faces is defined in terms of the containing cell and the local id of the face w.r.t that cell. That is, the map consists of two pieces of information: <EntityHandle cid, int lfid>
| faces | Range of cells |
Definition at line 1820 of file HalfFacetRep.cpp.
References _verts, moab::Range::begin(), create_halffacet(), moab::Range::end(), moab::error(), ErrorCode, fid_from_halfacet(), moab::Core::get_connectivity(), get_index_in_lmap(), moab::HalfFacetRep::LocalMaps3D::hf2v, moab::HalfFacetRep::LocalMaps3D::hf2v_num, moab::ID_FROM_HANDLE(), moab::index, moab::Range::index(), lConnMap2D, lConnMap3D, mb, MB_CHK_ERR, MB_SET_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps2D::next, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, moab::HalfFacetRep::LocalMaps2D::prev, sibhfs, moab::Range::size(), and moab::Core::type_from_handle().
Referenced by init_volume().
Given a range of edges, determines the map for sibling half-verts and stores them into SIBHVS_EID, SIBHVS_LVID tags.
Compute all sibling half-vertices for all half-vertices in the given curve. The sibling half-verts is defined in terms of the containing edge and the local id of the vertex w.r.t that edge. That is, the map consists of two pieces of information: <EntityHandle eid, int lvid>
| edges | Range of edges. |
Definition at line 689 of file HalfFacetRep.cpp.
References moab::Range::begin(), create_halffacet(), moab::Range::end(), moab::error(), ErrorCode, moab::Core::get_connectivity(), moab::ID_FROM_HANDLE(), moab::index, moab::Range::index(), mb, MB_CHK_ERR, MB_SUCCESS, sibhvs, and moab::Range::size().
Referenced by init_curve(), and moab::NestedRefine::update_ahf_1D().
| EntityHandle moab::HalfFacetRep::fid_from_halfacet | ( | const HFacet | facet, |
| EntityType | type | ||
| ) |
Definition at line 3830 of file HalfFacetRep.cpp.
References moab::error(), ErrorCode, moab::FID_FROM_HALFFACET(), moab::Core::handle_from_id(), mb, and MB_CHK_ERR.
Referenced by add_cells_of_single_component(), determine_border_vertices(), determine_incident_halfverts(), determine_sibling_halfedges(), determine_sibling_halffaces(), find_matching_halfedge(), find_matching_halfface(), find_matching_implicit_edge_in_cell(), get_half_facet_in_comp(), get_incident_map(), get_neighbor_adjacencies_1d(), get_neighbor_adjacencies_3d(), get_sibling_map(), get_up_adjacencies_1d(), get_up_adjacencies_2d(), get_up_adjacencies_edg_3d(), get_up_adjacencies_edg_3d_comp(), get_up_adjacencies_face_3d(), get_up_adjacencies_vert_2d(), get_up_adjacencies_vert_3d(), mark_halfedges(), and print_tags().
|
protected |
Definition at line 2148 of file HalfFacetRep.cpp.
Referenced by determine_incident_halffaces().
|
protected |
Definition at line 3261 of file HalfFacetRep.cpp.
References moab::index.
Referenced by add_cells_of_single_component(), collect_and_compare(), find_matching_halfface(), find_matching_implicit_edge_in_cell(), get_up_adjacencies_2d(), get_up_adjacencies_edg_3d(), get_up_adjacencies_edg_3d_comp(), get_up_adjacencies_vert_2d(), get_up_adjacencies_vert_3d(), and mark_halfedges().
|
protected |
Given an edge, finds a matching half-edge in the surface.
Given an edge eid, it first collects few half-edges belonging to one-ring neighborhood of the starting vertex of the given edge, and then simultaneously searches and adds to the local list of half-edges for searching, till it finds a matching half-edge.
| eid | EntityHandle of the query edge |
| hefid,helid | Returns the matching half-edge corresponding to the query edge. |
Definition at line 1393 of file HalfFacetRep.cpp.
References _faces, moab::Range::begin(), collect_and_compare(), moab::error(), ErrorCode, fid_from_halfacet(), gather_halfedges(), moab::Core::get_connectivity(), moab::ID_FROM_HANDLE(), lid_from_halffacet(), mb, MB_CHK_ERR, MB_SUCCESS, queue_fid, queue_lid, trackfaces, moab::Core::type_from_handle(), and v2he.
Referenced by get_up_adjacencies_2d().
|
protected |
Given a face, finds a matching local face in an incident cell.
Find a local face with the same connectivity as the input face, belonging to an incident cell.
| fid | EntityHandle of the face |
| cid | Returns EntityHandle of the incident cell |
| lfid | Returns the local id of the face corresponding to the input face w.r.t the incident cell. |
Definition at line 2903 of file HalfFacetRep.cpp.
References _cells, moab::Range::begin(), moab::error(), ErrorCode, fid_from_halfacet(), find_match_in_array(), moab::Core::get_connectivity(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap2D, lConnMap3D, mb, MB_CHK_ERR, MB_SET_ERR, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, sibhfs, Stkcells, trackcells, moab::Core::type_from_handle(), moab::HalfFacetRep::LocalMaps3D::v2hf, v2hf, moab::HalfFacetRep::LocalMaps3D::v2hf_num, and v2hfs.
Referenced by get_up_adjacencies_face_3d().
|
protected |
Given an edge, finds a matching local edge in an incident cell.
Find a local edge with the same connectivity as the input edge, belonging to an incident cell.
| eid | EntityHandle of the edge |
| cid | Returns EntityHandle of the incident cell |
| leid | Returns the local id of the edge corresponding to the input edge w.r.t the incident cell. |
Definition at line 2765 of file HalfFacetRep.cpp.
References _cells, moab::Range::begin(), cellq, moab::error(), ErrorCode, fid_from_halfacet(), find_match_in_array(), moab::Core::get_connectivity(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, mb, MB_CHK_ERR, MB_SET_ERR, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, sibhfs, moab::Core::type_from_handle(), moab::HalfFacetRep::LocalMaps3D::v2hf, v2hf, moab::HalfFacetRep::LocalMaps3D::v2hf_num, and v2hfs.
| int moab::HalfFacetRep::find_total_edges_2d | ( | Range & | faces | ) |
Given a range of faces, finds the total number of edges.
Definition at line 1635 of file HalfFacetRep.cpp.
References moab::Range::begin(), moab::Range::end(), moab::error(), ErrorCode, get_up_adjacencies_2d(), moab::Range::index(), lConnMap2D, mb, MB_CHK_ERR, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, moab::Range::size(), and moab::Core::type_from_handle().
Referenced by count_subentities().
| ErrorCode moab::HalfFacetRep::find_total_edges_faces_3d | ( | const Range & | cells, |
| int * | nedges, | ||
| int * | nfaces | ||
| ) |
Definition at line 3199 of file HalfFacetRep.cpp.
References moab::Range::begin(), moab::Range::end(), moab::error(), ErrorCode, get_index_in_lmap(), get_up_adjacencies_edg_3d(), get_up_adjacencies_face_3d(), moab::index, moab::Range::index(), lConnMap3D, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_edges_in_cell, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, and moab::Range::size().
Referenced by count_subentities().
|
protected |
Gather half-edges to a queue of half-edges.
Given a vertex vid, and a half-edge <he_fid,he_lid>, add another half-edge in the same face sharing the vertex
Definition at line 1444 of file HalfFacetRep.cpp.
References another_halfedge(), moab::error(), ErrorCode, get_up_adjacencies_2d(), MB_CHK_ERR, MB_SUCCESS, queue_fid, queue_lid, and trackfaces.
Referenced by find_matching_halfedge(), get_up_adjacencies_vert_2d(), and mark_halfedges().
| ErrorCode moab::HalfFacetRep::get_adjacencies | ( | const EntityHandle | source_entity, |
| const unsigned int | target_dimension, | ||
| std::vector< EntityHandle > & | target_entities | ||
| ) |
Get the adjacencies associated with an entity.
Given an entity of dimension d, gather all the adjacent D dimensional entities where D >, = , < d .
| source_entity | EntityHandle to which adjacent entities have to be found. |
| target_dimension | Int Dimension of the desired adjacent entities. |
| target_entities | Vector in which the adjacent EntityHandle are returned. |
Definition at line 527 of file HalfFacetRep.cpp.
References adjMatrix, moab::Core::dimension_from_handle(), moab::error(), ErrorCode, get_down_adjacencies(), get_index_for_meshtype(), get_neighbor_adjacencies(), get_up_adjacencies(), initialize(), mb, MB_CHK_ERR, MB_SUCCESS, mInitAHFmaps, thismeshtype, and moab::HalfFacetRep::adj_matrix::val.
Referenced by moab::NestedRefine::get_adjacencies().
| ErrorCode moab::HalfFacetRep::get_down_adjacencies | ( | EntityHandle | ent, |
| int | out_dim, | ||
| std::vector< EntityHandle > & | adjents | ||
| ) |
Get the downward adjacent entities connected with an entity.
Given an entity of dimension d, gather all the d-1 dimensional entities.
| ent | EntityHandle to which neighbor entities have to be found. |
| out_dim | Dimension of the desired downward adjacency. |
| adjents | Vector in which the neighbor entities are returned. |
Definition at line 641 of file HalfFacetRep.cpp.
References moab::Core::dimension_from_handle(), moab::error(), ErrorCode, get_down_adjacencies_2d(), get_down_adjacencies_edg_3d(), get_down_adjacencies_face_3d(), mb, MB_CHK_ERR, and MB_SUCCESS.
Referenced by get_adjacencies().
| ErrorCode moab::HalfFacetRep::get_down_adjacencies_2d | ( | EntityHandle | fid, |
| std::vector< EntityHandle > & | adjents | ||
| ) |
Given a face, finds its edges.
Given a face, it first finds incident edges on each vertex of the face, and then it performs a set intersection to gather all the edges of the given face.
| fid | EntityHandle of the query face |
| adjents | Vector returning its edges |
Definition at line 1571 of file HalfFacetRep.cpp.
References moab::error(), ErrorCode, moab::Core::get_connectivity(), get_up_adjacencies_1d(), lConnMap2D, mb, MB_CHK_ERR, MB_SUCCESS, MBTRI, moab::HalfFacetRep::LocalMaps2D::next, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, moab::HalfFacetRep::LocalMaps2D::prev, and moab::Core::type_from_handle().
Referenced by get_down_adjacencies().
| ErrorCode moab::HalfFacetRep::get_down_adjacencies_edg_3d | ( | EntityHandle | cid, |
| std::vector< EntityHandle > & | adjents | ||
| ) |
Given a cell, finds its edges.
Given a cell, it first finds incident edges on each vertex of the cell, and then it performs a set intersection to gather all the edges of the given cell.
| cid | EntityHandle of the query cell |
| adjents | Vector returning its edges |
Definition at line 3068 of file HalfFacetRep.cpp.
References moab::error(), ErrorCode, moab::Core::get_connectivity(), get_index_in_lmap(), get_up_adjacencies_1d(), moab::index, lConnMap3D, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, moab::HalfFacetRep::LocalMaps3D::search_everts, and moab::HalfFacetRep::LocalMaps3D::v2le.
Referenced by get_down_adjacencies().
| ErrorCode moab::HalfFacetRep::get_down_adjacencies_face_3d | ( | EntityHandle | cid, |
| std::vector< EntityHandle > & | adjents | ||
| ) |
Given a cell, finds its faces.
Given a cell, it first finds incident faces on each vertex of the cell, and then performs a set intersection to gather all the faces of the given cell.
| cid | EntityHandle of the query cell |
| adjents | Vector returning its faces |
Definition at line 3116 of file HalfFacetRep.cpp.
References moab::CN::ConnectivityMatch(), moab::error(), ErrorCode, moab::Core::get_connectivity(), get_index_in_lmap(), get_up_adjacencies_vert_2d(), moab::HalfFacetRep::LocalMaps3D::hf2v, moab::HalfFacetRep::LocalMaps3D::hf2v_num, moab::index, lConnMap3D, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, moab::HalfFacetRep::LocalMaps3D::search_fverts, moab::HalfFacetRep::LocalMaps3D::v2hf, and moab::HalfFacetRep::LocalMaps3D::v2hf_num.
Referenced by get_down_adjacencies().
| ErrorCode moab::HalfFacetRep::get_entity_ranges | ( | Range & | verts, |
| Range & | edges, | ||
| Range & | faces, | ||
| Range & | cells | ||
| ) |
Definition at line 3778 of file HalfFacetRep.cpp.
References _cells, _edges, _faces, _verts, and MB_SUCCESS.
Referenced by moab::NestedRefine::initialize().
| ErrorCode moab::HalfFacetRep::get_face_edges | ( | EntityHandle | fid, |
| std::vector< EntityHandle > & | edges | ||
| ) |
Definition at line 1673 of file HalfFacetRep.cpp.
References moab::error(), ErrorCode, moab::Core::get_connectivity(), get_up_adjacencies_1d(), lConnMap2D, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps2D::next, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, and moab::Core::type_from_handle().
| ErrorCode moab::HalfFacetRep::get_half_facet_in_comp | ( | EntityHandle | cid, |
| int | leid, | ||
| std::vector< EntityHandle > & | ents, | ||
| std::vector< int > & | lids, | ||
| std::vector< int > & | lfids | ||
| ) |
Definition at line 3281 of file HalfFacetRep.cpp.
References _cells, moab::Range::begin(), moab::HalfFacetRep::LocalMaps3D::e2hf, moab::HalfFacetRep::LocalMaps3D::e2v, moab::error(), ErrorCode, fid_from_halfacet(), moab::Core::get_connectivity(), get_index_in_lmap(), get_up_adjacencies_edg_3d(), moab::HalfFacetRep::LocalMaps3D::hf2v, moab::HalfFacetRep::LocalMaps3D::hf2v_num, moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, lid_from_halffacet(), moab::HalfFacetRep::LocalMaps3D::lookup_leids, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, sibhfs, and moab::Core::type_from_handle().
| ErrorCode moab::HalfFacetRep::get_incident_map | ( | EntityType | type, |
| EntityHandle | vid, | ||
| std::vector< EntityHandle > & | inci_entid, | ||
| std::vector< int > & | inci_lid | ||
| ) |
Definition at line 3661 of file HalfFacetRep.cpp.
References fid_from_halfacet(), moab::ID_FROM_HANDLE(), lid_from_halffacet(), MB_SUCCESS, MBEDGE, MBQUAD, MBTRI, v2he, v2hes, v2hf, v2hfs, and v2hv.
Referenced by moab::NestedRefine::is_vertex_on_boundary(), moab::NestedRefine::update_global_ahf_1D(), moab::NestedRefine::update_global_ahf_1D_sub(), moab::NestedRefine::update_global_ahf_2D(), moab::NestedRefine::update_global_ahf_2D_sub(), moab::NestedRefine::update_global_ahf_3D(), and moab::NestedRefine::update_local_ahf().
|
protected |
Definition at line 101 of file HalfFacetRep.cpp.
References moab::CURVE, moab::index, moab::SURFACE, moab::SURFACE_MIXED, moab::VOLUME, moab::VOLUME_MIXED, moab::VOLUME_MIXED_1, and moab::VOLUME_MIXED_2.
Referenced by get_adjacencies().
| int moab::HalfFacetRep::get_index_in_lmap | ( | EntityHandle | cid | ) |
Definition at line 1713 of file HalfFacetRep.cpp.
References cell_index, moab::index, mb, and moab::Core::type_from_handle().
Referenced by add_cells_of_single_component(), moab::NestedRefine::construct_hm_1D(), moab::NestedRefine::construct_hm_2D(), moab::NestedRefine::create_hm_storage_single_level(), determine_border_vertices(), determine_incident_halffaces(), determine_sibling_halffaces(), find_matching_halfface(), find_matching_implicit_edge_in_cell(), find_total_edges_faces_3d(), moab::NestedRefine::get_connectivity(), get_down_adjacencies_edg_3d(), get_down_adjacencies_face_3d(), get_half_facet_in_comp(), moab::NestedRefine::get_lid_inci_child(), get_neighbor_adjacencies_3d(), get_sibling_map(), get_up_adjacencies_edg_3d(), get_up_adjacencies_edg_3d_comp(), get_up_adjacencies_face_3d(), get_up_adjacencies_vert_3d(), init_volume(), moab::NestedRefine::is_cell_on_boundary(), moab::NestedRefine::is_edge_on_boundary(), moab::NestedRefine::is_vertex_on_boundary(), print_tags(), moab::NestedRefine::reorder_indices(), resize_hf_maps(), set_sibling_map(), moab::NestedRefine::subdivide_cells(), moab::NestedRefine::subdivide_tets(), moab::NestedRefine::update_global_ahf_3D(), moab::NestedRefine::update_local_ahf(), and moab::NestedRefine::update_tracking_verts().
| void moab::HalfFacetRep::get_memory_use | ( | unsigned long long & | entity_total, |
| unsigned long long & | memory_total | ||
| ) |
Definition at line 3806 of file HalfFacetRep.cpp.
| MESHTYPE moab::HalfFacetRep::get_mesh_type | ( | int | nverts, |
| int | nedges, | ||
| int | nfaces, | ||
| int | ncells | ||
| ) |
Definition at line 56 of file HalfFacetRep.cpp.
References moab::CURVE, moab::SURFACE, moab::SURFACE_MIXED, moab::VOLUME, moab::VOLUME_MIXED, moab::VOLUME_MIXED_1, and moab::VOLUME_MIXED_2.
Referenced by moab::NestedRefine::create_hm_storage_single_level(), and initialize().
| ErrorCode moab::HalfFacetRep::get_neighbor_adjacencies | ( | EntityHandle | ent, |
| std::vector< EntityHandle > & | adjents | ||
| ) |
Get the same-dimensional entities connected with an entity.
Given an entity of dimension d, gather all the entities connected via d-1 dimensional entities. Same as bridge_adjacencies in MOAB.
| ent | EntityHandle to which neighbor entities have to be found. |
| adjents | Vector in which the neighbor entities are returned. |
Definition at line 616 of file HalfFacetRep.cpp.
References moab::Core::dimension_from_handle(), moab::error(), ErrorCode, get_neighbor_adjacencies_1d(), get_neighbor_adjacencies_2d(), get_neighbor_adjacencies_3d(), mb, MB_CHK_ERR, and MB_SUCCESS.
Referenced by get_adjacencies().
| ErrorCode moab::HalfFacetRep::get_neighbor_adjacencies_1d | ( | EntityHandle | eid, |
| std::vector< EntityHandle > & | adjents | ||
| ) |
Given an edge, finds vertex-connected neighbor edges.
Given an edge, it gathers all the incident edges of each vertex of the edge.
| eid | EntityHandle of the query edge |
| adjents | Vector returning neighbor edges |
Definition at line 837 of file HalfFacetRep.cpp.
References fid_from_halfacet(), moab::ID_FROM_HANDLE(), lid_from_halffacet(), MB_SUCCESS, MBEDGE, and sibhvs.
Referenced by get_neighbor_adjacencies().
| ErrorCode moab::HalfFacetRep::get_neighbor_adjacencies_2d | ( | EntityHandle | fid, |
| std::vector< EntityHandle > & | adjents | ||
| ) |
Given an edge, finds edge-connected neighbor face.
Given an face, it gathers all the neighbor faces of each local edge of the face.
| fid | EntityHandle of the query face |
| adjents | Vector returning neighbor faces |
Definition at line 1551 of file HalfFacetRep.cpp.
References moab::error(), ErrorCode, get_up_adjacencies_2d(), lConnMap2D, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, and moab::Core::type_from_handle().
Referenced by get_neighbor_adjacencies().
| ErrorCode moab::HalfFacetRep::get_neighbor_adjacencies_3d | ( | EntityHandle | cid, |
| std::vector< EntityHandle > & | adjents | ||
| ) |
Given a cell, finds face-connected neighbor cells.
Given a cell, it gathers all the neighbor cells of each local face of the cell.
| cid | EntityHandle of the query cell |
| adjents | Vector returning neighbor cells |
Definition at line 3046 of file HalfFacetRep.cpp.
References fid_from_halfacet(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, mb, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, sibhfs, and moab::Core::type_from_handle().
Referenced by get_neighbor_adjacencies().
|
inline |
| ErrorCode moab::HalfFacetRep::get_sibling_map | ( | EntityType | type, |
| EntityHandle | ent, | ||
| EntityHandle * | sib_entids, | ||
| int * | sib_lids, | ||
| int | num_halffacets | ||
| ) |
Definition at line 3503 of file HalfFacetRep.cpp.
References _cells, moab::Range::begin(), fid_from_halfacet(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), lConnMap2D, lConnMap3D, lid_from_halffacet(), MB_SET_ERR, MB_SUCCESS, MBEDGE, MBQUAD, MBTRI, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, sibhes, sibhfs, and sibhvs.
Referenced by moab::NestedRefine::is_cell_on_boundary(), moab::NestedRefine::is_edge_on_boundary(), moab::NestedRefine::is_face_on_boundary(), moab::NestedRefine::is_vertex_on_boundary(), moab::NestedRefine::update_global_ahf_1D(), moab::NestedRefine::update_global_ahf_1D_sub(), moab::NestedRefine::update_global_ahf_2D(), moab::NestedRefine::update_global_ahf_2D_sub(), moab::NestedRefine::update_global_ahf_3D(), and moab::NestedRefine::update_local_ahf().
| ErrorCode moab::HalfFacetRep::get_sibling_map | ( | EntityType | type, |
| EntityHandle | ent, | ||
| int | lid, | ||
| EntityHandle & | sib_entid, | ||
| int & | sib_lid | ||
| ) |
Definition at line 3554 of file HalfFacetRep.cpp.
References _cells, moab::Range::begin(), fid_from_halfacet(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), lConnMap2D, lConnMap3D, lid_from_halffacet(), MB_SUCCESS, MBEDGE, MBQUAD, MBTRI, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, sibhes, sibhfs, and sibhvs.
| ErrorCode moab::HalfFacetRep::get_up_adjacencies | ( | EntityHandle | ent, |
| int | out_dim, | ||
| std::vector< EntityHandle > & | adjents, | ||
| std::vector< int > * | lids = NULL |
||
| ) |
Get the upward incidences associated with an entity.
Given an entity of dimension d, gather all the incident D(>d) dimensional entities. :
| ent | EntityHandle to which incident entities have to be found. |
| out_dim | Dimension of the desired incidence information. |
| adjents | Vector in which the incident entities are returned. |
| local_id | Set to false by default. If true, returns the local id's of the half-facets |
| lids | Vector in which the local id's are returned. |
Definition at line 570 of file HalfFacetRep.cpp.
References moab::Core::dimension_from_handle(), moab::error(), ErrorCode, get_up_adjacencies_1d(), get_up_adjacencies_2d(), get_up_adjacencies_edg_3d(), get_up_adjacencies_face_3d(), get_up_adjacencies_vert_2d(), get_up_adjacencies_vert_3d(), mb, MB_CHK_ERR, and MB_SUCCESS.
Referenced by get_adjacencies(), and moab::HiReconstruction::vertex_get_incident_elements().
| ErrorCode moab::HalfFacetRep::get_up_adjacencies_1d | ( | EntityHandle | vid, |
| std::vector< EntityHandle > & | adjents, | ||
| std::vector< int > * | lvids = NULL |
||
| ) |
Given a vertex, finds the edges incident on it.
Given a vertex handle, it starts by first finding an incident half-vert by using the incident half-vert map, and then obtaining all the sibling half-verts of the corresponding half-vertex.
| vid | EntityHandle of the query vertex |
| adjents | Vector returning the incident edges |
| local_id | False by default. If true, returns the local vertex id's corresponding to vid |
| lvids | Vector returning the local vertex id's |
Definition at line 797 of file HalfFacetRep.cpp.
References fid_from_halfacet(), moab::ID_FROM_HANDLE(), lid_from_halffacet(), MB_SUCCESS, MBEDGE, sibhvs, and v2hv.
Referenced by get_down_adjacencies_2d(), get_down_adjacencies_edg_3d(), get_face_edges(), get_up_adjacencies(), moab::NestedRefine::vertex_to_entities_down(), and moab::NestedRefine::vertex_to_entities_up().
| ErrorCode moab::HalfFacetRep::get_up_adjacencies_2d | ( | EntityHandle | eid, |
| std::vector< EntityHandle > & | adjents, | ||
| std::vector< int > * | leids = NULL |
||
| ) |
Given an edge, finds the faces incident on it.
Given an edge, it first finds a matching half-edge corresponding to eid, and then collects all the incident half-edges/faces via the sibhes map.
| eid | EntityHandle of the query edge |
| adjents | Vector returning the incident faces |
| local_id | By default false. If true, returns the local edge id's corresponding to the input edge |
| leids | Vector returning local edge ids |
Definition at line 1239 of file HalfFacetRep.cpp.
References moab::error(), ErrorCode, find_matching_halfedge(), MB_CHK_ERR, and MB_SUCCESS.
Referenced by collect_and_compare(), moab::NestedRefine::construct_hm_1D(), moab::NestedRefine::construct_hm_2D(), find_total_edges_2d(), gather_halfedges(), get_neighbor_adjacencies_2d(), get_up_adjacencies(), get_up_adjacencies_vert_2d(), moab::NestedRefine::is_edge_on_boundary(), and mark_halfedges().
| ErrorCode moab::HalfFacetRep::get_up_adjacencies_2d | ( | EntityHandle | fid, |
| int | leid, | ||
| bool | add_inent, | ||
| std::vector< EntityHandle > & | adj_ents, | ||
| std::vector< int > * | adj_leids = NULL, |
||
| std::vector< int > * | adj_orients = NULL |
||
| ) |
Given a half-edge <fid, leid>, finds the faces incident on it.
| fid | EntityHandle of the containing face |
| leid | local id of the edge w.r.t to the face |
| add_inent | If true, adds the input fid into the returning vector of adjents. |
| adjents | Vector returning the incident faces |
| local_id | By default false. If true, returns the local edge id's as well. |
| leids | Vector returning local edge ids |
Definition at line 1264 of file HalfFacetRep.cpp.
References moab::error(), ErrorCode, fid_from_halfacet(), moab::Core::get_connectivity(), moab::ID_FROM_HANDLE(), lConnMap2D, lid_from_halffacet(), mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps2D::next, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, sibhes, and moab::Core::type_from_handle().
|
protected |
Contains the local information for 2D entities.
Given a face, find the face type specific information
| face | EntityHandle. Used to gather info about the type of face for which local info is required |
| nepf | Returns the number of vertices/edges for given face type. Contains the local information for 2D entities Given number of edges, returns local indices of next and previous local edges. |
| nepf | The number of vertices/edges for given face type. |
| next,prev | Local ids of next and previous edges w.r.t to the face |
Note: For 2D entities, the number of vertices and edges are same and each local edge is outgoing corresponding to the local vertex, i.e,
v2 v3 __e2__v2 /\ | |
e2 / \ e1 e3| |e1 /____\ |______| v0 e0 v1 v0 e0 v1 Given a half-edge as <he_fid,he_lid> , finds the half-edges incident on it and adds them Given an half-edge, obtain all the incident half-edges via the sibhes map and add them to a given queue of half-edges, if they do not already exist in the queue. This function is used to increment the search space for finding a matching half-edge.
| he_fid | EntityHandle of query half-edge |
| he_lid | Local id of query half-edge |
Definition at line 1349 of file HalfFacetRep.cpp.
References fid_from_halfacet(), find_match_in_array(), moab::ID_FROM_HANDLE(), moab::index, lConnMap2D, lid_from_halffacet(), mb, MB_SUCCESS, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, queue_fid, queue_lid, sibhes, trackfaces, and moab::Core::type_from_handle().
| ErrorCode moab::HalfFacetRep::get_up_adjacencies_edg_3d | ( | EntityHandle | cid, |
| int | leid, | ||
| std::vector< EntityHandle > & | adjents, | ||
| std::vector< int > * | leids = NULL, |
||
| std::vector< int > * | adj_orients = NULL |
||
| ) |
Given a local edge <cid, leid>, finds the cells incident on it.
Given a local edge, it gathers all the incident cells via the sibhfs map.
| cid | EntityHandle of the cell containing the local edge |
| leid | local edge id w.r.t the cell |
| adjents | Vector returning the incident cells |
| local_id | By default false. If true, returns the local edge id's corresponding to the input edge |
| leids | Vector returning local edge ids |
Definition at line 2404 of file HalfFacetRep.cpp.
References cellq, moab::HalfFacetRep::LocalMaps3D::e2v, moab::error(), ErrorCode, fid_from_halfacet(), find_match_in_array(), moab::Core::get_connectivity(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, moab::HalfFacetRep::LocalMaps3D::lookup_leids, mb, MB_CHK_ERR, MB_SET_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, sibhfs, moab::Core::type_from_handle(), moab::HalfFacetRep::LocalMaps3D::v2hf, v2hf, moab::HalfFacetRep::LocalMaps3D::v2hf_num, and v2hfs.
| ErrorCode moab::HalfFacetRep::get_up_adjacencies_edg_3d | ( | EntityHandle | eid, |
| std::vector< EntityHandle > & | adjents, | ||
| std::vector< int > * | leids = NULL |
||
| ) |
Given an edge, finds the cells incident on it.
Given an edge, it first finds a matching local edge in a cell corresponding to eid, and then collects all the incident cells via the sibhfs map.
| eid | EntityHandle of the query edge |
| adjents | Vector returning the incident cells |
| local_id | By default false. If true, returns the local edge id's corresponding to the input edge |
| leids | Vector returning local edge ids |
Definition at line 2269 of file HalfFacetRep.cpp.
References _cells, moab::Range::begin(), cellq, moab::error(), ErrorCode, fid_from_halfacet(), find_match_in_array(), moab::Core::get_connectivity(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, mb, MB_CHK_ERR, MB_SET_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, sibhfs, moab::Core::type_from_handle(), moab::HalfFacetRep::LocalMaps3D::v2hf, v2hf, moab::HalfFacetRep::LocalMaps3D::v2hf_num, and v2hfs.
Referenced by moab::NestedRefine::construct_hm_1D(), find_total_edges_faces_3d(), get_half_facet_in_comp(), get_up_adjacencies(), moab::NestedRefine::is_edge_on_boundary(), and moab::NestedRefine::update_tracking_verts().
| ErrorCode moab::HalfFacetRep::get_up_adjacencies_edg_3d_comp | ( | EntityHandle | cid, |
| int | leid, | ||
| std::vector< EntityHandle > & | adjents, | ||
| std::vector< int > * | leids = NULL, |
||
| std::vector< int > * | adj_orients = NULL |
||
| ) |
Definition at line 2563 of file HalfFacetRep.cpp.
References cellq, moab::HalfFacetRep::LocalMaps3D::e2v, moab::error(), ErrorCode, fid_from_halfacet(), find_match_in_array(), moab::Core::get_connectivity(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, moab::HalfFacetRep::LocalMaps3D::lookup_leids, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, sibhfs, moab::Core::type_from_handle(), moab::HalfFacetRep::LocalMaps3D::v2hf, v2hf, moab::HalfFacetRep::LocalMaps3D::v2hf_num, and v2hfs.
Referenced by moab::NestedRefine::update_global_ahf_3D().
| ErrorCode moab::HalfFacetRep::get_up_adjacencies_face_3d | ( | EntityHandle | cid, |
| int | lfid, | ||
| std::vector< EntityHandle > & | adjents, | ||
| std::vector< int > * | lfids = NULL |
||
| ) |
Given a local face <cid, lfid>, finds the cells incident on it.
Given a local face, it gathers all the incident cells via the sibhfs map.
| cid | EntityHandle of the cell containing the local edge |
| lfid | local face id w.r.t the cell |
| adjents | Vector returning the incident cells |
| local_id | By default false. If true, returns the local face id's corresponding to the input face |
| lfids | Vector returning local face ids |
Definition at line 2731 of file HalfFacetRep.cpp.
References _cells, moab::Range::begin(), fid_from_halfacet(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, lid_from_halffacet(), mb, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, sibhfs, and moab::Core::type_from_handle().
| ErrorCode moab::HalfFacetRep::get_up_adjacencies_face_3d | ( | EntityHandle | fid, |
| std::vector< EntityHandle > & | adjents, | ||
| std::vector< int > * | lfids = NULL |
||
| ) |
Given an face, finds the cells incident on it.
Given an face, it first finds a matching half-face in a cell corresponding to face, and then collects all the incident cells via the sibhfs map.
| fid | EntityHandle of the query face |
| adjents | Vector returning the incident cells |
| local_id | By default false. If true, returns the local face id's corresponding to the input face |
| leids | Vector returning local face ids |
Definition at line 2712 of file HalfFacetRep.cpp.
References moab::error(), ErrorCode, find_matching_halfface(), MB_CHK_ERR, and MB_SUCCESS.
Referenced by moab::NestedRefine::construct_hm_2D(), find_total_edges_faces_3d(), get_up_adjacencies(), moab::NestedRefine::is_face_on_boundary(), and moab::NestedRefine::update_tracking_verts().
| ErrorCode moab::HalfFacetRep::get_up_adjacencies_vert_2d | ( | EntityHandle | vid, |
| std::vector< EntityHandle > & | adjents | ||
| ) |
Given a vertex, finds the faces incident on it.
Given a vertex, it first finds an incident half-edge via v2he map, and then collects all the incident half-edges/faces via the sibhes map.
| vid | EntityHandle of the query vertex |
| adjents | Vector returning the incident faces |
Definition at line 1158 of file HalfFacetRep.cpp.
References _faces, another_halfedge(), moab::Range::begin(), moab::error(), ErrorCode, fid_from_halfacet(), find_match_in_array(), gather_halfedges(), get_up_adjacencies_2d(), moab::ID_FROM_HANDLE(), lid_from_halffacet(), mb, MB_CHK_ERR, MB_SUCCESS, queue_fid, queue_lid, trackfaces, moab::Core::type_from_handle(), v2he, and v2hes.
Referenced by get_down_adjacencies_face_3d(), get_up_adjacencies(), moab::NestedRefine::vertex_to_entities_down(), and moab::NestedRefine::vertex_to_entities_up().
| ErrorCode moab::HalfFacetRep::get_up_adjacencies_vert_3d | ( | EntityHandle | vid, |
| std::vector< EntityHandle > & | adjents | ||
| ) |
Given a vertex, finds the cells incident on it.
Given a vertex, it first finds an incident half-face via v2hf map, and then collects all the incident half-faces via the sibhfs map.
| vid | EntityHandle of the query vertex |
| adjents | Vector returning the incident cells |
Definition at line 2175 of file HalfFacetRep.cpp.
References _cells, moab::Range::begin(), cellq, moab::error(), ErrorCode, fid_from_halfacet(), find_match_in_array(), moab::Core::get_connectivity(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, mb, MB_CHK_ERR, MB_SET_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps3D::num_verts_in_cell, sibhfs, moab::Core::type_from_handle(), moab::HalfFacetRep::LocalMaps3D::v2hf, v2hf, moab::HalfFacetRep::LocalMaps3D::v2hf_num, and v2hfs.
Referenced by get_up_adjacencies(), moab::NestedRefine::vertex_to_entities_down(), and moab::NestedRefine::vertex_to_entities_up().
|
protected |
Definition at line 310 of file HalfFacetRep.cpp.
References _edges, _verts, determine_incident_halfverts(), determine_sibling_halfverts(), moab::Range::end(), moab::error(), ErrorCode, moab::ID_FROM_HANDLE(), MB_CHK_ERR, MB_SUCCESS, sibhvs, and v2hv.
Referenced by initialize().
|
protected |
Definition at line 328 of file HalfFacetRep.cpp.
References _faces, _verts, moab::Range::begin(), determine_incident_halfedges(), determine_sibling_halfedges(), moab::Range::end(), moab::error(), ErrorCode, moab::ID_FROM_HANDLE(), lConnMap2D, moab::MAXSIZE, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, queue_fid, queue_lid, sibhes, trackfaces, moab::Core::type_from_handle(), and v2he.
Referenced by initialize().
|
protected |
Definition at line 357 of file HalfFacetRep.cpp.
References _cells, _verts, moab::Range::begin(), cell_index, cellq, determine_incident_halffaces(), determine_sibling_halffaces(), moab::Range::end(), moab::error(), ErrorCode, get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap3D, moab::MAXSIZE, MB_CHK_ERR, MB_SUCCESS, MBHEX, MBPRISM, MBPYRAMID, MBTET, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, sibhfs, Stkcells, trackcells, and v2hf.
Referenced by initialize().
| ErrorCode moab::HalfFacetRep::initialize | ( | ) |
Constructs the sibling-half-facet and vertex-to-incident-half-facet maps for each dimension present in the input. This routine should be called before any calls for adjacency is made.
Definition at line 194 of file HalfFacetRep.cpp.
References _cells, _edges, _faces, _filterghost, _rset, _verts, moab::CURVE, moab::error(), ErrorCode, moab::ParallelComm::filter_pstatus(), moab::Core::get_entities_by_dimension(), get_mesh_type(), init_curve(), init_surface(), init_volume(), mb, MB_CHK_ERR, MB_SUCCESS, mInitAHFmaps, pcomm, PSTATUS_GHOST, PSTATUS_NOT, moab::Range::size(), moab::SURFACE, moab::SURFACE_MIXED, thismeshtype, moab::VOLUME, moab::VOLUME_MIXED, moab::VOLUME_MIXED_1, and moab::VOLUME_MIXED_2.
Referenced by get_adjacencies(), moab::NestedRefine::initialize(), and moab::HiReconstruction::initialize().
| int moab::HalfFacetRep::lid_from_halffacet | ( | const HFacet | facet | ) |
Definition at line 3841 of file HalfFacetRep.cpp.
References moab::LID_FROM_HALFFACET().
Referenced by find_matching_halfedge(), get_half_facet_in_comp(), get_incident_map(), get_neighbor_adjacencies_1d(), get_sibling_map(), get_up_adjacencies_1d(), get_up_adjacencies_2d(), get_up_adjacencies_face_3d(), get_up_adjacencies_vert_2d(), and print_tags().
|
protected |
Definition at line 1084 of file HalfFacetRep.cpp.
References another_halfedge(), create_halffacet(), moab::error(), ErrorCode, fid_from_halfacet(), find_match_in_array(), gather_halfedges(), moab::Core::get_connectivity(), get_up_adjacencies_2d(), moab::ID_FROM_HANDLE(), moab::Range::index(), lConnMap2D, mb, MB_CHK_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, queue_fid, queue_lid, sibhes, trackfaces, and moab::Core::type_from_handle().
Referenced by determine_incident_halfedges().
| ErrorCode moab::HalfFacetRep::print_tags | ( | int | dim | ) |
Prints the tag values.
Definition at line 394 of file HalfFacetRep.cpp.
References _cells, _edges, _faces, _verts, moab::Range::begin(), moab::Range::end(), fid_from_halfacet(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap2D, lConnMap3D, lid_from_halffacet(), mb, MB_SUCCESS, MBEDGE, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, sibhes, sibhfs, sibhvs, moab::Core::type_from_handle(), v2he, v2hf, v2hfs, and v2hv.
| ErrorCode moab::HalfFacetRep::resize_hf_maps | ( | EntityHandle | start_vert, |
| int | nverts, | ||
| EntityHandle | start_edge, | ||
| int | nedges, | ||
| EntityHandle | start_face, | ||
| int | nfaces, | ||
| EntityHandle | start_cell, | ||
| int | ncells | ||
| ) |
Definition at line 3402 of file HalfFacetRep.cpp.
References _cells, _edges, _faces, _verts, moab::Range::begin(), moab::Range::end(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), moab::index, lConnMap2D, lConnMap3D, mb, MB_SET_ERR, MB_SUCCESS, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, sibhes, sibhfs, sibhvs, moab::Core::type_from_handle(), v2he, v2hf, and v2hv.
Referenced by moab::NestedRefine::create_hm_storage_single_level().
| ErrorCode moab::HalfFacetRep::set_incident_map | ( | EntityType | type, |
| EntityHandle | vid, | ||
| std::vector< EntityHandle > & | set_entid, | ||
| std::vector< int > & | set_lid | ||
| ) |
Definition at line 3733 of file HalfFacetRep.cpp.
References create_halffacet(), moab::ID_FROM_HANDLE(), MB_SUCCESS, MBEDGE, MBQUAD, MBTRI, v2he, v2hes, v2hf, v2hfs, and v2hv.
Referenced by moab::NestedRefine::update_global_ahf_1D(), moab::NestedRefine::update_global_ahf_1D_sub(), moab::NestedRefine::update_global_ahf_2D(), moab::NestedRefine::update_global_ahf_2D_sub(), moab::NestedRefine::update_global_ahf_3D(), and moab::NestedRefine::update_local_ahf().
| ErrorCode moab::HalfFacetRep::set_sibling_map | ( | EntityType | type, |
| EntityHandle | ent, | ||
| EntityHandle * | set_entids, | ||
| int * | set_lids, | ||
| int | num_halffacets | ||
| ) |
Definition at line 3588 of file HalfFacetRep.cpp.
References _cells, moab::Range::begin(), create_halffacet(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), lConnMap2D, lConnMap3D, MB_SET_ERR, MB_SUCCESS, MBEDGE, MBQUAD, MBTRI, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, sibhes, sibhfs, and sibhvs.
Referenced by moab::NestedRefine::update_global_ahf_1D(), moab::NestedRefine::update_global_ahf_1D_sub(), moab::NestedRefine::update_global_ahf_2D(), moab::NestedRefine::update_global_ahf_2D_sub(), moab::NestedRefine::update_global_ahf_3D(), and moab::NestedRefine::update_local_ahf().
| ErrorCode moab::HalfFacetRep::set_sibling_map | ( | EntityType | type, |
| EntityHandle | ent, | ||
| int | lid, | ||
| EntityHandle & | set_entid, | ||
| int & | set_lid | ||
| ) |
Definition at line 3632 of file HalfFacetRep.cpp.
References _cells, moab::Range::begin(), create_halffacet(), get_index_in_lmap(), moab::ID_FROM_HANDLE(), lConnMap2D, lConnMap3D, MB_SUCCESS, MBEDGE, MBQUAD, MBTRI, moab::HalfFacetRep::LocalMaps3D::num_faces_in_cell, moab::HalfFacetRep::LocalMaps2D::num_verts_in_face, sibhes, sibhfs, and sibhvs.
| ErrorCode moab::HalfFacetRep::update_entity_ranges | ( | EntityHandle | fileset | ) |
Definition at line 3787 of file HalfFacetRep.cpp.
References _cells, _edges, _faces, _verts, moab::error(), ErrorCode, moab::Core::get_entities_by_dimension(), mb, MB_CHK_ERR, and MB_SUCCESS.
Referenced by moab::NestedRefine::create_hm_storage_single_level().
|
protected |
Definition at line 558 of file HalfFacetRep.hpp.
Referenced by find_matching_halfface(), find_matching_implicit_edge_in_cell(), get_entity_ranges(), get_half_facet_in_comp(), get_sibling_map(), get_up_adjacencies_edg_3d(), get_up_adjacencies_face_3d(), get_up_adjacencies_vert_3d(), init_volume(), initialize(), print_tags(), resize_hf_maps(), set_sibling_map(), and update_entity_ranges().
|
protected |
Definition at line 558 of file HalfFacetRep.hpp.
Referenced by get_entity_ranges(), init_curve(), initialize(), print_tags(), resize_hf_maps(), and update_entity_ranges().
|
protected |
Definition at line 558 of file HalfFacetRep.hpp.
Referenced by collect_and_compare(), find_matching_halfedge(), get_entity_ranges(), get_up_adjacencies_vert_2d(), init_surface(), initialize(), print_tags(), resize_hf_maps(), and update_entity_ranges().
|
protected |
Definition at line 555 of file HalfFacetRep.hpp.
Referenced by initialize().
|
protected |
Definition at line 554 of file HalfFacetRep.hpp.
Referenced by check_mixed_entity_type(), get_rset(), and initialize().
|
protected |
Definition at line 558 of file HalfFacetRep.hpp.
Referenced by determine_sibling_halfedges(), determine_sibling_halffaces(), get_entity_ranges(), init_curve(), init_surface(), init_volume(), initialize(), print_tags(), resize_hf_maps(), and update_entity_ranges().
|
staticprotected |
Definition at line 578 of file HalfFacetRep.hpp.
Referenced by get_adjacencies().
| std::map< EntityType, int > moab::HalfFacetRep::cell_index |
Definition at line 538 of file HalfFacetRep.hpp.
Referenced by get_index_in_lmap(), and init_volume().
|
protected |
Definition at line 569 of file HalfFacetRep.hpp.
Referenced by find_matching_implicit_edge_in_cell(), get_up_adjacencies_edg_3d(), get_up_adjacencies_edg_3d_comp(), get_up_adjacencies_vert_3d(), and init_volume().
|
protected |
Definition at line 583 of file HalfFacetRep.hpp.
Referenced by check_mixed_entity_type(), and HalfFacetRep().
|
protected |
Definition at line 582 of file HalfFacetRep.hpp.
Referenced by check_mixed_entity_type(), and HalfFacetRep().
|
static |
Definition at line 503 of file HalfFacetRep.hpp.
Referenced by another_halfedge(), collect_and_compare(), moab::NestedRefine::construct_hm_1D(), moab::NestedRefine::construct_hm_2D(), moab::NestedRefine::create_hm_storage_single_level(), determine_incident_halfedges(), determine_sibling_halfedges(), determine_sibling_halffaces(), find_matching_halfface(), find_total_edges_2d(), moab::NestedRefine::get_connectivity(), get_down_adjacencies_2d(), get_face_edges(), get_neighbor_adjacencies_2d(), get_sibling_map(), get_up_adjacencies_2d(), init_surface(), moab::NestedRefine::is_face_on_boundary(), moab::NestedRefine::is_vertex_on_boundary(), mark_halfedges(), print_tags(), resize_hf_maps(), set_sibling_map(), moab::NestedRefine::update_global_ahf_2D(), moab::NestedRefine::update_global_ahf_2D_sub(), and moab::NestedRefine::update_local_ahf().
|
static |
Definition at line 535 of file HalfFacetRep.hpp.
Referenced by add_cells_of_single_component(), moab::NestedRefine::construct_hm_1D(), moab::NestedRefine::construct_hm_2D(), moab::NestedRefine::create_hm_storage_single_level(), determine_border_vertices(), determine_incident_halffaces(), determine_sibling_halffaces(), find_matching_halfface(), find_matching_implicit_edge_in_cell(), find_total_edges_faces_3d(), moab::NestedRefine::get_connectivity(), get_down_adjacencies_edg_3d(), get_down_adjacencies_face_3d(), get_half_facet_in_comp(), moab::NestedRefine::get_lid_inci_child(), get_neighbor_adjacencies_3d(), get_sibling_map(), get_up_adjacencies_edg_3d(), get_up_adjacencies_edg_3d_comp(), get_up_adjacencies_face_3d(), get_up_adjacencies_vert_3d(), init_volume(), moab::NestedRefine::is_cell_on_boundary(), moab::NestedRefine::is_edge_on_boundary(), moab::NestedRefine::is_vertex_on_boundary(), print_tags(), moab::NestedRefine::reorder_indices(), resize_hf_maps(), set_sibling_map(), moab::NestedRefine::subdivide_cells(), moab::NestedRefine::subdivide_tets(), moab::NestedRefine::update_global_ahf_3D(), moab::NestedRefine::update_local_ahf(), and moab::NestedRefine::update_tracking_verts().
|
protected |
Definition at line 552 of file HalfFacetRep.hpp.
Referenced by add_cells_of_single_component(), another_halfedge(), check_mixed_entity_type(), collect_and_compare(), determine_border_vertices(), determine_incident_halfedges(), determine_incident_halffaces(), determine_incident_halfverts(), determine_sibling_halfedges(), determine_sibling_halffaces(), determine_sibling_halfverts(), fid_from_halfacet(), find_matching_halfedge(), find_matching_halfface(), find_matching_implicit_edge_in_cell(), find_total_edges_2d(), get_adjacencies(), get_down_adjacencies(), get_down_adjacencies_2d(), get_down_adjacencies_edg_3d(), get_down_adjacencies_face_3d(), get_face_edges(), get_half_facet_in_comp(), get_index_in_lmap(), get_neighbor_adjacencies(), get_neighbor_adjacencies_2d(), get_neighbor_adjacencies_3d(), get_up_adjacencies(), get_up_adjacencies_2d(), get_up_adjacencies_edg_3d(), get_up_adjacencies_edg_3d_comp(), get_up_adjacencies_face_3d(), get_up_adjacencies_vert_2d(), get_up_adjacencies_vert_3d(), init_surface(), initialize(), mark_halfedges(), print_tags(), resize_hf_maps(), and update_entity_ranges().
|
protected |
Definition at line 556 of file HalfFacetRep.hpp.
Referenced by get_adjacencies(), HalfFacetRep(), and initialize().
|
protected |
Definition at line 553 of file HalfFacetRep.hpp.
Referenced by initialize().
|
protected |
Definition at line 569 of file HalfFacetRep.hpp.
Referenced by collect_and_compare(), find_matching_halfedge(), gather_halfedges(), get_up_adjacencies_2d(), get_up_adjacencies_vert_2d(), init_surface(), and mark_halfedges().
|
protected |
Definition at line 571 of file HalfFacetRep.hpp.
Referenced by collect_and_compare(), find_matching_halfedge(), gather_halfedges(), get_up_adjacencies_2d(), get_up_adjacencies_vert_2d(), init_surface(), and mark_halfedges().
|
protected |
Definition at line 562 of file HalfFacetRep.hpp.
Referenced by determine_sibling_halfedges(), get_memory_use(), get_sibling_map(), get_up_adjacencies_2d(), init_surface(), mark_halfedges(), print_tags(), resize_hf_maps(), and set_sibling_map().
|
protected |
Definition at line 563 of file HalfFacetRep.hpp.
Referenced by add_cells_of_single_component(), determine_border_vertices(), determine_sibling_halffaces(), find_matching_halfface(), find_matching_implicit_edge_in_cell(), get_half_facet_in_comp(), get_memory_use(), get_neighbor_adjacencies_3d(), get_sibling_map(), get_up_adjacencies_edg_3d(), get_up_adjacencies_edg_3d_comp(), get_up_adjacencies_face_3d(), get_up_adjacencies_vert_3d(), init_volume(), print_tags(), resize_hf_maps(), and set_sibling_map().
|
protected |
Definition at line 561 of file HalfFacetRep.hpp.
Referenced by determine_sibling_halfverts(), get_memory_use(), get_neighbor_adjacencies_1d(), get_sibling_map(), get_up_adjacencies_1d(), init_curve(), print_tags(), resize_hf_maps(), and set_sibling_map().
|
protected |
Definition at line 569 of file HalfFacetRep.hpp.
Referenced by add_cells_of_single_component(), find_matching_halfface(), and init_volume().
| MESHTYPE moab::HalfFacetRep::thismeshtype |
Definition at line 536 of file HalfFacetRep.hpp.
Referenced by moab::NestedRefine::construct_hm_entities(), moab::NestedRefine::create_hm_storage_single_level(), get_adjacencies(), and initialize().
|
protected |
Definition at line 570 of file HalfFacetRep.hpp.
Referenced by add_cells_of_single_component(), find_matching_halfface(), and init_volume().
|
protected |
Definition at line 570 of file HalfFacetRep.hpp.
Referenced by collect_and_compare(), find_matching_halfedge(), gather_halfedges(), get_up_adjacencies_2d(), get_up_adjacencies_vert_2d(), init_surface(), and mark_halfedges().
|
protected |
Definition at line 562 of file HalfFacetRep.hpp.
Referenced by check_nonmanifold_vertices(), determine_incident_halfedges(), find_matching_halfedge(), get_incident_map(), get_memory_use(), get_up_adjacencies_vert_2d(), init_surface(), print_tags(), resize_hf_maps(), and set_incident_map().
|
protected |
Definition at line 566 of file HalfFacetRep.hpp.
Referenced by check_nonmanifold_vertices(), determine_incident_halfedges(), get_incident_map(), get_up_adjacencies_vert_2d(), and set_incident_map().
|
protected |
Definition at line 563 of file HalfFacetRep.hpp.
Referenced by check_nonmanifold_vertices(), determine_incident_halffaces(), find_matching_halfface(), find_matching_implicit_edge_in_cell(), get_incident_map(), get_memory_use(), get_up_adjacencies_edg_3d(), get_up_adjacencies_edg_3d_comp(), get_up_adjacencies_vert_3d(), init_volume(), print_tags(), resize_hf_maps(), and set_incident_map().
|
protected |
Definition at line 566 of file HalfFacetRep.hpp.
Referenced by check_nonmanifold_vertices(), determine_incident_halffaces(), find_matching_halfface(), find_matching_implicit_edge_in_cell(), get_incident_map(), get_up_adjacencies_edg_3d(), get_up_adjacencies_edg_3d_comp(), get_up_adjacencies_vert_3d(), print_tags(), and set_incident_map().
|
protected |
Definition at line 561 of file HalfFacetRep.hpp.
Referenced by determine_incident_halfverts(), get_incident_map(), get_memory_use(), get_up_adjacencies_1d(), init_curve(), print_tags(), resize_hf_maps(), and set_incident_map().