$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
D2Q5 lattice. More...
#include <advectionDiffusionLattices.h>

Public Types | |
| enum | { d = 2, q = 5 } |
Static Public Attributes | |
| static const T | invD = (T)1 / (T) d |
| 1 / (number of dimensions) | |
| static const int | vicinity = 1 |
| size of neighborhood | |
| static const int | c [q][d] |
| lattice directions | |
| static const int | cNormSqr [q] |
| norm-square of the vector c | |
| static const T | t [q] |
| lattice weights | |
| static const T | cs2 = (T)1 / (T)3 |
| lattice constant cs2 (in BGK, this is the square-speed-of-sound) | |
| static const T | invCs2 = (T)3 |
| 1 / cs2 | |
D2Q5 lattice.
const int plb::descriptors::D2Q5Constants< T >::c [inline, static] |
{
{ 0, 0},
{-1, 0}, {0, -1}, {1,0}, { 0,1}
}
lattice directions
const int plb::descriptors::D2Q5Constants< T >::cNormSqr [inline, static] |
{ 0, 1, 1, 1, 1 }
norm-square of the vector c
const T plb::descriptors::D2Q5Constants< T >::cs2 = (T)1 / (T)3 [inline, static] |
lattice constant cs2 (in BGK, this is the square-speed-of-sound)
const T plb::descriptors::D2Q5Constants< T >::invCs2 = (T)3 [inline, static] |
1 / cs2
const T plb::descriptors::D2Q5Constants< T >::invD = (T)1 / (T) d [inline, static] |
1 / (number of dimensions)
const T plb::descriptors::D2Q5Constants< T >::t [inline, static] |
const int plb::descriptors::D2Q5Constants< T >::vicinity = 1 [inline, static] |
size of neighborhood
1.6.3
1.6.3