HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
xgrad-test.hpp File Reference
#include <boost/math/constants/constants.hpp>
Include dependency graph for xgrad-test.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  HArDCore2D
 

Functions

template<typename T >
double HArDCore2D::squared_l2_error (const std::function< T(const Eigen::Vector2d &)> &f, const Eigen::VectorXd &fX, const boost::multi_array< T, 2 > &fX_basis_quad, const QuadratureRule &quad_X)
 

Variables

static const double HArDCore2D::PI = boost::math::constants::pi<double>()
 
static std::function< double(const Eigen::Vector2d &)> HArDCore2D::trigonometric_scalar
 
static std::function< Eigen::Vector2d(const Eigen::Vector2d &)> HArDCore2D::grad_trigonometric_scalar
 
static std::function< double(const Eigen::Vector2d &)> HArDCore2D::constant_scalar
 
static std::function< Eigen::Vector2d(const Eigen::Vector2d &)> HArDCore2D::grad_constant_scalar
 
static std::function< double(const Eigen::Vector2d &)> HArDCore2D::linear_scalar
 
static std::function< Eigen::Vector2d(const Eigen::Vector2d &)> HArDCore2D::grad_linear_scalar
 
static std::function< double(const Eigen::Vector2d &)> HArDCore2D::quadratic_scalar
 
static std::function< Eigen::Vector2d(const Eigen::Vector2d &)> HArDCore2D::grad_quadratic_scalar