52 [[nodiscard]]
constexpr bool AllTrue()
const;
54#if MOCHI_LANGUAGE_CPP20
152#if MOCHI_LANGUAGE_CPP20
CoulombFrictionModel
Selects which Coulomb friction smoothing model to use.
@ Default
Default Coulomb friction model.
#define MOCHI_STRUCT_END()
#define MOCHI_FIELD(name)
#define MOCHI_STRUCT_BEGIN(name)
[Experimental] Evaluation settings common to the full scene.
CoulombFrictionModel frictionModel
Selects which Coulomb friction smoothing model to use.
bool implicitNormalForceForDissipation
Treat the normal contact force implicitly (if true) or explicitly (if false) for dissipative contact ...
bool fadeFriction
Fade friction coefficient based on normal alignment.
SaturationHessianParams fittedSaturationHessian
Controls whether force-saturation terms use a fitted quadratic Hessian (more stable) or the exact ana...
bool explicitNormals
Use explicit normals (from stage-start kinematics) for the evaluation of friction.
real consistencyResNormStep
Step size for finite-difference consistency check.
bool operator==(ExperimentalEvalParams const &) const =default
bool consistencyResNorm
Validate that the residual is the gradient of the objective by a directional finite-difference consis...
[Experimental] Controls whether force-saturation terms use a fitted quadratic Hessian independently f...
bool jointFriction
Use fitted Hessian for joint-friction saturation.
bool operator==(SaturationHessianParams const &) const =default
constexpr bool AllTrue() const
Returns true iff all three flags are true.
bool contactFriction
Use fitted Hessian for contact-friction saturation.
static constexpr SaturationHessianParams All(bool value)
Construct with all three flags set to value.
bool constraintSaturation
Use fitted Hessian for constraint saturation.