#include <Pane_boundary.h>
Public Types | |
typedef int | Node_ID |
typedef int | Element_ID |
typedef std::pair< Node_ID, Node_ID > | Node_pair |
Public Member Functions | |
Pane_boundary (const COM::Pane *p) | |
Constructors. More... | |
Pane_boundary (const Simple_manifold_2 *pm) | |
Constructors. More... | |
void | determine_border_nodes (std::vector< bool > &is_border, std::vector< bool > &is_isolated, std::vector< Facet_ID > *b=NULL, int ghost_level=0) throw (int) |
Determine the border nodes (excluding isolated nodes) More... | |
double | min_squared_edge_len (const std::vector< Facet_ID > &) throw (int) |
Compute the minimum squared edge length of given edges. More... | |
Static Public Member Functions | |
static void | determine_borders (const COM::Attribute *mesh, COM::Attribute *isborder, int ghost_level=0) |
Determine the nodes at pane boundaries of a given mesh. More... | |
Protected Member Functions | |
void | determine_border_nodes_3 (std::vector< bool > &is_border, std::vector< Facet_ID > *b, int ghost_level) throw (int) |
Determine the border nodes for a 3-D mesh. More... | |
void | determine_isolated_nodes (std::vector< bool > &is_isolated, int ghost_level) throw (int) |
Determine the isolated nodes (i.e. not belonging to any element) More... | |
Private Attributes | |
const COM::Pane & | _pane |
const Simple_manifold_2 *const | _pm |
Definition at line 42 of file Pane_boundary.h.
typedef int Element_ID |
Definition at line 45 of file Pane_boundary.h.
typedef int Node_ID |
Definition at line 44 of file Pane_boundary.h.
Definition at line 46 of file Pane_boundary.h.
|
inline |
|
inline |
Constructors.
Definition at line 52 of file Pane_boundary.h.
MAP_BEGIN_NAMESPACE void determine_border_nodes | ( | std::vector< bool > & | is_border, |
std::vector< bool > & | is_isolated, | ||
std::vector< Facet_ID > * | b = NULL , |
||
int | ghost_level = 0 |
||
) | |||
throw | ( | int | |
) |
Determine the border nodes (excluding isolated nodes)
Definition at line 37 of file Pane_boundary.C.
Referenced by determine_borders(), and Pane_connectivity::get_local_boundary_nodes().
|
protected |
Determine the border nodes for a 3-D mesh.
A ghost level of 0 returns all real border nodes A ghost level of 1,2,3 returns the border nodes for the 1st, 2nd, 3rd... ghost layer (structured meshes) A ghost level > 0 returns the border ghost nodes (unstructured meshes)
Definition at line 106 of file Pane_boundary.C.
References check_face_unique(), COM_assertion_msg, Facet_ID::eid(), Facet_node_enumerator::get_nodes(), i, j, k, Facet_ID::lid(), n, Element_node_enumerator::next(), ni, nj, nk, num_elmts, num_nodes, s, Facet_node_enumerator::size_of_edges(), and Element_node_enumerator::size_of_faces().
|
static |
Determine the nodes at pane boundaries of a given mesh.
The argument isborder must be a nodal attribute of integer type. At return, isborder is set to 1 for border nodes, and 0 for others
Definition at line 286 of file Pane_boundary.C.
References COM_assertion_msg, COM_compatible_types(), COM_INT, determine_border_nodes(), i, j, n, and nj.
Referenced by Rocmap::pane_border_nodes().
|
protected |
Determine the isolated nodes (i.e. not belonging to any element)
Definition at line 217 of file Pane_boundary.C.
References i, j, Element_node_enumerator_uns::next(), and Element_node_enumerator_uns::size_of_nodes().
double min_squared_edge_len | ( | const std::vector< Facet_ID > & | be | ) | |
throw | ( | int | |||
) |
Compute the minimum squared edge length of given edges.
Definition at line 246 of file Pane_boundary.C.
References COM_NC, d, i, j, min(), Facet_node_enumerator::size_of_corners(), and square().
Referenced by Pane_connectivity::get_local_boundary_nodes().
|
private |
Definition at line 87 of file Pane_boundary.h.
|
private |
Definition at line 88 of file Pane_boundary.h.