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