#include <sph_buoyancy.h>
Public Types | |
typedef Solver< Types, typename Types::vector > | base_type |
typedef base_type::value | value |
typedef Types::real_type | real_type |
typedef Types::vector | vector |
typedef Types::particle | particle |
typedef Types::particle_cptr_container::const_iterator | particle_cptr_container_citerator |
Public Member Functions | |
Buoyancy (const real_type &buoyancy, const real_type &rest_density, const vector &gravity) | |
~Buoyancy () | |
Buoyancy & | operator= (const Buoyancy &) |
virtual value | apply (const particle &par, particle_cptr_container_citerator, particle_cptr_container_citerator) const |
value | apply (const particle &par, const particle &) const |
SPH Buoyancy Class.
typedef Solver<Types, typename Types::vector> OpenTissue::sph::Buoyancy< Types >::base_type |
typedef Types::particle OpenTissue::sph::Buoyancy< Types >::particle |
Reimplemented from OpenTissue::sph::Solver< Types, Types::vector >.
typedef Types::particle_cptr_container::const_iterator OpenTissue::sph::Buoyancy< Types >::particle_cptr_container_citerator |
Reimplemented from OpenTissue::sph::Solver< Types, Types::vector >.
typedef Types::real_type OpenTissue::sph::Buoyancy< Types >::real_type |
Reimplemented from OpenTissue::sph::Solver< Types, Types::vector >.
typedef base_type::value OpenTissue::sph::Buoyancy< Types >::value |
Reimplemented from OpenTissue::sph::Solver< Types, Types::vector >.
typedef Types::vector OpenTissue::sph::Buoyancy< Types >::vector |
Reimplemented from OpenTissue::sph::Solver< Types, Types::vector >.
OpenTissue::sph::Buoyancy< Types >::Buoyancy | ( | const real_type & | buoyancy, | |
const real_type & | rest_density, | |||
const vector & | gravity | |||
) | [inline] |
Default Constructor.
OpenTissue::sph::Buoyancy< Types >::~Buoyancy | ( | ) | [inline] |
Deconstructor.
virtual value OpenTissue::sph::Buoyancy< Types >::apply | ( | const particle & | par, | |
particle_cptr_container_citerator | , | |||
particle_cptr_container_citerator | ||||
) | const [inline, virtual] |
Apply
??? | xxx |
value OpenTissue::sph::Buoyancy< Types >::apply | ( | const particle & | par, | |
const particle & | ||||
) | const [inline] |
Apply
??? | xxx |
Buoyancy& OpenTissue::sph::Buoyancy< Types >::operator= | ( | const Buoyancy< Types > & | ) | [inline] |
Fubar dummy assignment operator for the lame compiler!