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::sim::vbd::Integrator Class Reference
Inheritance diagram for pbat::sim::vbd::Integrator:
pbat::sim::vbd::AndersonIntegrator pbat::sim::vbd::BroydenIntegrator pbat::sim::vbd::ChebyshevIntegrator pbat::sim::vbd::NesterovIntegrator

Public Member Functions

PBAT_API Integrator (Data data)
 
PBAT_API void Step (Scalar dt, Index iterations, Index substeps=Index{1})
 
PBAT_API void TraceNextStep (std::string const &path=".", Index t=-1)
 Mark next time step for optimization tracing.
 
PBAT_API Scalar ObjectiveFunction (Eigen::Ref< MatrixX const > const &xk, Eigen::Ref< MatrixX const > const &xtilde, Scalar dt)
 The following methods are made public for debugging purposes (generally).
 
PBAT_API VectorX ObjectiveFunctionGradient (Eigen::Ref< MatrixX const > const &xk, Eigen::Ref< MatrixX const > const &xtilde, Scalar dt)
 

Public Attributes

Data data
 

Protected Member Functions

PBAT_API void InitializeSolve (Scalar sdt, Scalar sdt2)
 
PBAT_API void RunVbdIteration (Scalar sdt, Scalar sdt2)
 
virtual PBAT_API void Solve (Scalar sdt, Scalar sdt2, Index iterations)
 
PBAT_API void SolveVertex (Index i, Scalar sdt, Scalar sdt2)
 
PBAT_API void ExportTrace (Scalar sdt, Index substep)
 
PBAT_API void TryTraceIteration (Scalar sdt)
 

Member Function Documentation

◆ Solve()

void pbat::sim::vbd::Integrator::Solve ( Scalar sdt,
Scalar sdt2,
Index iterations )
protectedvirtual

◆ TraceNextStep()

PBAT_API void pbat::sim::vbd::Integrator::TraceNextStep ( std::string const & path = ".",
Index t = -1 )

Mark next time step for optimization tracing.

Parameters
pathDirectory in which to save optimization traces.
tTime step index.

The documentation for this class was generated from the following files: