SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::ActiveAnisoArapMaterialParams Struct Reference

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.

Detailed Description

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.

See also
Anisotropic Elasticity for Inversion-Safety and Element Rehabilitation (Kim et al., 2019)

Definition at line 35 of file active_aniso_arap_params.h.

Member Function Documentation

◆ ComputeFiberDirection()

Real3 superdex::ActiveAnisoArapMaterialParams::ComputeFiberDirection ( real theta,
real phi )
staticnodiscardconstexpr

Computes the fiber direction unit vector from spherical angles.

Parameters
[in]thetaAzimuthal angle (θ) [rad].
[in]phiElevation angle (φ) [rad].
Returns
Unit vector: (cos(φ)cos(θ), sin(φ), cos(φ)sin(θ)).

Definition at line 34 of file active_aniso_arap_params_inl.h.

◆ GetPhi()

real superdex::ActiveAnisoArapMaterialParams::GetPhi ( ) const
inlinenodiscard

Returns the elevation angle (φ) [rad] from the stored fiber direction.

See also
ComputeFiberDirection, GetTheta

Definition at line 30 of file active_aniso_arap_params_inl.h.

◆ GetTheta()

real superdex::ActiveAnisoArapMaterialParams::GetTheta ( ) const
inlinenodiscard

Returns the azimuthal angle (θ) [rad] from the stored fiber direction.

See also
ComputeFiberDirection, GetPhi

Definition at line 26 of file active_aniso_arap_params_inl.h.

◆ operator==()

bool superdex::ActiveAnisoArapMaterialParams::operator== ( ActiveAnisoArapMaterialParams const & ) const
default

Member Data Documentation

◆ alpha

real superdex::ActiveAnisoArapMaterialParams::alpha = kDefaultAnisoAlpha

Anisotropic stiffness (α) along fiber direction [Pa].

Note
Must not be negative.

Definition at line 41 of file active_aniso_arap_params.h.

◆ anisoDir

Real3 superdex::ActiveAnisoArapMaterialParams::anisoDir = {1_r, 0_r, 0_r}

Fiber direction as a unit vector: (cos(φ)cos(θ), sin(φ), cos(φ)sin(θ)).

See also
ComputeFiberDirection, GetTheta, GetPhi

Definition at line 55 of file active_aniso_arap_params.h.

◆ length

real superdex::ActiveAnisoArapMaterialParams::length = kDefaultAnisoLength

Anisotropic reference length (dimensionless).

Note
Must not be negative.

Definition at line 48 of file active_aniso_arap_params.h.

◆ psdStrategy

MaterialPsdStrategy superdex::ActiveAnisoArapMaterialParams::psdStrategy = MaterialPsdStrategy::Projection

Strategy for ensuring positive semi-definite Hessian matrices.

See also
MaterialPsdStrategy

Definition at line 62 of file active_aniso_arap_params.h.


The documentation for this struct was generated from the following files: