|
SuperDex Physics C++ API
|
Parameters for the Active Anisotropic ARAP material model. More...
#include <active_aniso_arap_params.h>
Public Member Functions | |
| real | GetPhi () const |
| Returns the elevation angle (φ) [rad] from the stored fiber direction. | |
| real | GetTheta () const |
| Returns the azimuthal angle (θ) [rad] from the stored fiber direction. | |
| bool | operator== (ActiveAnisoArapMaterialParams const &) const =default |
Static Public Member Functions | |
| static constexpr Real3 | ComputeFiberDirection (real theta, real phi) |
| Computes the fiber direction unit vector from spherical angles. | |
Public Attributes | |
| real | alpha = kDefaultAnisoAlpha |
| Anisotropic stiffness (α) along fiber direction [Pa]. | |
| Real3 | anisoDir = {1_r, 0_r, 0_r} |
| Fiber direction as a unit vector: (cos(φ)cos(θ), sin(φ), cos(φ)sin(θ)). | |
| real | length = kDefaultAnisoLength |
| Anisotropic reference length (dimensionless). | |
| MaterialPsdStrategy | psdStrategy = MaterialPsdStrategy::Projection |
| Strategy for ensuring positive semi-definite Hessian matrices. | |
Parameters for the Active Anisotropic ARAP material model.
Anisotropic energy term that models directional fiber contraction. The fiber direction is specified in spherical coordinates (θ, φ) and internally stored as a unit direction vector.
Definition at line 35 of file active_aniso_arap_params.h.
|
staticnodiscardconstexpr |
Computes the fiber direction unit vector from spherical angles.
| [in] | theta | Azimuthal angle (θ) [rad]. |
| [in] | phi | Elevation angle (φ) [rad]. |
Definition at line 34 of file active_aniso_arap_params_inl.h.
|
inlinenodiscard |
Returns the elevation angle (φ) [rad] from the stored fiber direction.
Definition at line 30 of file active_aniso_arap_params_inl.h.
|
inlinenodiscard |
Returns the azimuthal angle (θ) [rad] from the stored fiber direction.
Definition at line 26 of file active_aniso_arap_params_inl.h.
|
default |
| real superdex::ActiveAnisoArapMaterialParams::alpha = kDefaultAnisoAlpha |
Anisotropic stiffness (α) along fiber direction [Pa].
Definition at line 41 of file active_aniso_arap_params.h.
| Real3 superdex::ActiveAnisoArapMaterialParams::anisoDir = {1_r, 0_r, 0_r} |
Fiber direction as a unit vector: (cos(φ)cos(θ), sin(φ), cos(φ)sin(θ)).
Definition at line 55 of file active_aniso_arap_params.h.
| real superdex::ActiveAnisoArapMaterialParams::length = kDefaultAnisoLength |
Anisotropic reference length (dimensionless).
Definition at line 48 of file active_aniso_arap_params.h.
| MaterialPsdStrategy superdex::ActiveAnisoArapMaterialParams::psdStrategy = MaterialPsdStrategy::Projection |
Strategy for ensuring positive semi-definite Hessian matrices.
Definition at line 62 of file active_aniso_arap_params.h.