Dune-Fufem 2.12-git
Loading...
Searching...
No Matches
Form language (integration and assembly)

Description

Definition of (bi)-linear form assemblers by integration.

Collaboration diagram for Form language (integration and assembly):

Classes

class  Dune::Fufem::Forms::LocalSumAssembler< LocalAssemblers >
 Sum of local assemblers obtained using Dune::Fufem::Forms::integrate(...) More...
 

Functions

template<class MultilinearOperator , class DomainRef , class QuadratureHint >
requires isOperatorOrSumOperator_v<MultilinearOperator> && IsDomain<std::decay_t<DomainRef>>
::value &&std::is_lvalue_reference_v< DomainRef > &&QuadratureHints::IsQuadratureHint< QuadratureHint >::value auto Dune::Fufem::Forms::integrate (MultilinearOperator op, DomainRef &&domain, QuadratureHint hint)
 Integrate a k-linear operator to obtain a k-linear form.
 
template<class MultilinearOperator , class DomainRef >
requires isOperatorOrSumOperator_v<MultilinearOperator> && IsDomain<std::decay_t<DomainRef>>
::value &&std::is_lvalue_reference_v< DomainRef > auto Dune::Fufem::Forms::integrate (MultilinearOperator op, DomainRef &&domain)
 Integrate a k-linear operator to obtain a k-linear form.
 
template<class MultilinearOperator , class QuadratureHint >
requires isOperatorOrSumOperator_v<MultilinearOperator> && QuadratureHints::IsQuadratureHint<QuadratureHint>
::value auto Dune::Fufem::Forms::integrate (MultilinearOperator op, QuadratureHint hint)
 Integrate a k-linear operator to obtain a k-linear form.
 
template<class MultilinearOperator >
requires isOperatorOrSumOperator_v<MultilinearOperator>
auto Dune::Fufem::Forms::integrate (MultilinearOperator op)
 Integrate a k-linear operator to obtain a k-linear form.
 

Variables

constexpr Impl::Bulk Dune::Fufem::Forms::bulk = {}
 Object representing the full grid view as integration domain.
 
constexpr Boundary Dune::Fufem::Forms::boundary = {}
 Object representing the full grid view boundary as integration domain.
 
constexpr Impl::Skeleton Dune::Fufem::Forms::skeleton = {}
 Object representing the full grid view skeleton as integration domain.
 

Function Documentation

◆ integrate() [1/4]

auto Dune::Fufem::Forms::integrate ( MultilinearOperator  op)

Integrate a k-linear operator to obtain a k-linear form.

Parameters
opThe operator to integrate (must be a MultilinearOperator or SumOperator)

When passing a k-linear operator, the returned object is a local assembler for assembling the corresponding k-linear form.

This assembler created by this overload will compute bulk integrals over all elements of the underlying GridView.

Local assemblers of the same arity can be chained using operator+.

◆ integrate() [2/4]

template<class MultilinearOperator , class DomainRef >
requires isOperatorOrSumOperator_v<MultilinearOperator> && IsDomain<std::decay_t<DomainRef>>
::value &&std::is_lvalue_reference_v< DomainRef > auto Dune::Fufem::Forms::integrate ( MultilinearOperator  op,
DomainRef &&  domain 
)

Integrate a k-linear operator to obtain a k-linear form.

Parameters
opThe operator to integrate (must be a MultilinearOperator or SumOperator)
domainThe integration domain (will be stored by reference and must outlive the generated assembler)

When passing a k-linear operator, the returned object is a local assembler for assembling the corresponding k-linear form. The domain object must satisfy IsBulkDomain, IsBoundaryDomain, or IsSkeletonDomain and the integration is done on the respective section of the grid. In particular one can use bulk, boundary, and skeleton to integrate over the whole bulk, boundary or skeleton, or a BoundaryPatch to integrate over a subset of the boundary. With dune-functions >= 2.11 one can also use a Dune::Functions::Experimental::SubDomain as bulk integration domain.

Local assemblers of the same arity can be chained using operator+.

◆ integrate() [3/4]

template<class MultilinearOperator , class DomainRef , class QuadratureHint >
requires isOperatorOrSumOperator_v<MultilinearOperator> && IsDomain<std::decay_t<DomainRef>>
::value &&std::is_lvalue_reference_v< DomainRef > &&QuadratureHints::IsQuadratureHint< QuadratureHint >::value auto Dune::Fufem::Forms::integrate ( MultilinearOperator  op,
DomainRef &&  domain,
QuadratureHint  hint 
)

Integrate a k-linear operator to obtain a k-linear form.

Parameters
opThe operator to integrate (must be a MultilinearOperator or SumOperator)
domainThe integration domain (will be stored by reference and must outlive the generated assembler)
hintA quadrature hint to guide the selection of quadrature rules.

When passing a k-linear operator, the returned object is a local assembler for assembling the corresponding k-linear form. The domain object must satisfy IsBulkDomain, IsBoundaryDomain, or IsSkeletonDomain and the integration is done on the respective section of the grid. In particular one can use bulk, boundary, and skeleton to integrate over the whole bulk, boundary or skeleton, or a BoundaryPatch to integrate over a subset of the boundary. With dune-functions >= 2.11 one can also use a Dune::Functions::Experimental::SubDomain as bulk integration domain.

Local assemblers of the same arity can be chained using operator+.

◆ integrate() [4/4]

template<class MultilinearOperator , class QuadratureHint >
requires isOperatorOrSumOperator_v<MultilinearOperator> && QuadratureHints::IsQuadratureHint<QuadratureHint>
::value auto Dune::Fufem::Forms::integrate ( MultilinearOperator  op,
QuadratureHint  hint 
)

Integrate a k-linear operator to obtain a k-linear form.

Parameters
opThe operator to integrate (must be a MultilinearOperator or SumOperator)
hintA quadrature hint to guide the selection of quadrature rules.

When passing a k-linear operator, the returned object is a local assembler for assembling the corresponding k-linear form.

This assembler created by this overload will compute bulk integrals over all elements of the underlying GridView.

Local assemblers of the same arity can be chained using operator+.

Variable Documentation

◆ boundary

constexpr Boundary Dune::Fufem::Forms::boundary = {}
inlineconstexpr

Object representing the full grid view boundary as integration domain.

◆ bulk

constexpr Impl::Bulk Dune::Fufem::Forms::bulk = {}
inlineconstexpr

Object representing the full grid view as integration domain.

This object can be used as tag to integrated linear or bilinear forms over the bulk of a GridView. The exact type of this object is implementation defined and may change in future releases.

◆ skeleton

constexpr Impl::Skeleton Dune::Fufem::Forms::skeleton = {}
inlineconstexpr

Object representing the full grid view skeleton as integration domain.

This object can be used as tag to integrated linear or bilinear forms over the skeleton of a GridView. The exact type of this object is implementation defined and may change in future releases.