DUNE-ACFEM (unstable)
weakdivergenceloadmodel.hh
53 : public ModelBase<typename std::decay_t<GridFunction>::FunctionSpaceType::ScalarFunctionSpaceType>
55 , public MPL::UniqueTags<ConditionalType<ExpressionTraits<GridFunction>::isVolatile, VolatileExpression, void>,
63 using BaseType = ModelBase<typename std::decay_t<GridFunction>::FunctionSpaceType::ScalarFunctionSpaceType>;
82 template<class FunctionArg, std::enable_if_t<std::is_constructible<LocalFunctionType, FunctionArg>::value, int> = 0>
155 return expressionClosure(WeakDivergenceLoadModel<GridFunction>(std::forward<GridFunction>(f), name));
161 using FunctionSpaceType = typename std::decay_t<GridFunction>::FunctionSpaceType::ScalarFunctionSpaceType;
For a given grid-function define a model implementing the weak divergence.
Definition: weakdivergenceloadmodel.hh:58
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 fluxDivergence(const QuadraturePoint< Quadrature > &x) const
Compute the point-wise value of the flux-part of the operator, meaning the part of the differential o...
Definition: weakdivergenceloadmodel.hh:126
JacobianRangeType flux(const QuadraturePoint< Quadrature > &x) const
Evaluate in local coordinates.
Definition: weakdivergenceloadmodel.hh:110
void bind(const Entity &entity)
Bind to the given entity.
Definition: weakdivergenceloadmodel.hh:97
void unbind()
Unbind from the previously bound entity.
Definition: weakdivergenceloadmodel.hh:103
auto zeroModel(const T &t, const std::string &name, F closure=F{})
Generate a zero model fitting the specified object.
Definition: zeromodel.hh:77
Fem::QuadraturePointWrapper< Quadrature > QuadraturePoint
Shortcut.
Definition: quadraturepoint.hh:23
Terminals may derive from this class to express that they are expressions.
Definition: terminal.hh:25
Definition: localfunctiontraits.hh:88
A structure defining some basic default types and methods.
Definition: modelbase.hh:41
typename FunctionSpaceType::JacobianRangeType JacobianRangeType
The type returned by classifyBoundary().
Definition: modelbase.hh:63
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
static constexpr int dimDomain
The type returned by classifyBoundary().
Definition: modelbase.hh:85
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Jan 5, 23:30, 2025)