Class documentation of Concepts

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

#include <boundaries.hh>

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

Public Member Functions

 DirichletIdentity (DirichletCoefficients *dc=0)
 
void operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const
 
void operator() (const Quad<> &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 for coping the Dirichlet boundary for Identity bilinearform.

This linear form computes for elements with edges lying on the boundary

\[ \int_K \vec{f} \vec{v} \, dx\]

where

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

is the tangential vector,

\[\vec{n}\]

the outer normal vector, and

\[g\]

the tangential component of the Neumann boundary.

Currently only on quadrilaterals.

Author
Kersten Schmidt, 2004

Definition at line 118 of file boundaries.hh.

Constructor & Destructor Documentation

◆ DirichletIdentity()

hp2Dedge::DirichletIdentity::DirichletIdentity ( DirichletCoefficients dc = 0)

Constructor

Parameters
dcLocal coefficients, which fullfill bc

Member Function Documentation

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::LinearForm< Real >.

◆ operator()() [1/2]

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

Computes the element load vector. 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: