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

Public Types | |
| enum | { d = 2, q = 37 } |
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.19697977039307435897239*1.19697977039307435897239) |
| lattice constant cs2 (in BGK, this is the square-speed-of-sound) | |
| static const T | invCs2 = 1.19697977039307435897239*1.19697977039307435897239 |
| 1 / cs2 | |
D2Q37 lattice constants.
const int plb::descriptors::D2Q37Constants< T >::c [inline, static] |
{
{ 0, 0},
{-1, 3}, {-1, 2}, {-1, 1}, {-2, 2}, {-2, 1}, {-3, 1}, {-1, 0}, {-2, 0}, {-3, 0},
{-3,-1}, {-2,-1}, {-1,-1}, {-2,-2}, {-1,-2}, {-1,-3}, { 0,-1}, { 0,-2}, { 0,-3},
{ 1,-3}, { 1,-2}, { 1,-1}, { 2,-2}, { 2,-1}, { 3,-1}, { 1, 0}, { 2, 0}, { 3, 0},
{ 3, 1}, { 2, 1}, { 1, 1}, { 2, 2}, { 1, 2}, { 1, 3}, { 0, 1}, { 0, 2}, { 0, 3}
}
lattice directions
const int plb::descriptors::D2Q37Constants< T >::cNormSqr [inline, static] |
{
0,
10, 5, 2, 8, 5, 10, 1, 4, 9,
10, 5, 2, 8, 5, 10, 1, 4, 9,
10, 5, 2, 8, 5, 10, 1, 4, 9,
10, 5, 2, 8, 5, 10, 1, 4, 9
}
norm-square of the vector c
const T plb::descriptors::D2Q37Constants< T >::cs2 = 1./ (1.19697977039307435897239*1.19697977039307435897239) [inline, static] |
lattice constant cs2 (in BGK, this is the square-speed-of-sound)
const T plb::descriptors::D2Q37Constants< T >::invCs2 = 1.19697977039307435897239*1.19697977039307435897239 [inline, static] |
1 / cs2
const T plb::descriptors::D2Q37Constants< T >::invD = (T)1 / (T) d [inline, static] |
1 / (number of dimensions)
const T plb::descriptors::D2Q37Constants< T >::t [inline, static] |
{
0.23315066913235250228650,
0.00028341425299419821740, 0.00535304900051377523273, 0.05766785988879488203006, 0.00101193759267357547541, 0.00535304900051377523273, 0.00028341425299419821740, 0.10730609154221900241246, 0.01420821615845075026469, 0.00024530102775771734547,
0.00028341425299419821740, 0.00535304900051377523273, 0.05766785988879488203006, 0.00101193759267357547541, 0.00535304900051377523273, 0.00028341425299419821740, 0.10730609154221900241246, 0.01420821615845075026469, 0.00024530102775771734547,
0.00028341425299419821740, 0.00535304900051377523273, 0.05766785988879488203006, 0.00101193759267357547541, 0.00535304900051377523273, 0.00028341425299419821740, 0.10730609154221900241246, 0.01420821615845075026469, 0.00024530102775771734547,
0.00028341425299419821740, 0.00535304900051377523273, 0.05766785988879488203006, 0.00101193759267357547541, 0.00535304900051377523273, 0.00028341425299419821740, 0.10730609154221900241246, 0.01420821615845075026469, 0.00024530102775771734547
}
lattice weights
const int plb::descriptors::D2Q37Constants< T >::vicinity = 3 [inline, static] |
size of neighborhood
1.6.3
1.6.3