21 #ifndef _BOUNDARY_CONDITIONS_HPP
22 #define _BOUNDARY_CONDITIONS_HPP
50 const std::string
bc_id,
55 const std::string type(
65 const std::string type(
76 return m_n_dir_vertices;
80 inline const std::string
name()
const {
83 }
else if (m_bc_id ==
"N"){
85 }
else if (m_bc_id ==
"M0"){
88 std::cout <<
"Unknown boundary conditions: " << m_bc_id <<
"\n";
93 void reorder_edges(
const std::string pos =
"end");
96 void reorder_vertices(
const std::string pos =
"end");
100 const std::string m_bc_id;
104 size_t m_n_dir_edges;
105 size_t m_n_dir_vertices;
The BoundaryConditions class provides definition of boundary conditions.
Definition: BoundaryConditions.hpp:45
const size_t n_dir_vertices() const
Returns the number of Dirichlet vertices.
Definition: BoundaryConditions.hpp:75
const std::string name() const
Returns the complete name of the boundary condition.
Definition: BoundaryConditions.hpp:80
const size_t n_dir_edges() const
Returns the number of Dirichlet edges.
Definition: BoundaryConditions.hpp:70
Definition: Mesh2D.hpp:26
std::string bc_id
Definition: HHO_DiffAdvecReac.hpp:44
Polytope< 1 > Edge
A Face is a Polytope with object_dim = DIMENSION - 1.
Definition: Polytope2D.hpp:147
Polytope< 0 > Vertex
An Edge is a Polytope with object_dim = 1.
Definition: Polytope2D.hpp:144
Definition: ddr-klplate.hpp:27