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

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

Common base iso-thermal (or athermal) bulk dynamics. More...

#include <advectionDiffusionDynamics.h>

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

List of all members.

Public Member Functions

 AdvectionDiffusionDynamics (T omega_)
virtual void regularize (Cell< T, Descriptor > &cell, T rhoBar, Array< T, Descriptor< T >::d > const &j, T jSqr, Array< T, SymmetricTensor< T, Descriptor >::n > const &PiNeq, T thetaBar=T()) const
 Re-compute particle populations from the leading moments.
virtual T computeEbar (Cell< T, Descriptor > const &cell) const
 Returns 0, as a default value for isothermal flow.
virtual plint numDecomposedVariables (plint order) const
 Number of variables required to decompose a population representation into moments.
virtual void decompose (Cell< T, Descriptor > const &cell, std::vector< T > &rawData, plint order) const
 Decompose from population representation into moment representation.
virtual void recompose (Cell< T, Descriptor > &cell, std::vector< T > const &rawData, plint order) const
 Recompose from moment representation to population representation.
virtual void rescale (std::vector< T > &rawData, T xDxInv, T xDt, plint order) const
 Change the space and time scales of the variables in moment representation.

Detailed Description

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

Common base iso-thermal (or athermal) bulk dynamics.


Constructor & Destructor Documentation

template<typename T , template< typename U > class Descriptor>
plb::AdvectionDiffusionDynamics< T, Descriptor >::AdvectionDiffusionDynamics ( omega_  )  [inline]

Member Function Documentation

template<typename T , template< typename U > class Descriptor>
T plb::AdvectionDiffusionDynamics< T, Descriptor >::computeEbar ( Cell< T, Descriptor > const &  cell  )  const [inline, virtual]

Returns 0, as a default value for isothermal flow.

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

template<typename T , template< typename U > class Descriptor>
virtual void plb::AdvectionDiffusionDynamics< T, Descriptor >::decompose ( Cell< T, Descriptor > const &  cell,
std::vector< T > &  rawData,
plint  order 
) const [inline, virtual]

Decompose from population representation into moment representation.

Implements plb::Dynamics< T, Descriptor >.

Reimplemented in plb::AdvectionDiffusionBGKdynamics< T, Descriptor >.

template<typename T , template< typename U > class Descriptor>
virtual plint plb::AdvectionDiffusionDynamics< T, Descriptor >::numDecomposedVariables ( plint  order  )  const [inline, virtual]

Number of variables required to decompose a population representation into moments.

Implements plb::Dynamics< T, Descriptor >.

Reimplemented in plb::AdvectionDiffusionBGKdynamics< T, Descriptor >.

template<typename T , template< typename U > class Descriptor>
virtual void plb::AdvectionDiffusionDynamics< T, Descriptor >::recompose ( Cell< T, Descriptor > &  cell,
std::vector< T > const &  rawData,
plint  order 
) const [inline, virtual]

Recompose from moment representation to population representation.

Implements plb::Dynamics< T, Descriptor >.

Reimplemented in plb::AdvectionDiffusionBGKdynamics< T, Descriptor >.

template<typename T , template< typename U > class Descriptor>
void plb::AdvectionDiffusionDynamics< T, Descriptor >::regularize ( Cell< T, Descriptor > &  cell,
rhoBar,
Array< T, Descriptor< T >::d > const &  j,
jSqr,
Array< T, SymmetricTensor< T, Descriptor >::n > const &  PiNeq,
thetaBar = T() 
) const [inline, virtual]

Re-compute particle populations from the leading moments.

Implements plb::Dynamics< T, Descriptor >.

template<typename T , template< typename U > class Descriptor>
virtual void plb::AdvectionDiffusionDynamics< T, Descriptor >::rescale ( std::vector< T > &  rawData,
xDxInv,
xDt,
plint  order 
) const [inline, virtual]

Change the space and time scales of the variables in moment representation.

Implements plb::Dynamics< T, Descriptor >.

Reimplemented in plb::AdvectionDiffusionBGKdynamics< T, Descriptor >.


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