Public Types | Public Member Functions

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

#include <sph_gravity.h>

Inheritance diagram for OpenTissue::sph::Gravity< Types >:
OpenTissue::sph::Solver< Types, Types::vector >

List of all members.

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 ()
Gravityoperator= (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

Detailed Description

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

SPH Gravity Class.


Member Typedef Documentation

template<typename Types >
typedef Solver<Types, typename Types::vector> OpenTissue::sph::Gravity< Types >::base_type
template<typename Types >
typedef Types::vector OpenTissue::sph::Gravity< Types >::vector

Constructor & Destructor Documentation

template<typename Types >
OpenTissue::sph::Gravity< Types >::Gravity ( vector const &  gravity  )  [inline]

Default Constructor. /param g Gravitational Acceleration

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

Member Function Documentation

template<typename Types >
virtual value OpenTissue::sph::Gravity< Types >::apply ( const particle par,
particle_cptr_container_citerator  ,
particle_cptr_container_citerator   
) const [inline, virtual]

Apply

Parameters:
??? xxx
template<typename Types >
value OpenTissue::sph::Gravity< Types >::apply ( const particle par,
const particle  
) const [inline]

Apply

Parameters:
??? xxx
template<typename Types >
Gravity& OpenTissue::sph::Gravity< Types >::operator= ( Gravity< Types > const &   )  [inline]

Fubar dummy assignment operator for the lame compiler!


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