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
Integrator.h
1#ifndef PBAT_SIM_VBD_MULTIGRID_INTEGRATOR_H
2#define PBAT_SIM_VBD_MULTIGRID_INTEGRATOR_H
3
4#include "pbat/Aliases.h"
5
6namespace pbat {
7namespace sim {
8namespace vbd {
9namespace multigrid {
10
11struct Hierarchy;
12
14{
15 public:
16 void Step(Scalar dt, Index substeps, Hierarchy& hierarchy) const;
17 void ComputeAndSortStrainRates(Hierarchy& H, Scalar sdt) const;
18 void ComputeInertialTargetPositions(Hierarchy& H, Scalar sdt, Scalar sdt2) const;
19 void InitializeBCD(Hierarchy& H, Scalar sdt, Scalar sdt2) const;
20 void UpdateVelocity(Hierarchy& H, Scalar sdt) const;
21
22 private:
23};
24
25} // namespace multigrid
26} // namespace vbd
27} // namespace sim
28} // namespace pbat
29
30#endif // PBAT_SIM_VBD_MULTIGRID_INTEGRATOR_H
Definition Integrator.h:14
PBAT's Vertex Block Descent (VBD) anka2024vbd API.
Definition AndersonIntegrator.cpp:10
PBAT simulation algorithms.
The main namespace of the library.
Definition Aliases.h:15
std::ptrdiff_t Index
Index type.
Definition Aliases.h:17
double Scalar
Scalar type.
Definition Aliases.h:18
Definition Hierarchy.h:16