$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
D3Q121 lattice constants. More...
#include <extendedNeighborhoodLattices3D.h>

Public Types | |
| enum | { d = 3, q = 121 } |
Static Public Attributes | |
| static const T | invD = (T)1 / (T) d |
| 1 / (number of dimensions) | |
| static const int | vicinity = 3 |
| 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 = 1./ ( 1.19697977039307435897238846385* 1.19697977039307435897238846385) |
| lattice constant cs2 (in BGK, this is the square-speed-of-sound) | |
| static const T | invCs2 = 1.19697977039307435897238846385* 1.19697977039307435897238846385 |
| 1 / cs2 | |
D3Q121 lattice constants.
const int plb::descriptors::D3Q121Constants< T >::c [inline, static] |
{
{0, 0, 0},
{-3, -3, -3}, {-3, -3, 3}, {-3, -2, 0}, {-3, -1, -1}, {-3, -1, 1},
{-3, 0, -2}, {-3, 0, 0}, {-3, 0, 2}, {-3, 1, -1}, {-3, 1, 1},
{-3, 2, 0}, {-3, 3, -3}, {-3, 3, 3}, {-2, -3, 0}, {-2, -2, -2},
{-2, -2, 0}, {-2, -2, 2}, {-2, -1, 0}, {-2, 0, -3}, {-2, 0, -2},
{-2, 0, -1}, {-2, 0, 1}, {-2, 0, 2}, {-2, 0, 3}, {-2, 1, 0},
{-2, 2, -2}, {-2, 2, 0}, {-2, 2, 2}, {-2, 3, 0}, {-1, -3, -1},
{-1, -3, 1}, {-1, -2, 0}, {-1, -1, -3}, {-1, -1, -1}, {-1, -1, 1},
{-1, -1, 3}, {-1, 0, -2}, {-1, 0, 0}, {-1, 0, 2}, {-1, 1, -3},
{-1, 1, -1}, {-1, 1, 1}, {-1, 1, 3}, {-1, 2, 0}, {-1, 3, -1},
{-1, 3, 1}, {0, -3, -2}, {0, -3, 0}, {0, -3, 2}, {0, -2, -3},
{0, -2, -2}, {0, -2, -1}, {0, -2, 1}, {0, -2, 2}, {0, -2, 3},
{0, -1, -2}, {0, -1, 0}, {0, -1, 2}, {0, 0, -3}, {0, 0, -1},
{3, 3, 3}, {3, 3, -3}, {3, 2, 0}, {3, 1, 1}, {3, 1, -1},
{3, 0, 2}, {3, 0, 0}, {3, 0, -2}, {3, -1, 1}, {3, -1, -1},
{3, -2, 0}, {3, -3, 3}, {3, -3, -3}, {2, 3, 0}, {2, 2, 2},
{2, 2, 0}, {2, 2, -2}, {2, 1, 0}, {2, 0, 3}, {2, 0, 2},
{2, 0, 1}, {2, 0, -1}, {2, 0, -2}, {2, 0, -3}, {2, -1, 0},
{2, -2, 2}, {2, -2, 0}, {2, -2, -2}, {2, -3, 0}, {1, 3, 1},
{1, 3, -1}, {1, 2, 0}, {1, 1, 3}, {1, 1, 1}, {1, 1, -1},
{1, 1, -3}, {1, 0, 2}, {1, 0, 0}, {1, 0, -2}, {1, -1, 3},
{1, -1, 1}, {1, -1, -1}, {1, -1, -3}, {1, -2, 0}, {1, -3, 1},
{1, -3, -1}, {0, 3, 2}, {0, 3, 0}, {0, 3, -2}, {0, 2, 3},
{0, 2, 2}, {0, 2, 1}, {0, 2, -1}, {0, 2, -2}, {0, 2, -3},
{0, 1, 2}, {0, 1, 0}, {0, 1, -2}, {0, 0, 3}, {0, 0, 1},
}
lattice directions
const int plb::descriptors::D3Q121Constants< T >::cNormSqr [inline, static] |
{
0,
27, 27, 13, 11, 11, 13, 9, 13, 11, 11, 13,
27, 27, 13, 12, 8, 12, 5, 13, 8, 5, 5, 8,
13, 5, 12, 8, 12, 13, 11, 11, 5, 11, 3, 3,
11, 5, 1, 5, 11, 3, 3, 11, 5, 11, 11,
13, 9, 13, 13, 8, 5, 5, 8, 13, 5, 1,
5, 9, 1, 27, 27, 13, 11, 11, 13, 9, 13,
11, 11, 13, 27, 27, 13, 12, 8, 12, 5,
13, 8, 5, 5, 8, 13, 5, 12, 8, 12, 13,
11, 11, 5, 11, 3, 3, 11, 5, 1, 5, 11,
3, 3, 11, 5, 11, 11, 13, 9, 13, 13,
8, 5, 5, 8, 13, 5, 1, 5, 9, 1,
}
norm-square of the vector c
const T plb::descriptors::D3Q121Constants< T >::cs2 = 1./ ( 1.19697977039307435897238846385* 1.19697977039307435897238846385) [inline, static] |
lattice constant cs2 (in BGK, this is the square-speed-of-sound)
const T plb::descriptors::D3Q121Constants< T >::invCs2 = 1.19697977039307435897238846385* 1.19697977039307435897238846385 [inline, static] |
1 / cs2
const T plb::descriptors::D3Q121Constants< T >::invD = (T)1 / (T) d [inline, static] |
1 / (number of dimensions)
const T plb::descriptors::D3Q121Constants< T >::t [inline, static] |
lattice weights
const int plb::descriptors::D3Q121Constants< T >::vicinity = 3 [inline, static] |
size of neighborhood
1.6.3
1.6.3