20 MeshNodes(
const Mesh &mesh,
const bool has_poly,
const bool connect_nodes,
const int max_nodes_per_edge,
const int max_nodes_per_face,
const int max_nodes_per_cell = 0);
Abstract mesh class to capture 2d/3d conforming and non-conforming meshes.
bool is_boundary(int node_id) const
int num_face_nodes() const
int node_id_from_primitive(int primitive_id)
bool is_boundary_or_interface(const int node_id) const
std::vector< int > primitive_to_node_
const bool connect_nodes_
std::vector< int > node_ids_from_face(const Navigation::Index &index, const int n_new_nodes)
std::vector< int > node_ids_from_cell(const Navigation3D::Index &index, const int n_new_nodes)
int cell_from_node_id(int node_id) const
RowVectorNd node_position(int node_id) const
std::vector< int > node_to_primitive_gid_
int node_id_from_cell(int c)
int node_id_from_vertex(int v)
std::vector< int > in_ordered_vertices_
int num_vertex_nodes() const
int primitive_from_face(int f) const
int num_edge_nodes() const
int num_cell_nodes() const
bool is_face_node(int i) const
const int max_nodes_per_face_
const int max_nodes_per_cell_
int face_from_node_id(int node_id) const
bool is_cell_node(int i) const
bool is_edge_node(int i) const
int vertex_from_node_id(int node_id) const
const std::vector< int > & primitive_to_node() const
const std::vector< int > & node_to_primitive_gid() const
bool is_vertex_node(int i) const
int count_nonnegative_nodes(int start_i, int end_i) const
int node_id_from_face(int f)
std::vector< int > boundary_nodes() const
const std::vector< int > & in_ordered_vertices() const
const int max_nodes_per_edge_
bool is_primitive_interface(int primitive) const
int primitive_from_vertex(int v) const
int primitive_from_cell(int c) const
int node_id_from_edge(int e)
int primitive_from_edge(int e) const
const std::vector< int > & node_to_primitive() const
int edge_from_node_id(int node_id) const
std::vector< int > node_to_primitive_
bool is_interface(int node_id) const
std::vector< int > node_ids_from_edge(const Navigation::Index &index, const int n_new_nodes)
std::vector< bool > is_boundary_
std::vector< bool > is_interface_
bool is_primitive_boundary(int primitive) const
Eigen::Matrix< double, 1, Eigen::Dynamic, Eigen::RowMajor, 1, 3 > RowVectorNd