HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
|
Classes | |
class | L2Projection |
Compute the L2-orthogonal projection of a function. More... | |
Functions | |
template<typename T > | |
double | squared_l2_norm (const Eigen::VectorXd &f_dofs, const QuadratureRule &quad, const boost::multi_array< T, 2 > &basis_quad) |
Compute the squared L2-norm of a discrete function. | |
template<typename T > | |
double | l2_norm (const Eigen::VectorXd &f_dofs, const QuadratureRule &quad, const boost::multi_array< T, 2 > &basis_quad) |
Compute the L2-norm of a discrete function. | |
double HArDCore2D::Tests::l2_norm | ( | const Eigen::VectorXd & | f_dofs, |
const QuadratureRule & | quad, | ||
const boost::multi_array< T, 2 > & | basis_quad | ||
) |
Compute the L2-norm of a discrete function.
f_dofs | Vector of DOFs of the discrete function |
quad | Quadrature rule |
basis_quad | Evaluation of the basis at quadrature nodes |
double HArDCore2D::Tests::squared_l2_norm | ( | const Eigen::VectorXd & | f_dofs, |
const QuadratureRule & | quad, | ||
const boost::multi_array< T, 2 > & | basis_quad | ||
) |
Compute the squared L2-norm of a discrete function.
f_dofs | Vector of DOFs of the discrete function |
quad | Quadrature rule |
basis_quad | Evaluation of the basis at quadrature nodes |