1# ifndef _GMPOLY_EDGE_HPP
2# define _GMPOLY_EDGE_HPP
62 const MonomialScalarBasisEdge &
basis1,
63 const MonomialScalarBasisEdge &
basis2,
68template<
typename BasisType1,
typename BasisType2>
89template<
typename BasisType1,
typename BasisType2,
size_t N>
97 Eigen::MatrixXd
gm = Eigen::MatrixXd::Zero(
basis1.dimension(),
basis2.dimension());
103 for (
size_t i=0;
i<
N;
i++){
110template<
typename BasisType>
119Eigen::MatrixXd
GMDer(
121 const MonomialScalarBasisEdge &
basis1,
122 const MonomialScalarBasisEdge &
basis2,
127template<
typename BasisType1,
typename BasisType2>
149template<
typename BasisType1,
typename BasisType2>
161template<
typename BasisType1,
typename BasisType2>
Basis for the space of gradients of polynomials.
Definition basis.hpp:1242
Vector family obtained by tensorization of a scalar family.
Definition basis.hpp:564
for i
Definition convergence_analysis.m:48
std::vector< double > MonomialEdgeIntegralsType
Type for list of edge integrals of monomials.
Definition GMpoly_edge.hpp:34
MonomialCellIntegralsType CheckIntegralsDegree(const Cell &T, const size_t degree, const MonomialCellIntegralsType &mono_int_map={})
Checks if the degree of an existing list of monomial integrals is sufficient, other re-compute and re...
Definition GMpoly_cell.cpp:76
MonomialEdgeIntegralsType IntegrateEdgeMonomials(const Edge &E, const size_t maxdeg)
Compute all integrals of edge monomials up to a total degree.
Definition GMpoly_edge.cpp:6
Eigen::MatrixXd transformGM(const Family< BasisType > &family_basis, const char RC, const Eigen::MatrixXd &anc_GM)
Transforms a Gram Matrix from an ancestor to a family basis.
Definition GMpoly_cell.hpp:77
Eigen::MatrixXd GMDer(const Edge &E, const MonomialScalarBasisEdge &basis1, const MonomialScalarBasisEdge &basis2, MonomialEdgeIntegralsType mono_int_map={})
Computes the Gram Matrix of the derivative of a monomial basis with another monomial basis.
Definition GMpoly_edge.cpp:49
Eigen::MatrixXd GramMatrix(const Cell &T, const MonomialScalarBasisCell &basis1, const MonomialScalarBasisCell &basis2, MonomialCellIntegralsType mono_int_map={})
Computes the Gram Matrix of a pair of local scalar monomial bases.
Definition GMpoly_cell.cpp:86
depending on the Matrix Market format indicated by or array(dense array storage). The data will be duplicated % as appropriate if symmetry is indicated in the header. % % Optionally
Definition mhd-solutions.hpp:9