Public Types | Public Member Functions | Protected Attributes

OpenTissue::sph::Material< Types > Class Template Reference

#include <sph_material.h>

Inheritance diagram for OpenTissue::sph::Material< Types >:
OpenTissue::sph::IdealGas< Types::real_type > OpenTissue::sph::Mucus< Types > OpenTissue::sph::Steam< Types > OpenTissue::sph::Water< Types >

List of all members.

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::stringname () 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_typethreshold () const
real_typethreshold ()
const real_typekernel_particles () const
const real_typetension () const
const real_typebuoyancy () const
const real_typeviscosity () const
const real_typedensity () const
const real_typetempature () const
const real_typegas_stiffness () const
const real_typetimestep () const
const real_typerestitution () const
const real_typered () const
const real_typegreen () const
const real_typeblue () 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

Detailed Description

template<typename Types>
class OpenTissue::sph::Material< Types >

SPH Material Base Class.


Member Typedef Documentation

template<typename Types >
typedef Types::vector OpenTissue::sph::Material< Types >::vector

Constructor & Destructor Documentation

template<typename Types >
OpenTissue::sph::Material< Types >::Material (  )  [inline]

Default Constructor.

template<typename Types >
virtual OpenTissue::sph::Material< Types >::~Material (  )  [inline, virtual]

Deconstructor.


Member Function Documentation

template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::blue (  )  const [inline]
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::buoyancy (  )  const [inline]
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::density (  )  const [inline]
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::gas_stiffness (  )  const [inline]
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::green (  )  const [inline]
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::kernel_particles (  )  const [inline]
template<typename Types >
const std::string& OpenTissue::sph::Material< Types >::name (  )  const [inline]
template<typename Types >
void OpenTissue::sph::Material< Types >::particle_mass ( real_type const &  mass  )  [inline]
template<typename Types >
real_type const& OpenTissue::sph::Material< Types >::particle_mass (  )  const [inline]
template<typename Types >
size_t& OpenTissue::sph::Material< Types >::particles (  )  [inline]
template<typename Types >
size_t const& OpenTissue::sph::Material< Types >::particles (  )  const [inline]
template<typename Types >
virtual real_type OpenTissue::sph::Material< Types >::radius ( const real_type X  )  const [inline, virtual]
Parameters:
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.
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::red (  )  const [inline]
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::restitution (  )  const [inline]
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::tempature (  )  const [inline]
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::tension (  )  const [inline]
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::threshold (  )  const [inline]
template<typename Types >
real_type& OpenTissue::sph::Material< Types >::threshold (  )  [inline]
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::timestep (  )  const [inline]
template<typename Types >
const real_type& OpenTissue::sph::Material< Types >::viscosity (  )  const [inline]
template<typename Types >
void OpenTissue::sph::Material< Types >::volume ( real_type const &  vol  )  [inline]
template<typename Types >
real_type const& OpenTissue::sph::Material< Types >::volume (  )  const [inline]

Member Data Documentation

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_blue [protected]

highest green tone display color

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_buoyancy [protected]

surface tension

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_density [protected]

fluid volume

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_gas_stiffness [protected]

tempature [SI: Kelvin]

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_green [protected]

highest red tone display color

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_kernel_particles [protected]

particles to fill fluid volume

template<typename Types >
std::string OpenTissue::sph::Material< Types >::m_name [protected]
template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_particle_mass [protected]

average particles inside kernel

template<typename Types >
size_t OpenTissue::sph::Material< Types >::m_particles [protected]

fluid density (limit between expansion/contraction)

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_pressure [protected]

particle mass

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_red [protected]

surface tension/normal threshold (squared)

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_restitution [protected]

fluid viscosity coefficient

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_tempature [protected]

integration collision bounce-out

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_tension [protected]

fluid pressure in bar

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_threshold [protected]

strength (stiffness) of the pressure solver

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_timestep [protected]

highest blue tone display color

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_viscosity [protected]

buoyancy coefficient

template<typename Types >
real_type OpenTissue::sph::Material< Types >::m_volume [protected]

fluid name


The documentation for this class was generated from the following file: