17 #ifndef AGX_REGULARIZATION_PARAMETERS_H 18 #define AGX_REGULARIZATION_PARAMETERS_H 48 bool isHolonomic()
const;
119 void setIndexSetState( int8_t state );
125 int8_t getIndexSetState()
const;
135 return (m_type & 0xff) == HOLONOMIC;
151 return Real(4.0 / ( h * h * ( 1.0 + 4.0 * m_damping / h ) ) * m_compliance);
153 return Real(1.0) / h * m_compliance;
159 return (int8_t) ((m_type >> 8) & 0xff );
agx::Real getCompliance() const
AGXFMI_EXPORT InputVariable_Real * setCompliance(agx::Constraint *constraint)
agx::Real getDiagonalPerturbation(agx::Real h) const
Internal method used by solvers.
#define AGXPHYSICS_EXPORT
agx::Real getDamping() const
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
int8_t getIndexSetState() const
Used by the solver.
All ghost variables have compliance and damping attributes.
AGXFMI_EXPORT InputVariable_Real * setDamping(agx::Constraint *constraint)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...