Class template Dune::XT::Grid::NormalBasedBoundaryInfo

Inherits from Dune::XT::Grid::BoundaryInfo.

template<class I>
class Dune::XT::Grid::NormalBasedBoundaryInfo<I> : public BoundaryInfo<I>

BoundaryInfo that returns a boundary type by matching an intersection’s center unit outer normal against a set of registered normals.

XT::Grid::NormalBasedBoundaryInfo<…> boundary_info; boundary_info.register_new_normal({-1}, new XT::Grid::ImpermeableBoundary()); boundary_info.register_new_normal({1}, new XT::Grid::ImpermeableBoundary());

Use as in

Method Dune::XT::Grid::NormalBasedBoundaryInfo::static_id

template<class I>
static std::string Dune::XT::Grid::NormalBasedBoundaryInfo<I>::static_id()

No documentation provided.

Method Dune::XT::Grid::NormalBasedBoundaryInfo::create

template<class I>
static int Dune::XT::Grid::NormalBasedBoundaryInfo<I>::create(const Common::Configuration &cfg)

No documentation provided.

Method Dune::XT::Grid::NormalBasedBoundaryInfo::repr

template<class I>
void Dune::XT::Grid::NormalBasedBoundaryInfo<I>::repr(std::ostream &out) const final

No documentation provided.

Method Dune::XT::Grid::NormalBasedBoundaryInfo::register_new_normal

template<class I>
void Dune::XT::Grid::NormalBasedBoundaryInfo<I>::register_new_normal(const WorldType &normal, BoundaryType *&&boundary_type)

Warning

Takes ownership of boundary_type, do not delete manually!

Method Dune::XT::Grid::NormalBasedBoundaryInfo::type

template<class I>
const BoundaryType &Dune::XT::Grid::NormalBasedBoundaryInfo<I>::type(const IntersectionType &intersection) const final

No documentation provided.

Constructor Dune::XT::Grid::NormalBasedBoundaryInfo::NormalBasedBoundaryInfo<I>

template<>
template<class I>
explicit Dune::XT::Grid::NormalBasedBoundaryInfo<I>::NormalBasedBoundaryInfo<I>(const DomainFieldType tol = 1.0E-10, BoundaryType *&&default_boundary_type = new NoBoundary(), const std::string &logging_prefix, const std::array<bool, 3> &logging_state = Common::default_logger_state())

Warning

Takes ownership of default_boundary_type, do not delete manually!

Constructor Dune::XT::Grid::NormalBasedBoundaryInfo::NormalBasedBoundaryInfo<I>

template<>
template<class I>
Dune::XT::Grid::NormalBasedBoundaryInfo<I>::NormalBasedBoundaryInfo<I>(const ThisType&) = delete

No documentation provided.

Constructor Dune::XT::Grid::NormalBasedBoundaryInfo::NormalBasedBoundaryInfo<I>

template<>
template<class I>
Dune::XT::Grid::NormalBasedBoundaryInfo<I>::NormalBasedBoundaryInfo<I>(ThisType &&source) noexcept = default

No documentation provided.

Field Dune::XT::Grid::NormalBasedBoundaryInfo::tol_

const DomainFieldType Dune::XT::Grid::NormalBasedBoundaryInfo::tol_

No documentation provided.

Field Dune::XT::Grid::NormalBasedBoundaryInfo::default_boundary_type_

const int Dune::XT::Grid::NormalBasedBoundaryInfo::default_boundary_type_

No documentation provided.

Field Dune::XT::Grid::NormalBasedBoundaryInfo::normal_to_type_map_

int Dune::XT::Grid::NormalBasedBoundaryInfo::normal_to_type_map_

No documentation provided.

Type alias Dune::XT::Grid::NormalBasedBoundaryInfo::BaseType

type Dune::XT::Grid::NormalBasedBoundaryInfo::BaseType

No documentation provided.

Type alias Dune::XT::Grid::NormalBasedBoundaryInfo::ThisType

type Dune::XT::Grid::NormalBasedBoundaryInfo::ThisType

No documentation provided.