DUNE-ACFEM (unstable)
incompressibletransportmodel.hh
75 template<class FunctionArg, std::enable_if_t<std::is_constructible<LocalFunctionType, FunctionArg>::value, int> = 0>
136 return expressionClosure(IncompressibleTransportModel<typename std::decay_t<Object>::FunctionSpaceType, Velocity>(std::forward<Velocity>(velocity), name));
139 template<class Object, class Velocity, std::enable_if_t<ExpressionTraits<Velocity>::isZero, int> = 0>
Define a model for an advection term with a divergence-free velocity field.
Definition: incompressibletransportmodel.hh:48
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 linearizedSource(const QuadraturePoint< Quadrature > &x, const JacobianRangeType &jacobian) const
The linearized source term as function of local coordinates.
Definition: incompressibletransportmodel.hh:101
void unbind()
Unbind from the previously bound entity.
Definition: incompressibletransportmodel.hh:94
void bind(const Entity &entity)
Bind to the given entity.
Definition: incompressibletransportmodel.hh:88
constexpr auto incompressibleTransportModel(Object &&object, Velocity &&velocity, const std::string &name="")
Generate an advection-model object.
Definition: incompressibletransportmodel.hh:132
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
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::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)