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

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

template<class I>
class Dune::XT::Grid::NormalBasedBoundaryInfo : 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

static std::string Dune::XT::Grid::NormalBasedBoundaryInfo::static_id()

No documentation provided.

static int Dune::XT::Grid::NormalBasedBoundaryInfo::create(const Common::Configuration &cfg)

No documentation provided.

void Dune::XT::Grid::NormalBasedBoundaryInfo::repr(std::ostream &out) const final

No documentation provided.

void Dune::XT::Grid::NormalBasedBoundaryInfo::register_new_normal(const WorldType &normal, BoundaryType *&&boundary_type)

Warning

Takes ownership of boundary_type, do not delete manually!

const BoundaryType &Dune::XT::Grid::NormalBasedBoundaryInfo::type(const IntersectionType &intersection) const final

No documentation provided.

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

Warning

Takes ownership of default_boundary_type, do not delete manually!

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

No documentation provided.

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

No documentation provided.

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

No documentation provided.

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

No documentation provided.

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

No documentation provided.

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

No documentation provided.

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

No documentation provided.