#include <sph_viscosity.h>
Public Types | |
typedef Solver< Types, typename Types::vector > | base_type |
typedef KernelPolicy | smoothing_kernel |
typedef base_type::value | value |
typedef Types::real_type | real_type |
typedef Types::particle | particle |
typedef Types::particle_cptr_container::const_iterator | particle_cptr_container_citerator |
Public Member Functions | |
ViscosityForce (const real_type &viscosity=0) | |
~ViscosityForce () | |
ViscosityForce & | operator= (const ViscosityForce &rhs) |
void | setViscosity (const real_type &coefficient) |
virtual value | apply (const particle &par, particle_cptr_container_citerator begin, particle_cptr_container_citerator end) const |
value | apply (const particle &par, const particle &p) const |
SPH Viscosity Force Class.
typedef Solver<Types, typename Types::vector> OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::base_type |
typedef Types::particle OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::particle |
Reimplemented from OpenTissue::sph::Solver< Types, Types::vector >.
typedef Types::particle_cptr_container::const_iterator OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::particle_cptr_container_citerator |
Reimplemented from OpenTissue::sph::Solver< Types, Types::vector >.
typedef Types::real_type OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::real_type |
Reimplemented from OpenTissue::sph::Solver< Types, Types::vector >.
typedef KernelPolicy OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::smoothing_kernel |
typedef base_type::value OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::value |
Reimplemented from OpenTissue::sph::Solver< Types, Types::vector >.
OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::ViscosityForce | ( | const real_type & | viscosity = 0 |
) | [inline] |
Default Constructor.
OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::~ViscosityForce | ( | ) | [inline] |
Deconstructor.
virtual value OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::apply | ( | const particle & | par, | |
particle_cptr_container_citerator | begin, | |||
particle_cptr_container_citerator | end | |||
) | const [inline, virtual] |
Apply
??? | xxx |
value OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::apply | ( | const particle & | par, | |
const particle & | p | |||
) | const [inline] |
Apply
??? | xxx |
ViscosityForce& OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::operator= | ( | const ViscosityForce< Types, KernelPolicy > & | rhs | ) | [inline] |
Fubar dummy assignment operator for the lame compiler!
void OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::setViscosity | ( | const real_type & | coefficient | ) | [inline] |