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

Public Member Functions | Private Attributes
hp2D::SumFactorization< F > Class Template Reference

Sum factorization for an element matrix. More...

#include <sumfact.hh>

List of all members.

Public Member Functions

template<typename T >
void operator() (concepts::ElementMatrix< F > &em, const concepts::Array< F > &jacobian, T *coeff, const ShapeFunction2D< Real > &u, const ShapeFunction2D< Real > &v, const Real factor=1.0, const bool all=false)
 Application operator.

Private Attributes

concepts::Array< F > sumfact_
 Intermediate matrix for sum factorization.

Detailed Description

template<typename F = Real>
class hp2D::SumFactorization< F >

Sum factorization for an element matrix.

Todo:
Implement changing order of sum factorization, possibility is there
Bug:
If the loops are reordered using a and b on line 58, coeff (by use of coeffTmp) is not accessed in the correct order in the first loop to fill sumfact1_.
Author:
Kersten Schmidt, 2003

Definition at line 35 of file sumfact.hh.


Member Function Documentation

template<typename F = Real>
template<typename T >
void hp2D::SumFactorization< F >::operator() ( concepts::ElementMatrix< F > &  em,
const concepts::Array< F > &  jacobian,
T *  coeff,
const ShapeFunction2D< Real > &  u,
const ShapeFunction2D< Real > &  v,
const Real  factor = 1.0,
const bool  all = false 
)

Application operator.

Adds the contribution of coeff to em.

Parameters:
emElement matrix
jacobianJacobian
coeffCoefficients for the integration
uLeft shape functions
vRight shape functions
factorFactor, i.e. -1 or +1
all,:if true, all steps are done, multiplying sometimes with 0

Member Data Documentation

template<typename F = Real>
concepts::Array<F> hp2D::SumFactorization< F >::sumfact_ [private]

Intermediate matrix for sum factorization.

Definition at line 57 of file sumfact.hh.


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

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