60 if (this->
dirichlet_bc.find(boundary_id) != this->dirichlet_bc.end())
61 return BoundaryType::DirichletInhomogenous;
63 if (this->homogeneous_dirichlet_bc.find(boundary_id) !=
64 this->homogeneous_dirichlet_bc.end())
65 return BoundaryType::DirichletInhomogenous;
69 "Boundary type of face is invalid or not implemented."));
71 return BoundaryType::Undefined;
85 return {BoundaryType::DirichletInhomogenous, res->second};
90 auto res = this->homogeneous_dirichlet_bc.find(boundary_id);
91 if (res != this->homogeneous_dirichlet_bc.end())
92 return {BoundaryType::DirichletHomogenous,
93 std::shared_ptr<dealii::Function<dim, Number>>(
94 new dealii::Functions::ZeroFunction<dim, Number>())};
99 "Boundary type of face is invalid or not implemented."));
101 return {BoundaryType::Undefined,
102 std::shared_ptr<dealii::Function<dim>>(
103 new dealii::Functions::ZeroFunction<dim, Number>())};