Class documentation of Concepts

Loading...
Searching...
No Matches
hp2Dedge::Riesz Class Referenceabstract

#include <linearForm.hh>

Inheritance diagram for hp2Dedge::Riesz:
concepts::LinearForm< Real > concepts::OutputOperator

Public Member Functions

 Riesz (const concepts::ElementFormulaContainer< Real > frm1, const concepts::ElementFormulaContainer< Real > frm2, const concepts::BoundaryConditions *bc=0)
 
 Riesz (const concepts::ElementFormulaContainer< concepts::Real2d > frm, const concepts::BoundaryConditions *bc=0)
 
void operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const
 
void operator() (const Quad< Real > &elm, concepts::ElementMatrix< Real > &em) const
 
virtual void operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

Linear form in 2D.

This linear form computes

\[ \int_K \vec{f} \cdot \vec{v} \, dx  + \mbox{Neumann term possibly}\]

Currently only on quadrilaterals.

See also
Neumann
Author
Kersten Schmidt, 2003

Definition at line 94 of file linearForm.hh.

Constructor & Destructor Documentation

◆ Riesz()

hp2Dedge::Riesz::Riesz ( const concepts::ElementFormulaContainer< Real >  frm1,
const concepts::ElementFormulaContainer< Real >  frm2,
const concepts::BoundaryConditions bc = 0 
)

Constructor. Parses the formula.

Parameters
frm1First component of the formula
frm2Second component of te formula
bcBoundary conditions, defaults to homogeneous

Member Function Documentation

◆ info()

virtual std::ostream & hp2Dedge::Riesz::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::LinearForm< Real >.

◆ operator()() [1/2]

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

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/2]

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

Computes the element contribution to the function.

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

The documentation for this class was generated from the following file: