DUNE-ACFEM (unstable)
neumannmodel.hh
131 supported_.first = IndicatorTraits<IndicatorType>::globalSupport || indicator_.applies(intersection);
193 return expressionClosure(NeumannBoundaryModel<Fct, Indicator>(std::forward<Fct>(values), std::forward<Indicator>(where), name));
210 std::enable_if_t<ExpressionTraits<Fct>::isZero || ExpressionTraits<Indicator>::isZero, int> = 0>
constexpr decltype(auto) expressionClosure(T &&t)
Do-nothing default implementation for pathologic cases.
Definition: interface.hh:93
std::is_base_of< Tag, std::decay_t< A > > HasTag
Evaluate to std::true_type if std::decay_t<A> is derived from Tag, otherwise to std::false_type.
Definition: tags.hh:176
auto gridFunction(const GridPart &gridPart, T &&t, IndexConstant< MaxOrder > maxOrder=IndexConstant< MaxOrder >{}, IndexConstant< IndeterminateId > id=IndexConstant< IndeterminateId >{})
Generate a BindableGridFunction which wraps a copy of T.
Definition: gridfunction.hh:23
std::string name() const
Definition: neumannmodel.hh:105
void bind(const Entity &entity)
Definition: neumannmodel.hh:112
auto classifyBoundary(const Intersection &intersection)
Definition: neumannmodel.hh:129
auto zeroModel(const T &t, const std::string &name, F closure=F{})
Generate a zero model fitting the specified object.
Definition: zeromodel.hh:77
RangeType robinFlux(const QuadraturePoint< Quadrature > &x, const DomainType &unitOuterNormal) const
The non-linearized Robin-type flux term.
Definition: neumannmodel.hh:150
constexpr auto neumannBoundaryModel(Fct &&values, Indicator &&where=std::decay_t< Indicator >{}, const std::string &name="")
Generate NeumannBoundaryModel from given grid-function and boundary indicator.
Definition: neumannmodel.hh:189
BoundaryIndicator::Constant< true > EntireBoundaryIndicator
A boundary indicator applying to all parts of the boundary.
Definition: boundaryindicator.hh:376
Fem::QuadraturePointWrapper< Quadrature > QuadraturePoint
Shortcut.
Definition: quadraturepoint.hh:23
Paraphrase isOne and isZero to indicator function talk.
Definition: boundaryindicator.hh:140
Terminals may derive from this class to express that they are expressions.
Definition: terminal.hh:25
Definition: functiontraits.hh:98
Definition: localfunctiontraits.hh:88
A structure defining some basic default types and methods.
Definition: modelbase.hh:41
std::pair< bool, std::bitset< dimRange > > BoundaryConditionsType
The type returned by classifyBoundary().
Definition: modelbase.hh:98
typename FunctionSpaceType::DomainType DomainType
The type returned by classifyBoundary().
Definition: modelbase.hh:61
typename FunctionSpaceType::RangeType RangeType
The type returned by classifyBoundary().
Definition: modelbase.hh:62
static constexpr int dimRange
The type returned by classifyBoundary().
Definition: modelbase.hh:86
