DUNE-ACFEM (2.5.1)
dirichletmodel.hh
111 };
133 : public ZeroModel<typename GridFunction::FunctionSpaceType, typename GridFunction::GridPartType>
165 dirichletBoundaryModel(const Fem::Function<typename GridFunction::FunctionSpaceType, GridFunction>& values,
A simple interface class for a boundary-indicator.
Definition: boundaryindicator.hh:41
A function with potentially partial support on the boundary.
Definition: boundarysupportedfunction.hh:234
Define a simple zero model to optimize expression templates.
Definition: zeromodel.hh:28
const Implementation & asImp(const Fem::BartonNackmanInterface< Interface, Implementation > &arg)
Up-cast to the implementation for any Fem::BartonNackmanInterface.
Definition: expressionoperations.hh:71
FractionGridFunction< typename FunctionSpace::FunctionSpaceType::ScalarFunctionSpaceType, GridPart, 1L, 1UL > oneFunction(const FunctionSpace &space, const GridPart &gridPart)
Generate a proper constant-one function from the given Fem::FunctionSpace and Fem::GridPart.
Definition: gridfunctionexpression.hh:157
BoundarySupportedFunction< GridFunction, Indicator > boundarySupportedFunction(const Fem::Function< typename GridFunction::FunctionSpaceType, GridFunction > &f, const BoundaryIndicatorInterface< Indicator > &c=EntireBoundaryIndicatorType())
Generate a function with partial support on the boundary.
Definition: boundarysupportedfunction.hh:604
DirichletBoundaryFunctionType::IndicatorType DirichletIndicatorType
Something satisfying the BoundaryIndicatorInterface.
Definition: dirichletmodel.hh:121
const GridPartType & gridPart() const
Return the GridPart (non-interface method)
Definition: dirichletmodel.hh:85
StructureFlags
Definition: dirichletmodel.hh:107
DirichletBoundaryModel< GridFunction, Indicator > dirichletBoundaryModel(const Fem::Function< typename GridFunction::FunctionSpaceType, GridFunction > &values, const BoundaryIndicatorInterface< Indicator > &where=Indicator())
Generate a DirichletBoundaryModel from given grid-function and boundary indicator.
Definition: dirichletmodel.hh:165
decltype(std::declval< OuterIndicatorType >() *std::declval< GridFunction >()) DirichletBoundaryFunctionType
A BoundarySupportedFunction which must be sub-ordinate to the DirichletIndicatorType.
Definition: dirichletmodel.hh:116
DirichletBoundaryModel< ZeroGridFunction< typename Object::FunctionSpaceType, typename Object::GridPartType >, Indicator > dirichletZeroModel(const Object &object, const BoundaryIndicatorInterface< Indicator > &where=Indicator())
Generate homogeneous Dirichlet boundary conditions fitting the specified object.
Definition: dirichletmodel.hh:198
BoundarySupportedFunction< decltype(oneFunction(std::declval< GridFunction >())), DirichletIndicatorType > DirichletWeightFunctionType
A scalar BoundarySupportedFunction which defines "weighted" Dirichlet values of the form.
Definition: dirichletmodel.hh:127
Traits-template which has to be specialized for each individual model.
Definition: modelinterface.hh:48
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)