Class documentation of Concepts

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

#include <linearForm.hh>

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

Public Member Functions

 EdgeRiesz (const concepts::Boundary &bd)
 
void operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const
 
void operator() (const Edge< 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_{\partial K} f \vec{t} \cdot \vec{v} \, ds \]

where

\[\vec{t} = \vec{n}^\bot = {-n_y \choose n_x} \]

is the tangential vector, and

\[\vec{n}\]

the outer normal vector.

The integration is only done for the shape function which are located on the edge. For mapping to the degrees of freedom in the element there is the T matrix of the edge.

See also
Edge
Author
Kersten Schmidt, 2003

Definition at line 147 of file linearForm.hh.

Constructor & Destructor Documentation

◆ EdgeRiesz()

hp2Dedge::EdgeRiesz::EdgeRiesz ( const concepts::Boundary bd)

Constructor.

Parameters
bdBoundary condition with contained formula

Member Function Documentation

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::LinearForm< Real >.

◆ operator()() [1/2]

void hp2Dedge::EdgeRiesz::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: