$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
All helper functions are inside this structure. More...
#include <mrtTemplates.h>
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. | |
All helper functions are inside this structure.
| static void plb::mrtTemplates< T, Descriptor >::addGuoForce | ( | Cell< T, Descriptor > & | cell, | |
| Array< T, Descriptor< T >::d > const & | u, | |||
| T | invM_S[Descriptor< T >::q][Descriptor< T >::q], | |||
| T | 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().
| static void plb::mrtTemplates< T, Descriptor >::computeEquilibrium | ( | Array< T, Descriptor< T >::q > & | momentsEq, | |
| T | rhoBar, | |||
| Array< T, Descriptor< T >::d > const & | j, | |||
| const T | jSqr | |||
| ) | [inline, static] |
Computation of all equilibrium distribution (in moments space).
| static void plb::mrtTemplates< T, Descriptor >::computeMoments | ( | Array< T, Descriptor< T >::q > & | moments, | |
| Cell< T, Descriptor > & | cell | |||
| ) | [inline, static] |
References plb::Cell< T, Descriptor >::getRawPopulations().
| static void plb::mrtTemplates< T, Descriptor >::computeQuasiIncEquilibrium | ( | Array< T, Descriptor< T >::q > & | momentsEq, | |
| T | rhoBar, | |||
| Array< T, Descriptor< T >::d > const & | j, | |||
| const T | jSqr | |||
| ) | [inline, static] |
Computation of all equilibrium distribution (in moments space).
| static T plb::mrtTemplates< T, Descriptor >::equilibrium | ( | plint | iPop, | |
| T | rhoBar, | |||
| Array< T, Descriptor< T >::d > const & | j, | |||
| const T | jSqr | |||
| ) | [inline, static] |
Computation of equilibrium distribution (in moments space).
| static T plb::mrtTemplates< T, Descriptor >::mrtCollision | ( | Cell< T, Descriptor > & | cell, | |
| T & | rhoBar, | |||
| Array< T, Descriptor< T >::d > & | j, | |||
| T | invM_S[Descriptor< T >::q][Descriptor< T >::q] | |||
| ) | [inline, static] |
MRT collision step.
References plb::Cell< T, Descriptor >::getRawPopulations().
| static T plb::mrtTemplates< T, Descriptor >::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 | |||
| ) | [inline, static] |
MRT collision step.
References plb::Array< T, size >::from_cArray(), plb::Cell< T, Descriptor >::getExternal(), and plb::Cell< T, Descriptor >::getRawPopulations().
| static T plb::mrtTemplates< T, Descriptor >::quasiIncMrtCollision | ( | Cell< T, Descriptor > & | cell, | |
| T & | rhoBar, | |||
| Array< T, Descriptor< T >::d > & | j, | |||
| T | invM_S[Descriptor< T >::q][Descriptor< T >::q] | |||
| ) | [inline, static] |
MRT collision step.
References plb::Cell< T, Descriptor >::getRawPopulations().
1.6.3
1.6.3