SuperDex Physics C++ API
Loading...
Searching...
No Matches
material_types.h File Reference

Go to the source code of this file.

Namespaces

namespace  superdex
namespace  superdex::materials

Enumerations

enum struct  superdex::MaterialPsdStrategy {
  superdex::MaterialDefault , superdex::None , superdex::Projection , superdex::Fast ,
  superdex::AbsEigenProjection , superdex::PerTermProjection , superdex::Count
}
 Strategy for ensuring positive semi-definite (PSD) Hessian matrices in material models. More...
enum struct  superdex::SoftMaterialType {
  superdex::NeoHookean = 0 , superdex::StVenantKirchhoff = 1 , superdex::LinearElastic = 2 , superdex::ActiveNeoHookean = 3 ,
  superdex::ActiveShapeTargetingArap = 4 , superdex::Arap = 5 , superdex::Count = 6
}
 Material constitutive models for soft bodies. More...

Variables

constexpr real superdex::kDefaultAnisoAlpha = 1000_r
 Default anisotropic stiffness (α) [Pa].
constexpr real superdex::kDefaultAnisoLength = 1_r
 Default anisotropic reference length (dimensionless).
constexpr real superdex::kDefaultArapStiffness = 1000_r
 Default ARAP stiffness (μ) [Pa].
constexpr real superdex::kDefaultPoissonRatio = 0.45_r
 Default Poisson's ratio (dimensionless).
constexpr real superdex::kDefaultYoungsModulus = 1e5_r
 Default Young's modulus [Pa].
template<class ParamsT>
constexpr bool superdex::materials::kIsotropicReferenceStiffness = false
 Opt-in trait: a material params type declares this true iff its reference (F=I) tangent is isotropic — i.e.