Class documentation of Concepts

Loading...
Searching...
No Matches
linearFEM::Riesz2d Class Referenceabstract

#include <linearForm2D.hh>

Inheritance diagram for linearFEM::Riesz2d:
concepts::LinearForm< Real > concepts::OutputOperator

Public Member Functions

 Riesz2d (const concepts::Formula< Real > &frm)
 
virtual void operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const
 
void operator() (const linearFEM::Quad &elm, concepts::ElementMatrix< Real > &em) const
 Computes the local load vector for a quad.
 
void operator() (const linearFEM::Triangle &elm, concepts::ElementMatrix< Real > &em) const
 Computes the local load vector for a triangle.
 
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 form 2D linear FEM. This linear form takes a formula frm and computes the load vector

\[ \int_K f v \, dx, \]

where f ist frm and v are the test functions.

Author
Philipp Frauenfelder, 2002

Definition at line 29 of file linearForm2D.hh.

Constructor & Destructor Documentation

◆ Riesz2d()

linearFEM::Riesz2d::Riesz2d ( const concepts::Formula< Real > &  frm)
inline

Constructor

Parameters
frmFormula

Definition at line 34 of file linearForm2D.hh.

Member Function Documentation

◆ info()

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

◆ operator()()

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: