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

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

All helper functions are inside this structure. More...

#include <mrtTemplates.h>

List of all members.

Static Public Member Functions

static T equilibrium (plint iPop, T rhoBar, Array< T, Descriptor< T >::d > const &j, const T jSqr)
 Computation of equilibrium distribution (in moments space).
static void computeEquilibrium (Array< T, Descriptor< T >::q > &momentsEq, T rhoBar, Array< T, Descriptor< T >::d > const &j, const T jSqr)
 Computation of all equilibrium distribution (in moments space).
static void computeMoments (Array< T, Descriptor< T >::q > &moments, Cell< T, Descriptor > &cell)
static T mrtCollision (Cell< T, Descriptor > &cell, T &rhoBar, Array< T, Descriptor< T >::d > &j, T invM_S[Descriptor< T >::q][Descriptor< T >::q])
 MRT collision step.
static T mrtCollisionWithForce (Cell< T, Descriptor > &cell, const T &rhoBar, const Array< T, Descriptor< T >::d > &u, T invM_S[Descriptor< T >::q][Descriptor< T >::q], T amplitude)
 MRT collision step.
static void addGuoForce (Cell< T, Descriptor > &cell, Array< T, Descriptor< T >::d > const &u, T invM_S[Descriptor< T >::q][Descriptor< T >::q], T amplitude)
 Add a force term after BGK collision, according to the Guo algorithm.
static void computeQuasiIncEquilibrium (Array< T, Descriptor< T >::q > &momentsEq, T rhoBar, Array< T, Descriptor< T >::d > const &j, const T jSqr)
 Computation of all equilibrium distribution (in moments space).
static T quasiIncMrtCollision (Cell< T, Descriptor > &cell, T &rhoBar, Array< T, Descriptor< T >::d > &j, T invM_S[Descriptor< T >::q][Descriptor< T >::q])
 MRT collision step.

Detailed Description

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

All helper functions are inside this structure.


Member Function Documentation

template<typename T , template< typename U > class Descriptor>
static void plb::mrtTemplates< T, Descriptor >::addGuoForce ( Cell< T, Descriptor > &  cell,
Array< T, Descriptor< T >::d > const &  u,
invM_S[Descriptor< T >::q][Descriptor< T >::q],
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::mrtTemplates< T, Descriptor >::computeEquilibrium ( Array< T, Descriptor< T >::q > &  momentsEq,
rhoBar,
Array< T, Descriptor< T >::d > const &  j,
const T  jSqr 
) [inline, static]

Computation of all equilibrium distribution (in moments space).

template<typename T , template< typename U > class Descriptor>
static void plb::mrtTemplates< T, Descriptor >::computeMoments ( Array< T, Descriptor< T >::q > &  moments,
Cell< T, Descriptor > &  cell 
) [inline, static]
template<typename T , template< typename U > class Descriptor>
static void plb::mrtTemplates< T, Descriptor >::computeQuasiIncEquilibrium ( Array< T, Descriptor< T >::q > &  momentsEq,
rhoBar,
Array< T, Descriptor< T >::d > const &  j,
const T  jSqr 
) [inline, static]

Computation of all equilibrium distribution (in moments space).

template<typename T , template< typename U > class Descriptor>
static T plb::mrtTemplates< T, Descriptor >::equilibrium ( plint  iPop,
rhoBar,
Array< T, Descriptor< T >::d > const &  j,
const T  jSqr 
) [inline, static]

Computation of equilibrium distribution (in moments space).

template<typename T , template< typename U > class Descriptor>
static T plb::mrtTemplates< T, Descriptor >::mrtCollision ( Cell< T, Descriptor > &  cell,
T &  rhoBar,
Array< T, Descriptor< T >::d > &  j,
invM_S[Descriptor< T >::q][Descriptor< T >::q] 
) [inline, static]

MRT collision step.

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

template<typename T , template< typename U > class Descriptor>
static T plb::mrtTemplates< T, Descriptor >::mrtCollisionWithForce ( Cell< T, Descriptor > &  cell,
const T &  rhoBar,
const Array< T, Descriptor< T >::d > &  u,
invM_S[Descriptor< T >::q][Descriptor< T >::q],
amplitude 
) [inline, static]
template<typename T , template< typename U > class Descriptor>
static T plb::mrtTemplates< T, Descriptor >::quasiIncMrtCollision ( Cell< T, Descriptor > &  cell,
T &  rhoBar,
Array< T, Descriptor< T >::d > &  j,
invM_S[Descriptor< T >::q][Descriptor< T >::q] 
) [inline, static]

MRT collision step.

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


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