DUNE-ACFEM (unstable)
gradientloadmodel.hh
52 : public ModelBase<typename Fem::ToNewDimRangeFunctionSpace<typename std::decay_t<GridFunction>::FunctionSpaceType,
55 , public MPL::UniqueTags<ConditionalType<IsConstantExprArg<GridFunction>::value, ConstantExpression, void>,
62 using BaseType = ModelBase<typename Fem::ToNewDimRangeFunctionSpace<typename std::decay_t<GridFunction>::FunctionSpaceType,
84 template<class FunctionArg, std::enable_if_t<std::is_constructible<LocalFunctionType, FunctionArg>::value, int> = 0>
177 typename Fem::ToNewDimRangeFunctionSpace<typename std::decay_t<GridFunction>::FunctionSpaceType,
For a given grid-function define a model implementing the weak gradient.
Definition: gradientloadmodel.hh:57
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 classifyBoundary(const Intersection &intersection) const
Bind to the given intersection and classify the components w.r.t.
Definition: gradientloadmodel.hh:141
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: gradientloadmodel.hh:127
auto flux(const QuadraturePoint< Quadrature > &x) const
Evaluate in local coordinates.
Definition: gradientloadmodel.hh:112
void bind(const Entity &entity)
Bind to the given entity.
Definition: gradientloadmodel.hh:99
void unbind()
Unbind from the previously bound entity.
Definition: gradientloadmodel.hh:105
auto zeroModel(const T &t, const std::string &name, F closure=F{})
Generate a zero model fitting the specified object.
Definition: zeromodel.hh:77
constexpr auto gradientLoadModel(GridFunction &&f, const std::string &name="")
Generate a Gradient-model as contribution to the load vector from the given grid-function.
Definition: gradientloadmodel.hh:167
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
A structure defining some basic default types and methods.
Definition: modelbase.hh:41
typename RangeFunctionSpaceType::RangeType RangeRangeType
The type returned by classifyBoundary().
Definition: modelbase.hh:77
typename FunctionSpaceType::DomainType DomainType
The type returned by classifyBoundary().
Definition: modelbase.hh:61
static constexpr int dimRange
The type returned by classifyBoundary().
Definition: modelbase.hh:86
typename RangeFunctionSpaceType::JacobianRangeType RangeJacobianRangeType
The type returned by classifyBoundary().
Definition: modelbase.hh:79
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)