Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
hp2D::LaplaceBase< F, G > Class Template Reference

Base class to calculate element matrices for the Laplacian, for both scalar and matrix formulas. More...

#include <bf_laplace.hh>

Inheritance diagram for hp2D::LaplaceBase< F, G >:
Inheritance graph
[legend]
Collaboration diagram for hp2D::LaplaceBase< F, G >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef concepts::Combtype< F,
G >::type 
value_type

Public Member Functions

void data (const concepts::RCP< concepts::SharedJacobianAdj< 2 > > d)
 Set the pointer to the shared data.
concepts::RCP
< concepts::SharedJacobianAdj< 2 > > 
data () const
 Gets the pointer to the shared data.
 LaplaceBase (const concepts::ElementFormulaContainer< F > frm, bool all=false)
 Constructor.
 LaplaceBase (const concepts::ElementFormulaContainer< concepts::Mapping< G, 2 > > frm, bool all=false)

Protected Member Functions

bool assemble_ (const Quad< Real > *elmX, const Quad< Real > *elmY, concepts::ElementMatrix< value_type > &em)
void computeIntermediate_ (const BaseQuad< Real > &elm, const int i=-1, const int j=-1)
 Compute the intermediate data for element matrix computation.

Protected Attributes

bool all_
 Parameter for the sum factorisation.
concepts::ElementFormulaContainer
< F > 
frm_
 Element formula.
concepts::ElementFormulaContainer
< concepts::Mapping< G, 2 > > 
frmM_
 Matrix element formula.
concepts::Array
< concepts::Mapping< G, 2 > > 
intermediateMatrix_
 Intermediate matrix.
concepts::Array< F > intermediateValue_
 Intermediate value.

Detailed Description

template<class F = Real, class G = typename concepts::Realtype<F>::type>
class hp2D::LaplaceBase< F, G >

Base class to calculate element matrices for the Laplacian, for both scalar and matrix formulas.

Test:
test::TestMatrices2D
Author:
Kersten Schmidt, 2003

Definition at line 60 of file bf_laplace.hh.


Member Typedef Documentation

template<class F = Real, class G = typename concepts::Realtype<F>::type>
typedef concepts::Combtype<F,G>::type hp2D::LaplaceBase< F, G >::value_type

Definition at line 62 of file bf_laplace.hh.


Constructor & Destructor Documentation

template<class F = Real, class G = typename concepts::Realtype<F>::type>
hp2D::LaplaceBase< F, G >::LaplaceBase ( const concepts::ElementFormulaContainer< F >  frm,
bool  all = false 
)

Constructor.

The formula frm is evaluated in each quadrature point.

template<class F = Real, class G = typename concepts::Realtype<F>::type>
hp2D::LaplaceBase< F, G >::LaplaceBase ( const concepts::ElementFormulaContainer< concepts::Mapping< G, 2 > >  frm,
bool  all = false 
)

Member Function Documentation

template<class F = Real, class G = typename concepts::Realtype<F>::type>
bool hp2D::LaplaceBase< F, G >::assemble_ ( const Quad< Real > *  elmX,
const Quad< Real > *  elmY,
concepts::ElementMatrix< value_type > &  em 
) [protected]
template<class F, class G = typename concepts::Realtype<F>::type>
void hp2D::BilinearFormHelper_1_1< F, G >::computeIntermediate_ ( const BaseQuad< Real > &  elm,
const int  i = -1,
const int  j = -1 
) [protected, inherited]

Compute the intermediate data for element matrix computation.

Parameters:
iif i=0 or 1, then take only i-th column of Jacobian matrix (for test function)
jif j=0 or 1, then take only j-th column of Jacobian matrix (for trial function)

The Jacobian matrices have to been taken both full (i,j = -1) or both partial (i,j = 0 or 1).

Matrix formulas and complex valued scalar formulas are only implemented for full Jacobians.

template<class F, class G = typename concepts::Realtype<F>::type>
concepts::RCP<concepts::SharedJacobianAdj<2> > hp2D::BilinearFormHelper_1_1< F, G >::data ( ) const [inherited]

Gets the pointer to the shared data.

template<class F, class G = typename concepts::Realtype<F>::type>
void hp2D::BilinearFormHelper_1_1< F, G >::data ( const concepts::RCP< concepts::SharedJacobianAdj< 2 > >  d) [inherited]

Set the pointer to the shared data.


Member Data Documentation

template<class F = Real, class G = typename concepts::Realtype<F>::type>
bool hp2D::LaplaceBase< F, G >::all_ [protected]

Parameter for the sum factorisation.

Reimplemented in hp2D::Laplace< F >, hp2D::Laplace< concepts::Real >, and hp2D::Laplace< Cmplx >.

Definition at line 73 of file bf_laplace.hh.

template<class F, class G = typename concepts::Realtype<F>::type>
concepts::ElementFormulaContainer<F> hp2D::BilinearFormHelper_1_1< F, G >::frm_ [protected, inherited]

Element formula.

Definition at line 216 of file bilinearFormHelper.hh.

template<class F, class G = typename concepts::Realtype<F>::type>
concepts::ElementFormulaContainer<concepts::Mapping<G,2> > hp2D::BilinearFormHelper_1_1< F, G >::frmM_ [protected, inherited]

Matrix element formula.

Definition at line 218 of file bilinearFormHelper.hh.

template<class F, class G = typename concepts::Realtype<F>::type>
concepts::Array<concepts::Mapping<G,2> > hp2D::BilinearFormHelper_1_1< F, G >::intermediateMatrix_ [protected, inherited]

Intermediate matrix.

In case of a scalar formula:

\[\mbox{adj}(J) \mbox{adj}(J)^\top\]

In case of a matrix formula $M$:

\[\mbox{adj}(J) M \mbox{adj}(J)^\top\]

In case of partial Jacobian:

\[\mbox{adj}(J)_{\cdot,j} (\mbox{adj}(J)_{\cdot,i})^\top\]

Definition at line 214 of file bilinearFormHelper.hh.

template<class F, class G = typename concepts::Realtype<F>::type>
concepts::Array<F> hp2D::BilinearFormHelper_1_1< F, G >::intermediateValue_ [protected, inherited]

Intermediate value.

In case of a scalar formula:

\[\frac{f(F_K(\xi))}{\det J}\]

In case of a matrix formula:

\[\frac{1}{\det J}\]

Definition at line 202 of file bilinearFormHelper.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)