Class documentation of Concepts

Loading...
Searching...
No Matches

#include <linearForm.hh>

Inheritance diagram for hp2D::Riesz< F >:
concepts::LinearForm< F, G > hp2D::LinearFormHelper_0< F > concepts::LinearFormChoice concepts::OutputOperator

Public Member Functions

 Riesz (const concepts::ElementFormulaContainer< F > frm, concepts::BoundaryConditions *bc=0, bool ignoreMissingElem=false)
 
 Riesz (const std::string &str, concepts::BoundaryConditions *bc=0, bool ignoreMissingElem=false)
 
void operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< F > &em) const
 
virtual void operator() (const Element< G > &elm, ElementMatrix< F > &em) const =0
 
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.
 
virtual void setBasis (Basis basis)
 

Public Attributes

Basis basis_
 

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::Riesz< F >

Linear form in 2D.

This linear form computes

\[ \int_K f v \, dx + \int_{\partial K \cap \Gamma_N} g v \, \mathrm{d}s. \]

Currently only on quadrilaterals. The boundary integral is only correct for straigt boundaries.

Author
Kersten Schmidt, 2003
Examples
elasticity2D_tutorial.cc, howToGetStarted.cc, hpFEM2d-simple.cc, hpFEM2d.cc, inhomDirichletBCs.cc, inhomDirichletBCsLagrange.cc, and parallelizationTutorial.cc.

Definition at line 60 of file linearForm.hh.

Constructor & Destructor Documentation

◆ Riesz() [1/2]

template<class F = Real>
hp2D::Riesz< F >::Riesz ( const concepts::ElementFormulaContainer< F >  frm,
concepts::BoundaryConditions bc = 0,
bool  ignoreMissingElem = false 
)

Constructor.

Parameters
frmThe formula, given elementwise
bcBoundary conditions, defaults to homogeneous

◆ Riesz() [2/2]

template<class F = Real>
hp2D::Riesz< F >::Riesz ( const std::string &  str,
concepts::BoundaryConditions bc = 0,
bool  ignoreMissingElem = false 
)

Contructor via a string of real valued Riesz

This will be interpreted as a concepts::ParsedFormula

Parameters
frmThe formula, given as string

Member Function Documentation

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

◆ info()

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

Returns information in an output stream.

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

◆ operator()() [1/2]

template<class F = Real>
void hp2D::Riesz< 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 >.

◆ setBasis()

virtual void concepts::LinearFormChoice::setBasis ( Basis  basis)
inlinevirtualinherited

Definition at line 68 of file linearForm.hh.

Member Data Documentation

◆ basis_

Basis concepts::LinearFormChoice::basis_
mutableinherited

Definition at line 71 of file linearForm.hh.

◆ 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: