Linear form to evaluate $\int_K f v \, dx$. More...

#include <lform.hh>

Inheritance diagram for bem::Riesz:
concepts::LinearForm< concepts::Real >

Public Member Functions

uint gauss () const
 
void operator() (const concepts::Element< concepts::Real > &elm, concepts::ElementMatrix< concepts::Real > &em)
 Computes the element load vector. More...
 
void operator() (const Constant3d000< concepts::Real > &elm, concepts::ElementMatrix< concepts::Real > &em)
 
void operator() (const Constant3d001< concepts::Real > &elm, concepts::ElementMatrix< concepts::Real > &em)
 
void operator() (const Constant3d002< concepts::Real > &elm, concepts::ElementMatrix< concepts::Real > &em)
 
void operator() (const Dirac3d000< concepts::Real > &elm, concepts::ElementMatrix< concepts::Real > &em)
 
virtual void operator() (const Element< typename Realtype< concepts::Real >::type > &elm, ElementMatrix< concepts::Real > &em) const=0
 Computes the element contribution to the function. More...
 
void operator() (const Linear3d000< concepts::Real > &elm, concepts::ElementMatrix< concepts::Real > &em)
 
 Riesz (const concepts::Formula< Real > &formula, uint gauss=0)
 Constructor. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Attributes

std::unique_ptr< const concepts::Formula< Real > > frm_
 Formula. More...
 
const uint gauss_
 Number of Gauss points for the quadrature. More...
 

Detailed Description

Linear form to evaluate $\int_K f v \, dx$.

Definition at line 268 of file lform.hh.

Constructor & Destructor Documentation

◆ Riesz()

bem::Riesz::Riesz ( const concepts::Formula< Real > &  formula,
uint  gauss = 0 
)

Constructor.

Parses the formula.

Parameters
formulaThe formula
gaussNumber of gauss points, defaults to 0.

Member Function Documentation

◆ gauss()

uint bem::Riesz::gauss ( ) const
inline

Definition at line 296 of file lform.hh.

◆ info()

virtual std::ostream& concepts::LinearForm< concepts::Real , typename Realtype<concepts::Real >::type >::info ( std::ostream &  os) const
protectedvirtualinherited

◆ operator()() [1/7]

void bem::Riesz::operator() ( const concepts::Element< concepts::Real > &  elm,
concepts::ElementMatrix< concepts::Real > &  em 
)

Computes the element load vector.

As for the computation of an element stiffness matrix, there are the loops over all quadrature points and the loops over all shape functions.

Parameters
elmThe element for which the load vector should be computed.
emThe load vector

◆ operator()() [2/7]

void bem::Riesz::operator() ( const Constant3d000< concepts::Real > &  elm,
concepts::ElementMatrix< concepts::Real > &  em 
)

◆ operator()() [3/7]

void bem::Riesz::operator() ( const Constant3d001< concepts::Real > &  elm,
concepts::ElementMatrix< concepts::Real > &  em 
)

◆ operator()() [4/7]

void bem::Riesz::operator() ( const Constant3d002< concepts::Real > &  elm,
concepts::ElementMatrix< concepts::Real > &  em 
)

◆ operator()() [5/7]

void bem::Riesz::operator() ( const Dirac3d000< concepts::Real > &  elm,
concepts::ElementMatrix< concepts::Real > &  em 
)

◆ operator()() [6/7]

virtual void concepts::LinearForm< concepts::Real , typename Realtype<concepts::Real >::type >::operator() ( const Element< G > &  elm,
ElementMatrix< F > &  em 
) const
pure virtualinherited

Computes the element contribution to the function.

Parameters
elmElement on which the computations should be performed
emThe local matrix

◆ operator()() [7/7]

void bem::Riesz::operator() ( const Linear3d000< concepts::Real > &  elm,
concepts::ElementMatrix< concepts::Real > &  em 
)

Member Data Documentation

◆ frm_

std::unique_ptr<const concepts::Formula<Real> > bem::Riesz::frm_
private

Formula.

Definition at line 300 of file lform.hh.

◆ gauss_

const uint bem::Riesz::gauss_
private

Number of Gauss points for the quadrature.

Definition at line 303 of file lform.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich