PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
pbat::math::DynamicQuadrature< Dims, Order > Struct Template Reference

Quadrature rule with variable points and weights. More...

#include <MomentFitting.h>

Public Attributes

MatrixX points
 
VectorX weights
 

Static Public Attributes

static auto constexpr kOrder = Order
 Polynomial order.
 
static auto constexpr kDims = Dims
 Spatial dimensions.
 

Detailed Description

template<int Dims, int Order>
struct pbat::math::DynamicQuadrature< Dims, Order >

Quadrature rule with variable points and weights.

Template Parameters
DimsSpatial dimensions
OrderPolynomial order

Member Data Documentation

◆ points

template<int Dims, int Order>
MatrixX pbat::math::DynamicQuadrature< Dims, Order >::points

\( d \times n \) array of quadrature points \( Xg \), where \( n \) is the number of quadrature points

◆ weights

template<int Dims, int Order>
VectorX pbat::math::DynamicQuadrature< Dims, Order >::weights

\( n \times 1 \) array of quadrature weights \( wg \) associated with \( Xg \)


The documentation for this struct was generated from the following file: