#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) |
Sum factorization for an element matrix.
a
and b
. a=0
and b=1
, coeff
(by use of coeffTmp
) is not accessed in the correct order in the first loop to fill sumfact_
. Definition at line 37 of file sumfact.hh.
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
.
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. |