Class documentation of Concepts

Loading...
Searching...
No Matches
hp1D::GradLinearForm< F > Class Template Referenceabstract

#include <linearForm.hh>

Inheritance diagram for hp1D::GradLinearForm< F >:
concepts::LinearForm< F, G > hp1D::LinearFormHelper< i, F > concepts::OutputOperator

Public Member Functions

 GradLinearForm (const concepts::ElementFormulaContainer< F > frm)
 
void operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< F > &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.
 

Detailed Description

template<typename F = Real>
class hp1D::GradLinearForm< F >

Linear form on edges in nD.

This linear form computes

\[ \int_{K} f v' \, ds \]

, where $K$ is a set of edges. first derivative $f'$ is interpolated on the quadrature points.

Author
Mengyu Wang, 2010

Definition at line 138 of file linearForm.hh.

Constructor & Destructor Documentation

◆ GradLinearForm()

template<typename F = Real>
hp1D::GradLinearForm< F >::GradLinearForm ( const concepts::ElementFormulaContainer< F >  frm)

Constructor.

Parameters
frmFormula.

Member Function Documentation

◆ info()

template<typename F = Real>
virtual std::ostream & hp1D::GradLinearForm< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

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

◆ operator()() [1/2]

template<typename F = Real>
void hp1D::GradLinearForm< F >::operator() ( const concepts::Element< Real > &  elm,
concepts::ElementMatrix< F > &  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]

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 >.


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