17#ifndef AGX_STABILITYREPORT_H
18#define AGX_STABILITYREPORT_H
31 class DirectSolverData;
32 class ElementaryConstraint;
56 bool operator < (
const Diff& other )
const {
return m_diff < other.m_diff; }
62 UInt m_permutedRowIndex;
94 , permutedStartRow( permutedStartRow )
115 , constraint( constraint )
116 , constraintEntity( constraintEntity )
117 , elementaryConstraint( elementaryConstraint )
118 , permutedStartRow( permutedStartRow )
145 const agx::Physics::ContactConstraintData& contactConstraint,
146 const agx::Physics::BinaryConstraintData& binaryConstraint,
147 const agx::Physics::ManyBodyConstraintData& manyBodyConstraint );
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXPHYSICS_EXPORT
Elementary constraint base class with interface and global constraint functionality.
Pointer to a entity instance of type Physics.ConstraintBase.
Pointer to a entity instance of type Physics.SolveIsland.
Base class providing referencing counted objects.
Essentially a sparse array of bounds.
agx::VectorPOD< Diff > Container
agx::Real getSolution() const
Diff(const agx::RealValarray &solution, agx::RangeReal range, agx::UInt permutedRowIndex)
agx::UInt getPermutedRowIndex() const
agx::Real getDiff() const
agx::Bool isValid() const
agx::RangeReal getBound() const
const Diff::Container & getDiffs() const
Frame(const agx::RealValarray &solution, const agx::SparseRangeReal &bounds, const agx::String &description)
agx::Vector< Frame > Container
const agx::UInt permutedStartRow
const agx::ConstraintImplementation * constraint
const agx::StabilityReport::Diff diff
PotentialConstraintIssue(const agx::StabilityReport::Diff &diff, const agx::ConstraintImplementation *constraint, const agx::Physics::ConstraintBasePtr constraintEntity, const agx::ElementaryConstraint *elementaryConstraint, const agx::UInt permutedStartRow)
agx::Vector< PotentialConstraintIssue > Container
const agx::ElementaryConstraint * elementaryConstraint
const agx::Physics::ConstraintBasePtr constraintEntity
virtual void report(const agx::RealValarray &z, const agx::SparseRangeReal &bounds, const agx::String &description)
const agx::StabilityReport::PotentialConstraintIssue::Container & getPotentialConstraintIssues() const
PotentialContactIssue::Container m_potentialContactIssues
virtual void finalize(agx::Solver *solver, const agx::Physics::SolveIslandPtr island, const agx::Physics::ContactConstraintData &contactConstraint, const agx::Physics::BinaryConstraintData &binaryConstraint, const agx::Physics::ManyBodyConstraintData &manyBodyConstraint)
PotentialConstraintIssue::Container m_potentialConstraintIssues
virtual ~StabilityReport()
void setEnable(agx::Bool enable)
Frame::Container m_frames
agx::Bool getEnable() const
const agx::StabilityReport::PotentialContactIssue::Container & getPotentialContactIssues() const
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
std::valarray< agx::Real > RealValarray
For this module, vectors are defined using valarray.
AGXCORE_EXPORT const InvalidIndexStruct InvalidIndex