Class documentation of Concepts

Loading...
Searching...
No Matches
hp2D::Identity< F > Class Template Referenceabstract

#include <bf_identity.hh>

Inheritance diagram for hp2D::Identity< F >:
concepts::BilinearForm< F, G > hp2D::BilinearFormHelper_0_0< F > concepts::Cloneable concepts::OutputOperator hp2D::LinearFormHelper_0< F >

Public Member Functions

 Identity (const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >(), bool all=false)
 Constructor.
 
virtual Identity< F > * clone () const
 
void operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< F > &em) 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::ElementFormulaContainer< F > formula () const
 
void data (const concepts::RCP< concepts::SharedJacobianDet > d)
 Set the pointer to the shared data.
 
concepts::RCP< concepts::SharedJacobianDetdata () const
 Gets the pointer to the shared data.
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 
void computeIntermediate_ (const BaseQuad< concepts::Real > &elm) const
 

Protected Attributes

concepts::Array< F > intermediateValue_
 
concepts::ElementFormulaContainer< F > frm_
 ElementFormula.
 
concepts::RCP< concepts::SharedJacobianDetsharedData_
 Shared data for vectorial bilinear forms.
 

Detailed Description

template<class F = Real>
class hp2D::Identity< F >

A function class to calculate element matrices for the mass matrix.

Test:
test::TestMatrices2D
Author
Kersten Schmidt, 2003
Examples
BGT_0.cc, RobinBCs.cc, exactDtN.cc, howToGetStarted.cc, hpFEM2d.cc, inhomDirichletBCs.cc, inhomDirichletBCsLagrange.cc, inhomNeumannBCs.cc, and parallelizationTutorial.cc.

Definition at line 57 of file bf_identity.hh.

Member Function Documentation

◆ clone()

template<class F = Real>
virtual Identity< F > * hp2D::Identity< F >::clone ( ) const
virtual

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

Implements concepts::BilinearForm< F, G >.

◆ computeIntermediate_()

template<class F >
void hp2D::LinearFormHelper_0< F >::computeIntermediate_ ( const BaseQuad< concepts::Real > &  elm) const
protectedinherited

Compute the intermediate data for element matrix computation

This method is important for the derivated linear forms.

◆ formula()

template<class F >
const concepts::ElementFormulaContainer< F > hp2D::BilinearFormHelper_0_0< F >::formula ( ) const
inlineinherited

Definition at line 57 of file bilinearFormHelper.hh.

◆ info()

template<class F = Real>
virtual std::ostream & hp2D::Identity< 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 >
concepts::ElementFormulaContainer<F> hp2D::LinearFormHelper_0< F >::frm_
protectedinherited

ElementFormula.

Definition at line 77 of file linearFormHelper.hh.

◆ intermediateValue_

template<class F >
concepts::Array<F> hp2D::LinearFormHelper_0< F >::intermediateValue_
mutableprotectedinherited

Intermediate value (on each quadrature point)

\[f(F_K(\xi))^\top \det J\]

Definition at line 74 of file linearFormHelper.hh.

◆ sharedData_

template<class F >
concepts::RCP<concepts::SharedJacobianDet> hp2D::LinearFormHelper_0< F >::sharedData_
protectedinherited

Shared data for vectorial bilinear forms.

Definition at line 79 of file linearFormHelper.hh.


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