Constructs the dual connectivity for the whole pane (including ghost nodes and elements), which contains information about incident elements for each node. More...
#include <Dual_connectivity.h>
Public Member Functions | |
Pane_dual_connectivity (const COM::Pane *p, bool with_ghost=true) | |
Constructs the dual connectivity for a given pane. More... | |
void | incident_elements (int node_id, std::vector< int > &elists) |
Obtain the IDs of the elements incident on a given node. More... | |
Protected Member Functions | |
void | construct_connectivity_str_2 () |
Construct dual connectivity for 2-D structured meshes. More... | |
void | construct_connectivity_unstr () |
Construct dual connectivity for unstructured meshes. More... | |
Private Attributes | |
const COM::Pane & | _pane |
bool | _with_ghost |
std::vector< int > | _offsets |
std::vector< int > | _eids |
Constructs the dual connectivity for the whole pane (including ghost nodes and elements), which contains information about incident elements for each node.
Definition at line 36 of file Dual_connectivity.h.
|
explicit |
Constructs the dual connectivity for a given pane.
Definition at line 31 of file Dual_connectivity.C.
References construct_connectivity_str_2(), and construct_connectivity_unstr().
|
protected |
Construct dual connectivity for 2-D structured meshes.
Definition at line 50 of file Dual_connectivity.C.
References _eids, _offsets, _pane, _with_ghost, COM_assertion_msg, i, k, n, Element_node_enumerator_str_2::next(), ni, and nj.
Referenced by Pane_dual_connectivity().
|
protected |
Construct dual connectivity for unstructured meshes.
Definition at line 90 of file Dual_connectivity.C.
References _eids, _offsets, _pane, _with_ghost, i, k, Element_node_enumerator_uns::next(), and Element_node_enumerator_uns::size_of_nodes().
Referenced by Pane_dual_connectivity().
void incident_elements | ( | int | node_id, |
std::vector< int > & | elists | ||
) |
Obtain the IDs of the elements incident on a given node.
Definition at line 43 of file Dual_connectivity.C.
References _eids, _offsets, and COM_assertion.
Referenced by Simple_manifold_2::determine_opposite_halfedges().
|
private |
Definition at line 54 of file Dual_connectivity.h.
Referenced by construct_connectivity_str_2(), construct_connectivity_unstr(), and incident_elements().
|
private |
Definition at line 53 of file Dual_connectivity.h.
Referenced by construct_connectivity_str_2(), construct_connectivity_unstr(), and incident_elements().
|
private |
Definition at line 51 of file Dual_connectivity.h.
Referenced by construct_connectivity_str_2(), and construct_connectivity_unstr().
|
private |
Definition at line 52 of file Dual_connectivity.h.
Referenced by construct_connectivity_str_2(), and construct_connectivity_unstr().