Class documentation of Concepts

Loading...
Searching...
No Matches
linDG2D::ScalarProductLf Class Referenceabstract

#include <linearForm.hh>

Inheritance diagram for linDG2D::ScalarProductLf:
concepts::LinearForm< Real > concepts::OutputOperator

Public Member Functions

 ScalarProductLf (concepts::Formula< Real > &frm, uint nQuadPts)
 
void operator() (const concepts::Element< Real > &elmBase, concepts::ElementMatrix< Real > &em)
 
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

Pure L2 scalar product linear form for DG in 2D. Useful e. g. for L2 projections of initial conditions

Author
Christoph Winkelmann, 2003

Definition at line 66 of file linearForm.hh.

Constructor & Destructor Documentation

◆ ScalarProductLf()

linDG2D::ScalarProductLf::ScalarProductLf ( concepts::Formula< Real > &  frm,
uint  nQuadPts 
)
inline

Constructor.

Parameters
frmformula
nQuadPtsnumber of quadrature points per dimension

Definition at line 72 of file linearForm.hh.

Member Function Documentation

◆ info()

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

◆ operator()() [1/2]

void linDG2D::ScalarProductLf::operator() ( const concepts::Element< Real > &  elmBase,
concepts::ElementMatrix< Real > &  em 
)

Application operator. Computes the element contribution.

Parameters
elmBaseElement
emElement matrix

◆ 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: