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
ChebyshevIntegrator.h
1#ifndef PBAT_SIM_VBD_CHEBYSHEVINTEGRATOR_H
2#define PBAT_SIM_VBD_CHEBYSHEVINTEGRATOR_H
3
4#include "Integrator.h"
5#include "PhysicsBasedAnimationToolkitExport.h"
6
7namespace pbat::sim::vbd {
8
9class ChebyshevIntegrator : public Integrator
10{
11 public:
12 PBAT_API ChebyshevIntegrator(Data data);
13
14 protected:
15 virtual void Solve(Scalar sdt, Scalar sdt2, Index iterations) override;
16
17 private:
18 MatrixX xkm1;
19 MatrixX xkm2;
20};
21
22} // namespace pbat::sim::vbd
23
24#endif // PBAT_SIM_VBD_CHEBYSHEVINTEGRATOR_H
PBAT's Vertex Block Descent (VBD) anka2024vbd API.
Definition AndersonIntegrator.cpp:10
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic-size matrix type.
Definition Aliases.h:34
std::ptrdiff_t Index
Index type.
Definition Aliases.h:17
double Scalar
Scalar type.
Definition Aliases.h:18
VBD simulation configuration.
Definition Data.h:15