Public Types | Public Member Functions

OpenTissue::sph::ViscosityForce< Types, KernelPolicy > Class Template Reference

#include <sph_viscosity.h>

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

List of all members.

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

Detailed Description

template<typename Types, typename KernelPolicy>
class OpenTissue::sph::ViscosityForce< Types, KernelPolicy >

SPH Viscosity Force Class.


Member Typedef Documentation

template<typename Types , typename KernelPolicy >
typedef Solver<Types, typename Types::vector> OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::base_type
template<typename Types , typename KernelPolicy >
typedef Types::particle OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::particle
template<typename Types , typename KernelPolicy >
typedef Types::real_type OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::real_type
template<typename Types , typename KernelPolicy >
typedef KernelPolicy OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::smoothing_kernel
template<typename Types , typename KernelPolicy >
typedef base_type::value OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::value

Constructor & Destructor Documentation

template<typename Types , typename KernelPolicy >
OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::ViscosityForce ( const real_type viscosity = 0  )  [inline]

Default Constructor.

template<typename Types , typename KernelPolicy >
OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::~ViscosityForce (  )  [inline]

Deconstructor.


Member Function Documentation

template<typename Types , typename KernelPolicy >
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

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

Apply

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

Fubar dummy assignment operator for the lame compiler!

template<typename Types , typename KernelPolicy >
void OpenTissue::sph::ViscosityForce< Types, KernelPolicy >::setViscosity ( const real_type coefficient  )  [inline]

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