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

plb::externalForceTemplates< T, Descriptor > Struct Template Reference

#include <externalForceTemplates.h>

List of all members.

Static Public Member Functions

static void addNaiveForce (Cell< T, Descriptor > &cell, Array< T, Descriptor< T >::d > const &u, T omega, T amplitude)
 Add a force term after BGK collision, according to the "old", linear algorithm.
static void addGuoForce (Cell< T, Descriptor > &cell, Array< T, Descriptor< T >::d > const &u, T omega, T amplitude)
 Add a force term after BGK collision, according to the Guo algorithm.
static void addGuoCompressibleForce (Cell< T, Descriptor > &cell, T rho, Array< T, Descriptor< T >::d > const &u, T uSqr, T thetaBar, T omega, T amplitude)
 Add a force term after BGK collision, according to the Shan algorithm (with third order terms in hermite polynomial).
static T shanChenForcedBGKCollision (Cell< T, Descriptor > &cell, T rhoBar, Array< T, Descriptor< T >::d > const &j, T omega)
 BGK collision with Shan/Chen external force.
static T heForcedBGKCollision (Cell< T, Descriptor > &cell, T rhoBar, Array< T, Descriptor< T >::d > const &j, T omega)
 BGK collision with He et al. external force.

template<typename T, template< typename U > class Descriptor>
struct plb::externalForceTemplates< T, Descriptor >


Member Function Documentation

template<typename T , template< typename U > class Descriptor>
static void plb::externalForceTemplates< T, Descriptor >::addGuoCompressibleForce ( Cell< T, Descriptor > &  cell,
rho,
Array< T, Descriptor< T >::d > const &  u,
uSqr,
thetaBar,
omega,
amplitude 
) [inline, static]

Add a force term after BGK collision, according to the Shan algorithm (with third order terms in hermite polynomial).

References plb::Cell< T, Descriptor >::getExternal(), and plb::Cell< T, Descriptor >::getRawPopulations().

template<typename T , template< typename U > class Descriptor>
static void plb::externalForceTemplates< T, Descriptor >::addGuoForce ( Cell< T, Descriptor > &  cell,
Array< T, Descriptor< T >::d > const &  u,
omega,
amplitude 
) [inline, static]

Add a force term after BGK collision, according to the Guo algorithm.

References plb::Cell< T, Descriptor >::getExternal(), and plb::Cell< T, Descriptor >::getRawPopulations().

template<typename T , template< typename U > class Descriptor>
static void plb::externalForceTemplates< T, Descriptor >::addNaiveForce ( Cell< T, Descriptor > &  cell,
Array< T, Descriptor< T >::d > const &  u,
omega,
amplitude 
) [inline, static]

Add a force term after BGK collision, according to the "old", linear algorithm.

References plb::Cell< T, Descriptor >::getExternal(), and plb::Cell< T, Descriptor >::getRawPopulations().

template<typename T , template< typename U > class Descriptor>
static T plb::externalForceTemplates< T, Descriptor >::heForcedBGKCollision ( Cell< T, Descriptor > &  cell,
rhoBar,
Array< T, Descriptor< T >::d > const &  j,
omega 
) [inline, static]

BGK collision with He et al. external force.

References plb::Cell< T, Descriptor >::getExternal(), and plb::Cell< T, Descriptor >::getRawPopulations().

template<typename T , template< typename U > class Descriptor>
static T plb::externalForceTemplates< T, Descriptor >::shanChenForcedBGKCollision ( Cell< T, Descriptor > &  cell,
rhoBar,
Array< T, Descriptor< T >::d > const &  j,
omega 
) [inline, static]

BGK collision with Shan/Chen external force.

References plb::Cell< T, Descriptor >::getExternal(), and plb::Cell< T, Descriptor >::getRawPopulations().


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