Skip to content

Class uipc::constitution::StableNeoHookean

ClassList > uipc > constitution > StableNeoHookean

Inherits the following classes: uipc::constitution::FiniteElementConstitution

Public Functions

Type Name
StableNeoHookean (const Json & config=default_config()) noexcept
void apply_to (geometry::SimplicialComplex & sc, const ElasticModuli & moduli=ElasticModuli::youngs_poisson(20.0_kPa, 0.49), Float mass_density=1e3) const

Public Functions inherited from uipc::constitution::IConstitution

See uipc::constitution::IConstitution

Type Name
std::string_view name () noexcept const
std::string_view type () noexcept const
U64 uid () noexcept const
const builtin::UIDInfo & uid_info () noexcept const
virtual ~IConstitution () = default

Public Static Functions

Type Name
Json default_config () noexcept

Protected Functions

Type Name
virtual U64 get_uid () noexcept override const

Protected Functions inherited from uipc::constitution::FiniteElementConstitution

See uipc::constitution::FiniteElementConstitution

Type Name
void apply_to (geometry::SimplicialComplex & sc, Float mass_density, Float thickness=0.0) const

Protected Functions inherited from uipc::constitution::IConstitution

See uipc::constitution::IConstitution

Type Name
virtual U64 get_uid () noexcept const = 0

Public Functions Documentation

function StableNeoHookean

uipc::constitution::StableNeoHookean::StableNeoHookean (
    const Json & config=default_config()
) noexcept

function apply_to

void uipc::constitution::StableNeoHookean::apply_to (
    geometry::SimplicialComplex & sc,
    const ElasticModuli & moduli=ElasticModuli::youngs_poisson(20.0_kPa, 0.49),
    Float mass_density=1e3
) const

Public Static Functions Documentation

function default_config

static Json uipc::constitution::StableNeoHookean::default_config () noexcept

Protected Functions Documentation

function get_uid

virtual U64 uipc::constitution::StableNeoHookean::get_uid () noexcept override const

Implements uipc::constitution::IConstitution::get_uid



The documentation for this class was generated from the following file include/uipc/constitution/stable_neo_hookean.h