|
HArD::Core3D
Hybrid Arbitrary Degree::Core 3D - Library to implement 3D schemes with vertex, edge, face and cell polynomials as unknowns
|
Scalar monomial basis on a cell. More...
#include <basis.hpp>
Public Types | |
| typedef double | FunctionValue |
| typedef VectorRd | GradientValue |
| typedef VectorRd | CurlValue |
| typedef double | DivergenceValue |
| typedef MatrixRd | HessianValue |
| typedef Cell | GeometricSupport |
Public Member Functions | |
| MonomialScalarBasisCell (const Cell &T, size_t degree) | |
| Constructor. | |
| size_t | dimension () const |
| Compute the dimension of the basis. | |
| FunctionValue | function (size_t i, const VectorRd &x) const |
| Evaluate the i-th basis function at point x. | |
| GradientValue | gradient (size_t i, const VectorRd &x) const |
| Evaluate the gradient of the i-th basis function at point x. | |
| HessianValue | hessian (size_t i, const VectorRd &x) const |
| Evaluate the hessian of the i-th basis function at point x. | |
| size_t | max_degree () const |
| Returns the maximum degree of the basis functions. | |
| VectorZd | powers (size_t i) const |
| Returns the powers of the i-th basis function (its degree can be found using powers(i).sum()) | |
Static Public Attributes | |
| static constexpr const TensorRankE | tensorRank = Scalar |
| static constexpr const bool | hasAncestor = false |
| static const bool | hasFunction = true |
| static const bool | hasGradient = true |
| static const bool | hasCurl = false |
| static const bool | hasDivergence = false |
| static const bool | hasHessian = true |
| static const bool | hasCurlCurl = false |
Scalar monomial basis on a cell.