DUNE-ACFEM (2.5.1)

IndicatorFunctionExpressions

When viewing the BoundaryIndicator as the characteristic function of a subset of the boundary then it is somewhat natural (and straight forward) to form multiplication operations with indicators and GridFunctions. More...

Functions

template<class Indicator , class Function >
static auto Dune::ACFem::operator* (const BoundaryIndicatorInterface< Indicator > &chi, const Fem::Function< typename Function::FunctionSpaceType, Function > &f) -> decltype(boundarySupportedFunction(f, chi))
 chi * f More...
 
template<class Indicator , class Function >
static auto Dune::ACFem::operator* (const Fem::Function< typename Function::FunctionSpaceType, Function > &f, const BoundaryIndicatorInterface< Indicator > &chi) -> decltype(asImp(chi) *asImp(f))
 Multiplication from the right.
 
template<class Function >
static BoundarySupportedFunction< ZeroGridFunction< typename Function::FunctionSpaceType, typename Function::GridParType >, EmptyBoundaryIndicatorType > Dune::ACFem::operator* (const EmptyBoundaryIndicatorType &chi, const Fem::Function< typename Function::FunctionSpaceType, Function > &f)
 Empty * Something = Empty.
 
template<class Function , class Indicator >
static BoundarySupportedFunction< ZeroGridFunction< typename Function::FunctionSpaceType, typename Function::GridParType >, EmptyBoundaryIndicatorType > Dune::ACFem::operator* (const EmptyBoundaryIndicatorType &chi, const BoundarySupportedFunction< Function, Indicator > &f)
 Empty * Wrapped = Empty.
 
template<class Function , class Indicator >
static BoundarySupportedFunction< Function, Indicator > Dune::ACFem::operator* (const EntireBoundaryIndicatorType &chi, const BoundarySupportedFunction< Function, Indicator > &f)
 Entire * Wrapped = Wrapped.
 

Detailed Description

When viewing the BoundaryIndicator as the characteristic function of a subset of the boundary then it is somewhat natural (and straight forward) to form multiplication operations with indicators and GridFunctions.

Function Documentation

◆ operator*()

template<class Indicator , class Function >
static auto Dune::ACFem::operator* ( const BoundaryIndicatorInterface< Indicator > &  chi,
const Fem::Function< typename Function::FunctionSpaceType, Function > &  f 
) -> decltype(boundarySupportedFunction(f, chi))
inlinestatic

chi * f

This template already handles double-wrapping with the EntireBoundaryIndicatorType.

References Dune::ACFem::boundarySupportedFunction().

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 26, 22:29, 2024)