Class documentation of Concepts

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

#include <bilinearForm.hh>

Inheritance diagram for hp1D::Jump1Jump1< F >:
concepts::BilinearForm< F, G > hp1D::BilinearFormVtxHelper< F > concepts::Cloneable concepts::OutputOperator

Public Member Functions

 Jump1Jump1 (const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >())
 
virtual ~Jump1Jump1 ()
 Destructor.
 
void operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< F > &em) const
 Operator.
 
virtual Jump1Jump1< F > * clone () const
 
virtual void operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const =0
 
virtual void operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em, const ElementPair< G > &ep) const
 
const concepts::ElementFormula< F > * formula () const
 Getter for formula.
 
const concepts::Array< Real > getInvJacobeanDet (const hp1D::Element< Real > &elm) const
 
const concepts::Array< Real > getInvJacobeanDetSq (const hp1D::Element< Real > &elm) const
 
const concepts::Array< Real > getTangentialSecondDerivative (const hp1D::Element< Real > &elm) const
 
const concepts::Array< F > getFrmVal (const hp1D::Element< Real > &elm) const
 

Protected Member Functions

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

Protected Attributes

const concepts::ElementFormulaContainer< F > frm_
 ElementFormula.
 

Detailed Description

template<class F = Real>
class hp1D::Jump1Jump1< F >

A function class to calculate element matrices for the product of the jumps of the derivative.

Author
Christian Heier, 2012

Definition at line 166 of file bilinearForm.hh.

Constructor & Destructor Documentation

◆ Jump1Jump1()

template<class F = Real>
hp1D::Jump1Jump1< F >::Jump1Jump1 ( const concepts::ElementFormulaContainer< F >  frm = concepts::ElementFormulaContainer<F>())
inline

Constructor. The formula frm is evaluated in each quadrature point.

Definition at line 173 of file bilinearForm.hh.

Member Function Documentation

◆ clone()

template<class F = Real>
virtual Jump1Jump1< F > * hp1D::Jump1Jump1< F >::clone ( ) const
inlinevirtual

Virtual constructor. Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.

Implements concepts::BilinearForm< F, G >.

Definition at line 185 of file bilinearForm.hh.

◆ formula()

template<class F = Real>
const concepts::ElementFormula< F > * hp1D::BilinearFormVtxHelper< F >::formula ( ) const
inlineinherited

Getter for formula.

Definition at line 272 of file formula.hh.

◆ getFrmVal()

template<class F = Real>
const concepts::Array< F > hp1D::BilinearFormVtxHelper< F >::getFrmVal ( const hp1D::Element< Real > &  elm) const
inherited

Returns the values of frm on {0,1}

Returns
Array of size 2, with the values frm on {0,1}

◆ getInvJacobeanDet()

template<class F = Real>
const concepts::Array< Real > hp1D::BilinearFormVtxHelper< F >::getInvJacobeanDet ( const hp1D::Element< Real > &  elm) const
inherited

Returns the inverse of the jacobean determinant (i.J.d.)

Returns
Array of size 2, with the values i.J.d. on {0,1}

◆ getInvJacobeanDetSq()

template<class F = Real>
const concepts::Array< Real > hp1D::BilinearFormVtxHelper< F >::getInvJacobeanDetSq ( const hp1D::Element< Real > &  elm) const
inherited

Returns the inverse of the jacobean determinant squared (i.J.d.s.)

Returns
Array of size 2, with the values of i.J.d.s. on {0,1}

◆ getTangentialSecondDerivative()

template<class F = Real>
const concepts::Array< Real > hp1D::BilinearFormVtxHelper< F >::getTangentialSecondDerivative ( const hp1D::Element< Real > &  elm) const
inherited

Returns the second tangential derivative (s.t.d.) of the inverse Parametrisation on {0,1}

Returns
Array of size 2, with the values of the s.t.d. on {0,1}

◆ info()

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

Returns information in an output stream.

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

◆ operator()() [1/2]

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

Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em.

Postcondition
The returned matrix em has the correct size.
Parameters
elmXLeft element (test functions)
elmYRight element (trial functions)
emReturn element matrix

Implemented in vectorial::BilinearForm< F, G >, concepts::BilinearFormLiCo< F, G >, concepts::BilinearFormContainer< F, G >, concepts::BilinearF_Sum< F, H, J, G >, and concepts::BilinearF_W< F, H, J, G >.

◆ operator()() [2/2]

template<class F , class G = typename Realtype<F>::type>
virtual void concepts::BilinearForm< F, G >::operator() ( const Element< G > &  elmX,
const Element< G > &  elmY,
ElementMatrix< F > &  em,
const ElementPair< G > &  ep 
) const
inlinevirtualinherited

Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em. If this method is not reimplemented in a derived class, the default behaviour is to call the application operator without ep.

Postcondition
The returned matrix em has the correct size.
Parameters
elmXLeft element
elmYRight element
emReturn element matrix
epElement pair holding more information on the pair elmX and elmY

Reimplemented in vectorial::BilinearForm< F, G >.

Definition at line 57 of file bilinearForm.hh.

Member Data Documentation

◆ frm_

template<class F = Real>
const concepts::ElementFormulaContainer<F> hp1D::BilinearFormVtxHelper< F >::frm_
protectedinherited

ElementFormula.

Definition at line 308 of file formula.hh.


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