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

plb::BGKCarreauDynamics< T, Descriptor, N > Class Template Reference

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

#include <carreauDynamics.h>

Inheritance diagram for plb::BGKCarreauDynamics< T, Descriptor, N >:
Collaboration diagram for plb::BGKCarreauDynamics< T, Descriptor, N >:

List of all members.

Public Member Functions

 BGKCarreauDynamics (T omega=(T) 1)
virtual BGKCarreauDynamics< T,
Descriptor, N > * 
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, int N>
class plb::BGKCarreauDynamics< T, Descriptor, N >

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

Semantically, this class is equivalent to RLBdynamics< . , . , BGKdynamics<.,.> >, but the implementation is more efficient.


Constructor & Destructor Documentation

template<typename T , template< typename U > class Descriptor, int N>
plb::BGKCarreauDynamics< T, Descriptor, N >::BGKCarreauDynamics ( omega = (T)1  )  [inline]
Parameters:
omega_ relaxation parameter, related to the dynamic viscosity

Member Function Documentation

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

Clone the object on its dynamic type.

Implements plb::Dynamics< T, Descriptor >.

template<typename T , template< typename U > class Descriptor, int N>
void plb::BGKCarreauDynamics< T, Descriptor, N >::collide ( Cell< T, Descriptor > &  cell,
BlockStatistics statistics_ 
) [inline, virtual]
template<typename T , template< typename U > class Descriptor, int N>
T plb::BGKCarreauDynamics< T, Descriptor, N >::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 N>
int plb::BGKCarreauDynamics< T, Descriptor, N >::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: