DUNE-ACFEM (unstable)
divergenceloadmodel.hh
45 : public ModelBase<typename std::decay_t<GridFunction>::FunctionSpaceType::ScalarFunctionSpaceType>
47 , public MPL::UniqueTags<ConditionalType<IsConstantExprArg<GridFunction>::value, ConstantExpression, void>,
57 using BaseType = ModelBase<typename GridFunctionType::FunctionSpaceType::ScalarFunctionSpaceType>;
75 template<class FctArg, std::enable_if_t<std::is_constructible<LocalFunctionType, FctArg>::value, int> = 0>
136 using FunctionSpaceType = typename std::decay_t<GridFunction>::FunctionSpaceType::ScalarFunctionSpaceType;
For a given grid-function define a model implementing the weak divergence.
Definition: divergenceloadmodel.hh:49
constexpr decltype(auto) expressionClosure(T &&t)
Do-nothing default implementation for pathologic cases.
Definition: interface.hh:93
void bind(const Entity &entity)
Bind to the given entity.
Definition: divergenceloadmodel.hh:90
void unbind()
Unbind from the previously bound entity.
Definition: divergenceloadmodel.hh:96
constexpr auto divergenceLoadModel(GridFunction &&f, const std::string &name="")
Generate a divergence model which only contributes to the load-vector.
Definition: divergenceloadmodel.hh:126
RangeType source(const QuadraturePoint< Quadrature > &x) const
The zero-order term as function of local coordinates.
Definition: divergenceloadmodel.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
constexpr auto trace(T &&t)
Trace is the contraction over all indices with the eye tensor.
Definition: expressions.hh:145
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::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)