hp2D::SumFactorization< F > Class Template Reference

Sum factorization for an element matrix. More...

#include <sumfact.hh>

Public Member Functions

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

Private Attributes

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

Detailed Description

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

Sum factorization for an element matrix.

Todo:
Implement changing order of sum factorization using a and b.
Bug:
If the the sum factorization is reordered using a=0 and b=1, coeff (by use of coeffTmp) is not accessed in the correct order in the first loop to fill sumfact_.
Author
Kersten Schmidt, 2003

Definition at line 37 of file sumfact.hh.

Member Function Documentation

◆ operator()()

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 > &  v,
const ShapeFunction2D< Real > &  u,
const Real  factor = 1.0,
const bool  all = false 
)

Application operator.

Performs the numerical integration using sum factorization and writes the results into the elment matrix em.

Parameters
emElement matrix
jacobianJacobian
coeffCoefficients for the integration
vShape functions of test space
uShape functions of trial space
factorReal-valued factor, i.e. -1 or +1
allBoolean. If set to true, all steps are done, including the addition of zeros.

Member Data Documentation

◆ sumfact_

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

Intermediate matrix for sum factorization.

Definition at line 60 of file sumfact.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich