SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::materials Namespace Reference

Variables

template<class ParamsT>
constexpr bool kIsotropicReferenceStiffness = false
 Opt-in trait: a material params type declares this true iff its reference (F=I) tangent is isotropic — i.e.
template<>
constexpr bool kIsotropicReferenceStiffness< ArapMaterialParams > = true
template<>
constexpr bool kIsotropicReferenceStiffness< LinearElasticMaterialParams > = true
template<>
constexpr bool kIsotropicReferenceStiffness< SmithNeoHookeanMaterialParams > = true
template<>
constexpr bool kIsotropicReferenceStiffness< StVenantKirchhoffMaterialParams > = true

Variable Documentation

◆ kIsotropicReferenceStiffness

template<class ParamsT>
bool superdex::materials::kIsotropicReferenceStiffness = false
inlineconstexpr

Opt-in trait: a material params type declares this true iff its reference (F=I) tangent is isotropic — i.e.

invariant under rotation, so it is fully described by the two Lamé scalars (λ, μ) with no directional coupling.

The primary template is false. A material specializes it to true only when this holds by construction, independently of the specific parameter values. Consumers may optionally use it to take faster, isotropy-specific code paths where applicable; leaving it false is always correct and simply forgoes those paths.

Definition at line 264 of file material_types.h.

◆ kIsotropicReferenceStiffness< ArapMaterialParams >

template<>
bool superdex::materials::kIsotropicReferenceStiffness< ArapMaterialParams > = true
inlineconstexpr

Definition at line 67 of file arap_params.h.

◆ kIsotropicReferenceStiffness< LinearElasticMaterialParams >

Definition at line 61 of file linear_elastic_params.h.

◆ kIsotropicReferenceStiffness< SmithNeoHookeanMaterialParams >

Definition at line 68 of file smith_neo_hookean_params.h.

◆ kIsotropicReferenceStiffness< StVenantKirchhoffMaterialParams >

Definition at line 65 of file st_venant_kirchhoff_params.h.