$treeview $search $mathjax
Palabos  Version 1.1
$projectbrief
$projectbrief
$searchbox

plb::ConstRhoBGKdynamics< T, Descriptor > Class Template Reference

Implementation of O(Ma^2) BGK dynamics with constant average density. More...

#include <isoThermalDynamics.h>

Inheritance diagram for plb::ConstRhoBGKdynamics< T, Descriptor >:
Collaboration diagram for plb::ConstRhoBGKdynamics< T, Descriptor >:

List of all members.

Public Member Functions

 ConstRhoBGKdynamics (T omega_)
virtual ConstRhoBGKdynamics< T,
Descriptor > * 
clone () const
 Clone the object on its dynamic type.
virtual int getId () const
 Return a unique ID for this class.
virtual void collide (Cell< T, Descriptor > &cell, BlockStatistics &statistics_)
 Implementation of the collision step.
virtual T computeEquilibrium (plint iPop, T rhoBar, Array< T, Descriptor< T >::d > const &j, T jSqr, T thetaBar=T()) const
 Compute equilibrium distribution function.

Detailed Description

template<typename T, template< typename U > class Descriptor>
class plb::ConstRhoBGKdynamics< T, Descriptor >

Implementation of O(Ma^2) BGK dynamics with constant average density.


Constructor & Destructor Documentation

template<typename T , template< typename U > class Descriptor>
plb::ConstRhoBGKdynamics< T, Descriptor >::ConstRhoBGKdynamics ( omega_  )  [inline]
Parameters:
omega_ relaxation parameter, related to the dynamic viscosity

Member Function Documentation

template<typename T , template< typename U > class Descriptor>
ConstRhoBGKdynamics< T, Descriptor > * plb::ConstRhoBGKdynamics< T, Descriptor >::clone (  )  const [inline, virtual]

Clone the object on its dynamic type.

Implements plb::Dynamics< T, Descriptor >.

template<typename T , template< typename U > class Descriptor>
void plb::ConstRhoBGKdynamics< T, Descriptor >::collide ( Cell< T, Descriptor > &  cell,
BlockStatistics statistics_ 
) [inline, virtual]
template<typename T , template< typename U > class Descriptor>
T plb::ConstRhoBGKdynamics< T, Descriptor >::computeEquilibrium ( plint  iPop,
rhoBar,
Array< T, Descriptor< T >::d > const &  j,
jSqr,
thetaBar = T() 
) const [inline, virtual]

Compute equilibrium distribution function.

Implements plb::Dynamics< T, Descriptor >.

template<typename T , template< typename U > class Descriptor>
int plb::ConstRhoBGKdynamics< T, Descriptor >::getId (  )  const [inline, virtual]

Return a unique ID for this class.

Reimplemented from plb::Dynamics< T, Descriptor >.


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