87#if MOCHI_LANGUAGE_CPP20
constexpr real kDefaultAnisoLength
Default anisotropic reference length (dimensionless).
MaterialPsdStrategy
Strategy for ensuring positive semi-definite (PSD) Hessian matrices in material models.
@ Projection
Eigenvalue clamping: U * Max(Λ, ε) * U^T.
constexpr real kDefaultAnisoAlpha
Default anisotropic stiffness (α) [Pa].
#define MOCHI_STRUCT_END()
#define MOCHI_FIELD(name)
#define MOCHI_STRUCT_BEGIN(name)
#define MOCHI_ATTRIBUTE(...)
Parameters for the Active Anisotropic ARAP material model.
real GetPhi() const
Returns the elevation angle (φ) [rad] from the stored fiber direction.
static constexpr Real3 ComputeFiberDirection(real theta, real phi)
Computes the fiber direction unit vector from spherical angles.
MaterialPsdStrategy psdStrategy
Strategy for ensuring positive semi-definite Hessian matrices.
real alpha
Anisotropic stiffness (α) along fiber direction [Pa].
real GetTheta() const
Returns the azimuthal angle (θ) [rad] from the stored fiber direction.
Real3 anisoDir
Fiber direction as a unit vector: (cos(φ)cos(θ), sin(φ), cos(φ)sin(θ)).
real length
Anisotropic reference length (dimensionless).
bool operator==(ActiveAnisoArapMaterialParams const &) const =default