Class documentation of Concepts

Loading...
Searching...
No Matches

#include <bilinearForm.hh>

Inheritance diagram for hp1D::Jump1Mean2< F >:
concepts::BilinearFormContainer< F, G > concepts::BilinearForm< F, G > concepts::Cloneable concepts::OutputOperator

Public Member Functions

 Jump1Mean2 (const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >())
 
virtual ~Jump1Mean2 ()
 Destructor.
 
virtual void operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const
 
virtual void operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em, const ElementPair< G > &ep) const
 
virtual BilinearFormContainer< F, G > * clone () const
 Virtual copy constructor.
 
bool empty () const
 Returns true if no formula is stored.
 
void transpose ()
 Transpose the bilinearform, i.e. interchange test and trial functions.
 

Protected Member Functions

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

Protected Attributes

RCP< const BilinearForm< F, G > > bf_
 bilinear form is stored as a RCP
 

Detailed Description

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

A function class to calculate element matrices for the product of the jump of the derivative and the mean of the second derivative.

Author
Kersten Schmidt, 2022

Definition at line 240 of file bilinearForm.hh.

Constructor & Destructor Documentation

◆ Jump1Mean2()

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

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

Member Function Documentation

◆ clone()

template<class F , typename G = typename Realtype<F>::type>
virtual BilinearFormContainer< F, G > * concepts::BilinearFormContainer< F, G >::clone ( ) const
inlinevirtualinherited

Virtual copy constructor.

Implements concepts::BilinearForm< F, G >.

Definition at line 158 of file bilinearForm.hh.

◆ empty()

template<class F , typename G = typename Realtype<F>::type>
bool concepts::BilinearFormContainer< F, G >::empty ( ) const
inlineinherited

Returns true if no formula is stored.

Definition at line 163 of file bilinearForm.hh.

◆ info()

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

Returns information in an output stream.

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

◆ operator()() [1/2]

template<class F , typename G = typename Realtype<F>::type>
virtual void concepts::BilinearFormContainer< F, G >::operator() ( const Element< G > &  elmX,
const Element< G > &  elmY,
ElementMatrix< F > &  em 
) const
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

Implements concepts::BilinearForm< F, 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.

◆ transpose()

template<class F , typename G = typename Realtype<F>::type>
void concepts::BilinearFormContainer< F, G >::transpose ( )
inlineinherited

Transpose the bilinearform, i.e. interchange test and trial functions.

Definition at line 166 of file bilinearForm.hh.

Member Data Documentation

◆ bf_

template<class F , typename G = typename Realtype<F>::type>
RCP<const BilinearForm<F,G> > concepts::BilinearFormContainer< F, G >::bf_
protectedinherited

bilinear form is stored as a RCP

Definition at line 174 of file bilinearForm.hh.


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