PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
|
Divergence-free polynomial basis \( \left\{ \mathbf{P}_i(X) \; \text{s.t.} \; \nabla_X \mathbf{P}_i = 0 \right\} \) in dimensions \( d \) and order \( p \). More...
#include <Basis.h>
Public Types | |
using | BaseType = typename detail::DivergenceFreeBasis<Dims, Order> |
Base type. | |
Public Member Functions | |
Matrix< kSize, kDims > | eval (Vector< kDims > const &X) const |
Divergence-free polynomial basis \( \left\{ \mathbf{P}_i(X) \; \text{s.t.} \; \nabla_X \mathbf{P}_i = 0 \right\} \) in dimensions \( d \) and order \( p \).
The basis satisfies \( \nabla_X \cdot \mathbf{P}_i = 0 \) on the reference simplex in dimensions \( d \), e.g.
See [10]
Dims | Spatial dimensions |
Order | Polynomial order |
|
inline |
X |