DUNE-ACFEM (2.5.1)

Dune::ACFem::BoundaryIndicatorInterface< Implementation > Class Template Reference

A simple interface class for a boundary-indicator. More...

#include <dune/acfem/models/boundaryindicator.hh>

Public Member Functions

template<class Intersection >
bool applies (const Intersection &intersection) const
 Classify a boundary facet. More...
 

Detailed Description

template<class Implementation>
class Dune::ACFem::BoundaryIndicatorInterface< Implementation >

A simple interface class for a boundary-indicator.

Boundary-indicators attach a boolean to each boundary-intersection. In that way, they model the characteristic function for dedicated subsets of the boundary of the computational domain. Usually they are used to distinguish beteen different boundary conditions. However, they do not carry any interpretation, their task is to group parts of the boundray together.

Bug:
This should probably be changed in a way that there is only one classificator class per condition; complex operations with indicators could then be simplified at compile time (the classificators would be required to do the same if they belong to the same class). The BoundaryIdClassificator is one example ATM where this is NOT the case.

Member Function Documentation

◆ applies()

template<class Implementation >
template<class Intersection >
bool Dune::ACFem::BoundaryIndicatorInterface< Implementation >::applies ( const Intersection &  intersection) const
inline

Classify a boundary facet.

Parameters
[in]intersectionThe current intersection. It is up to the implementation to take the information from intersection (e.g. coordinates or the id from the macro triangulation).
Returns
true to indicate that intersection belongs to the boundary segment of interest.

References Dune::ACFem::asImp().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)