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::BroydenIntegrator Class Reference

Accelerated Anderson accelerated VBD integrator. More...

#include <BroydenIntegrator.h>

Inheritance diagram for pbat::sim::vbd::BroydenIntegrator:
pbat::sim::vbd::Integrator

Public Member Functions

PBAT_API BroydenIntegrator (Data data)
 Construct a new Broyden Integrator object.
 
- Public Member Functions inherited from pbat::sim::vbd::Integrator
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)
 

Protected Member Functions

virtual void Solve (Scalar sdt, Scalar sdt2, Index iterations) override
 Run the VBD accelerated optimizer on the BDF1 problem.
 
- Protected Member Functions inherited from pbat::sim::vbd::Integrator
PBAT_API void InitializeSolve (Scalar sdt, Scalar sdt2)
 
PBAT_API void RunVbdIteration (Scalar sdt, Scalar sdt2)
 
PBAT_API void SolveVertex (Index i, Scalar sdt, Scalar sdt2)
 
PBAT_API void ExportTrace (Scalar sdt, Index substep)
 
PBAT_API void TryTraceIteration (Scalar sdt)
 

Additional Inherited Members

- Public Attributes inherited from pbat::sim::vbd::Integrator
Data data
 

Detailed Description

Accelerated Anderson accelerated VBD integrator.

Constructor & Destructor Documentation

◆ BroydenIntegrator()

pbat::sim::vbd::BroydenIntegrator::BroydenIntegrator ( Data data)

Construct a new Broyden Integrator object.

Parameters
dataSimulation data

Member Function Documentation

◆ Solve()

void pbat::sim::vbd::BroydenIntegrator::Solve ( Scalar sdt,
Scalar sdt2,
Index iterations )
overrideprotectedvirtual

Run the VBD accelerated optimizer on the BDF1 problem.

Parameters
sdtSubstep
sdt2Substep squared
iterationsNumber of iterations

Reimplemented from pbat::sim::vbd::Integrator.


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