Ejemplo n.º 1
0
bool Prism::is_edge_on_side(const unsigned int e,
                            const unsigned int s) const
{
  libmesh_assert_less (e, this->n_edges());
  libmesh_assert_less (s, this->n_sides());

  return (is_node_on_side(Prism6::edge_nodes_map[e][0],s) &&
          is_node_on_side(Prism6::edge_nodes_map[e][1],s));
}
Ejemplo n.º 2
0
bool InfHex::is_edge_on_side (const unsigned int e,
                              const unsigned int s) const
{
  libmesh_assert (e < this->n_edges());
  libmesh_assert (s < this->n_sides());

  return (is_node_on_side(InfHex8::edge_nodes_map[e][0],s) &&
          is_node_on_side(InfHex8::edge_nodes_map[e][1],s));
}