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
andb
.
- Bug:
- If the the sum factorization is reordered using
a=0
andb=1
,coeff
(by use ofcoeffTmp
) is not accessed in the correct order in the first loop to fillsumfact_
.
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
-
em Element matrix jacobian Jacobian coeff Coefficients for the integration v Shape functions of test space u Shape functions of trial space factor Real-valued factor, i.e. -1 or +1 all Boolean. If set to true, all steps are done, including the addition of zeros.
Member Data Documentation
◆ sumfact_
template<typename F = Real>
|
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:
- hp2D/sumfact.hh