Class documentation of Concepts

Loading...
Searching...
No Matches

#include <linearForm.hh>

Inheritance diagram for hp2Dedge::Neumann:
concepts::Neumann< Real > concepts::LinearForm< F, G > concepts::OutputOperator

Public Member Functions

 Neumann (const concepts::BoundaryConditions *bc)
 
virtual void operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const
 
virtual void operator() (const Quad< Real > &elm, concepts::ElementMatrix< Real > &em) const
 
virtual void operator() (const Element< G > &elm, ElementMatrix< F > &em) const =0
 

Protected Member Functions

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

Protected Attributes

std::unique_ptr< BoundaryConditions > bc_
 Reference to the boundary conditions.
 

Detailed Description

Linear form in 2D for the term of Neumann boundary

This linear form computes

\[\int_{\partial K \cap \Gamma_N} g \vec{t} \cdot \vec v \, ds. \]

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 55 of file linearForm.hh.

Constructor & Destructor Documentation

◆ Neumann()

hp2Dedge::Neumann::Neumann ( const concepts::BoundaryConditions bc)

Constructor.

Parameters
bcBoundary conditions, defaults to homogeneous

Member Function Documentation

◆ info()

virtual std::ostream & concepts::Neumann< Real >::info ( std::ostream &  os) const
protectedvirtualinherited

Returns information in an output stream.

Reimplemented from concepts::LinearForm< F, G >.

◆ operator()() [1/2]

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

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
edgeThe edge for which the load vector should be computed.
emThe load vector

◆ operator()() [2/2]

template<class F , class G = typename Realtype<F>::type>
virtual void concepts::LinearForm< F, G >::operator() ( const Element< G > &  elm,
ElementMatrix< F > &  em 
) const
pure virtualinherited

Computes the element contribution to the function.

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

Implemented in vectorial::LinearForm< F, G >.

Member Data Documentation

◆ bc_

std::unique_ptr<BoundaryConditions> concepts::Neumann< Real >::bc_
protectedinherited

Reference to the boundary conditions.

Definition at line 100 of file linearForm.hh.


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