#include <sph_material.h>
Public Types | |
typedef IdealGas< typename Types::real_type > | base_type |
typedef Types::real_type | real_type |
typedef Types::vector | vector |
Public Member Functions | |
Material () | |
virtual | ~Material () |
virtual real_type | radius (const real_type &X) const |
const std::string & | name () const |
size_t const & | particles () const |
size_t & | particles () |
real_type const & | volume () const |
void | volume (real_type const &vol) |
real_type const & | particle_mass () const |
void | particle_mass (real_type const &mass) |
const real_type & | threshold () const |
real_type & | threshold () |
const real_type & | kernel_particles () const |
const real_type & | tension () const |
const real_type & | buoyancy () const |
const real_type & | viscosity () const |
const real_type & | density () const |
const real_type & | tempature () const |
const real_type & | gas_stiffness () const |
const real_type & | timestep () const |
const real_type & | restitution () const |
const real_type & | red () const |
const real_type & | green () const |
const real_type & | blue () const |
Protected Attributes | |
std::string | m_name |
real_type | m_volume |
fluid name | |
real_type | m_density |
fluid volume | |
size_t | m_particles |
fluid density (limit between expansion/contraction) | |
real_type | m_kernel_particles |
particles to fill fluid volume | |
real_type | m_particle_mass |
average particles inside kernel | |
real_type | m_pressure |
particle mass | |
real_type | m_tension |
fluid pressure in bar | |
real_type | m_buoyancy |
surface tension | |
real_type | m_viscosity |
buoyancy coefficient | |
real_type | m_restitution |
fluid viscosity coefficient | |
real_type | m_tempature |
integration collision bounce-out | |
real_type | m_gas_stiffness |
tempature [SI: Kelvin] | |
real_type | m_threshold |
strength (stiffness) of the pressure solver | |
real_type | m_red |
surface tension/normal threshold (squared) | |
real_type | m_green |
highest red tone display color | |
real_type | m_blue |
highest green tone display color | |
real_type | m_timestep |
highest blue tone display color |
SPH Material Base Class.
typedef IdealGas<typename Types::real_type> OpenTissue::sph::Material< Types >::base_type |
Reimplemented in OpenTissue::sph::Mucus< Types >, OpenTissue::sph::Steam< Types >, and OpenTissue::sph::Water< Types >.
typedef Types::real_type OpenTissue::sph::Material< Types >::real_type |
Reimplemented in OpenTissue::sph::Mucus< Types >, OpenTissue::sph::Steam< Types >, and OpenTissue::sph::Water< Types >.
typedef Types::vector OpenTissue::sph::Material< Types >::vector |
OpenTissue::sph::Material< Types >::Material | ( | ) | [inline] |
Default Constructor.
virtual OpenTissue::sph::Material< Types >::~Material | ( | ) | [inline, virtual] |
Deconstructor.
const real_type& OpenTissue::sph::Material< Types >::blue | ( | ) | const [inline] |
const real_type& OpenTissue::sph::Material< Types >::buoyancy | ( | ) | const [inline] |
const real_type& OpenTissue::sph::Material< Types >::density | ( | ) | const [inline] |
const real_type& OpenTissue::sph::Material< Types >::gas_stiffness | ( | ) | const [inline] |
const real_type& OpenTissue::sph::Material< Types >::green | ( | ) | const [inline] |
const real_type& OpenTissue::sph::Material< Types >::kernel_particles | ( | ) | const [inline] |
const std::string& OpenTissue::sph::Material< Types >::name | ( | ) | const [inline] |
void OpenTissue::sph::Material< Types >::particle_mass | ( | real_type const & | mass | ) | [inline] |
real_type const& OpenTissue::sph::Material< Types >::particle_mass | ( | ) | const [inline] |
size_t& OpenTissue::sph::Material< Types >::particles | ( | ) | [inline] |
size_t const& OpenTissue::sph::Material< Types >::particles | ( | ) | const [inline] |
virtual real_type OpenTissue::sph::Material< Types >::radius | ( | const real_type & | X | ) | const [inline, virtual] |
radius | Upon return holds radius, such that we have X particles within a particle. | |
X | Number of partilces to be wihtin radius of a particle. |
const real_type& OpenTissue::sph::Material< Types >::red | ( | ) | const [inline] |
const real_type& OpenTissue::sph::Material< Types >::restitution | ( | ) | const [inline] |
const real_type& OpenTissue::sph::Material< Types >::tempature | ( | ) | const [inline] |
const real_type& OpenTissue::sph::Material< Types >::tension | ( | ) | const [inline] |
const real_type& OpenTissue::sph::Material< Types >::threshold | ( | ) | const [inline] |
real_type& OpenTissue::sph::Material< Types >::threshold | ( | ) | [inline] |
const real_type& OpenTissue::sph::Material< Types >::timestep | ( | ) | const [inline] |
const real_type& OpenTissue::sph::Material< Types >::viscosity | ( | ) | const [inline] |
void OpenTissue::sph::Material< Types >::volume | ( | real_type const & | vol | ) | [inline] |
real_type const& OpenTissue::sph::Material< Types >::volume | ( | ) | const [inline] |
real_type OpenTissue::sph::Material< Types >::m_blue [protected] |
highest green tone display color
real_type OpenTissue::sph::Material< Types >::m_buoyancy [protected] |
surface tension
real_type OpenTissue::sph::Material< Types >::m_density [protected] |
fluid volume
real_type OpenTissue::sph::Material< Types >::m_gas_stiffness [protected] |
tempature [SI: Kelvin]
real_type OpenTissue::sph::Material< Types >::m_green [protected] |
highest red tone display color
real_type OpenTissue::sph::Material< Types >::m_kernel_particles [protected] |
particles to fill fluid volume
std::string OpenTissue::sph::Material< Types >::m_name [protected] |
real_type OpenTissue::sph::Material< Types >::m_particle_mass [protected] |
average particles inside kernel
size_t OpenTissue::sph::Material< Types >::m_particles [protected] |
fluid density (limit between expansion/contraction)
real_type OpenTissue::sph::Material< Types >::m_pressure [protected] |
particle mass
real_type OpenTissue::sph::Material< Types >::m_red [protected] |
surface tension/normal threshold (squared)
real_type OpenTissue::sph::Material< Types >::m_restitution [protected] |
fluid viscosity coefficient
real_type OpenTissue::sph::Material< Types >::m_tempature [protected] |
integration collision bounce-out
real_type OpenTissue::sph::Material< Types >::m_tension [protected] |
fluid pressure in bar
real_type OpenTissue::sph::Material< Types >::m_threshold [protected] |
strength (stiffness) of the pressure solver
real_type OpenTissue::sph::Material< Types >::m_timestep [protected] |
highest blue tone display color
real_type OpenTissue::sph::Material< Types >::m_viscosity [protected] |
buoyancy coefficient
real_type OpenTissue::sph::Material< Types >::m_volume [protected] |
fluid name