hp1D::Jump1Jump1< F > Class Template Referenceabstract

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

#include <bilinearForm.hh>

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

Public Member Functions

virtual Jump1Jump1< F > * clone () const
 Virtual constructor. More...
 
virtual BilinearForm * clone () const=0
 Virtual constructor. More...
 
const concepts::ElementFormula< Real > * formula () const
 Getter for formula. More...
 
const concepts::Array< Real > getFrmVal (const hp1D::Element< Real > &elm) const
 Returns the values of frm on {0,1}. More...
 
const concepts::Array< Real > getInvJacobeanDet (const hp1D::Element< Real > &elm) const
 Returns the inverse of the jacobean determinant (i.J.d.) More...
 
const concepts::Array< Real > getInvJacobeanDetSq (const hp1D::Element< Real > &elm) const
 Returns the inverse of the jacobean determinant squared (i.J.d.s.) More...
 
const concepts::Array< Real > getTangentialSecondDerivative (const hp1D::Element< Real > &elm) const
 Returns the second tangential derivative (s.t.d.) of the inverse Parametrisation on {0,1}. More...
 
 Jump1Jump1 (const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >())
 Constructor. More...
 
void operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< F > &em) const
 Operator. More...
 
virtual void operator() (const Element< Real > &elmX, const Element< Real > &elmY, ElementMatrix< Real > &em) const=0
 Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em. More...
 
virtual void operator() (const Element< Real > &elmX, const Element< Real > &elmY, ElementMatrix< Real > &em, const ElementPair< Real > &ep) const
 Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em. More...
 
virtual ~Jump1Jump1 ()
 Destructor. More...
 

Protected Member Functions

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

Protected Attributes

const concepts::ElementFormulaContainer< Real > frm_
 ElementFormula. More...
 

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 165 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 172 of file bilinearForm.hh.

◆ ~Jump1Jump1()

template<class F = Real>
virtual hp1D::Jump1Jump1< F >::~Jump1Jump1 ( )
virtual

Destructor.

Member Function Documentation

◆ clone() [1/2]

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

Definition at line 184 of file bilinearForm.hh.

◆ clone() [2/2]

virtual BilinearForm* concepts::BilinearForm< Real , Real >::clone ( ) const
pure virtualinherited

Virtual constructor.

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

◆ formula()

const concepts::ElementFormula<Real >* hp1D::BilinearFormVtxHelper< Real >::formula
inlineinherited

Getter for formula.

Definition at line 272 of file formula.hh.

◆ getFrmVal()

const concepts::Array<Real > hp1D::BilinearFormVtxHelper< Real >::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()

const concepts::Array<Real> hp1D::BilinearFormVtxHelper< Real >::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()

const concepts::Array<Real> hp1D::BilinearFormVtxHelper< Real >::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()

const concepts::Array<Real> hp1D::BilinearFormVtxHelper< Real >::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< Real, Real >.

◆ operator()() [1/3]

template<class F = Real>
void hp1D::Jump1Jump1< F >::operator() ( const concepts::Element< Real > &  elmX,
const concepts::Element< Real > &  elmY,
concepts::ElementMatrix< F > &  em 
) const

Operator.

◆ operator()() [2/3]

virtual void concepts::BilinearForm< Real , Real >::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

◆ operator()() [3/3]

virtual void concepts::BilinearForm< Real , Real >::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

Definition at line 57 of file bilinearForm.hh.

Member Data Documentation

◆ frm_

const concepts::ElementFormulaContainer<Real > hp1D::BilinearFormVtxHelper< Real >::frm_
protectedinherited

ElementFormula.

Definition at line 308 of file formula.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich