HArD::Core2D Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
HybridCore

Classes providing tools to implement schemes having polynomial unknowns on the edges and in the cells. More...

Classes

class  HArDCore2D::HybridCore

Functions

template<typename Function >
void HArDCore2D::HybridCore::quadrature_over_cell (const size_t iT, const Function &f) const
To integrate a function over a cell.

template<typename Function >
void HArDCore2D::HybridCore::quadrature_over_edge (const size_t iF, const Function &f) const
To integrate a function over an edge.

template<typename Function >
double HArDCore2D::HybridCore::integrate_over_cell (const size_t iT, const Function &f) const
Integrates a function over a cell. Use with parcimony, expensive (re-compute quadratures)

template<typename Function >
double HArDCore2D::HybridCore::integrate_over_edge (const size_t iF, const Function &f) const
Integrates a function over an edge. Use with parcimony, expensive (re-compute quadratures)

template<typename Function >
double HArDCore2D::HybridCore::integrate_over_domain (const Function &f) const
Integrates a function over the domaine. Use with parcimony, expensive (re-compute quadratures)

template<typename Function >
Eigen::VectorXd HArDCore2D::HybridCore::interpolate (const Function &f, size_t doe) const
Compute the interpolant in the discrete space of a continuous function.

size_t HArDCore2D::HybridCore::nlocal_cell_dofs ()
number of degrees of freedom in each cell (dimension of polynomial space)

size_t HArDCore2D::HybridCore::ntotal_cell_dofs ()
total number of cell degrees of freedom

size_t HArDCore2D::HybridCore::nlocal_edge_dofs ()
number of degrees of freedom on each edge (dimension of polynomial space)

size_t HArDCore2D::HybridCore::ntotal_edge_dofs ()
total number of edge degrees of freedom

size_t HArDCore2D::HybridCore::nhighorder_dofs ()
total number of cell degrees of freedom with polynomials up to order k+1

total number of degrees of freedom for gradients

size_t HArDCore2D::HybridCore::ninternal_edge_dofs ()
total number of edge degrees of freedom for internal edges

size_t HArDCore2D::HybridCore::nboundary_edge_dofs ()
total number of edge degrees of freedom for boundary edges

size_t HArDCore2D::HybridCore::ntotal_dofs ()
Total number of degrees of freedom.

Detailed Description

Classes providing tools to implement schemes having polynomial unknowns on the edges and in the cells.