Skip to content

Class uipc::constitution::Particle

ClassList > uipc > constitution > Particle

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

Public Functions

Type Name
Particle (const Json & config=default_config()) noexcept
void apply_to (geometry::SimplicialComplex & sc, Float mass_density=1e3, Float thickness=0.01_m) 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 Particle

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

function apply_to

void uipc::constitution::Particle::apply_to (
    geometry::SimplicialComplex & sc,
    Float mass_density=1e3,
    Float thickness=0.01_m
) const

Public Static Functions Documentation

function default_config

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

Protected Functions Documentation

function get_uid

virtual U64 uipc::constitution::Particle::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/particle.h