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

plb::descriptors Namespace Reference

Descriptors for the 2D and 3D lattices. More...

Classes

struct  ExternalOmegaDescriptor2d
struct  ExternalOmegaAndForceDescriptor2d
struct  ExternalOmegaD2Q9Descriptor
struct  ForcedExternalOmegaD2Q9Descriptor
struct  ExternalOmegaDescriptor3d
struct  ExternalOmegaBase3d
struct  ExternalOmegaAndForceDescriptor3d
struct  ExternalOmegaAndForceBase3d
struct  ExternalOmegaD3Q19Descriptor
struct  ForcedExternalOmegaD3Q19Descriptor
struct  ExternalOmegaD3Q15Descriptor
struct  ForcedExternalOmegaD3Q15Descriptor
struct  ExternalOmegaD3Q27Descriptor
struct  ForcedExternalOmegaD3Q27Descriptor
struct  D2Q5Constants
 D2Q5 lattice. More...
struct  D2Q5DescriptorBase
struct  AdvectionDiffusionD2Q5Descriptor
 AD D2Q5 lattice. More...
struct  D3Q7Constants
 D3Q7 lattice. More...
struct  D3Q7DescriptorBase
struct  AdvectionDiffusionD3Q7Descriptor
struct  AdvectionDiffusionWithSourceD3Q7Descriptor
struct  D2Q37Constants
 D2Q37 lattice constants. More...
struct  D2Q37DescriptorBase
struct  D2Q37Descriptor
struct  ForcedD2Q37Descriptor
struct  D3Q121Constants
 D3Q121 lattice constants. More...
struct  D3Q121DescriptorBase
struct  D3Q121Descriptor
struct  ForcedD3Q121Descriptor
struct  NoExternalField
struct  NoExternalFieldBase
struct  Force2dDescriptor
struct  Force2dDescriptorBase
struct  Velocity2dDescriptor
struct  Velocity2dDescriptorBase
struct  RhoBarJdescriptor2D
struct  RhoBarJdescriptorBase2D
struct  ForcedRhoBarJdescriptor2D
struct  ForcedRhoBarJdescriptorBase2D
struct  Force3dDescriptor
struct  Force3dDescriptorBase
struct  RhoBarJdescriptor3D
struct  RhoBarJdescriptorBase3D
struct  ForcedRhoBarJdescriptor3D
struct  ForcedRhoBarJdescriptorBase3D
struct  Velocity3dDescriptor
struct  Velocity3dBase
struct  VelocityAndScalar3dDescriptor
struct  VelocityAndScalar3dBase
struct  MRTD2Q9DescriptorBase
struct  MRTD3Q19DescriptorBase
struct  MRTD2Q9Descriptor
struct  ForcedMRTD2Q9Descriptor
struct  ExternalVelocityMRTD2Q9Descriptor
struct  MRTD3Q19Descriptor
struct  ForcedMRTD3Q19Descriptor
struct  ExternalVelocityMRTD3Q19Descriptor
struct  D2Q9Constants
 D2Q9 lattice constants. More...
struct  D2Q9DescriptorBase
struct  D2Q9Descriptor
struct  ForcedD2Q9Descriptor
struct  RhoBarJD2Q9Descriptor
struct  VelocityD2Q9Descriptor
struct  Tau1_D2Q9DescriptorBase
struct  Tau1_D2Q9Descriptor
struct  D3Q13Constants
 D3Q13 lattice. More...
struct  D3Q13DescriptorBase
struct  D3Q15Constants
 D3Q15 lattice. More...
struct  D3Q15DescriptorBase
struct  D3Q19Constants
 D3Q19 lattice. More...
struct  D3Q19DescriptorBase
struct  D3Q27Constants
 D3Q27 lattice. More...
struct  D3Q27DescriptorBase
struct  D3Q13Descriptor
struct  ForcedD3Q13Descriptor
struct  D3Q15Descriptor
struct  ForcedD3Q15Descriptor
struct  RhoBarJD3Q15Descriptor
struct  ForcedRhoBarJD3Q15Descriptor
struct  D3Q19Descriptor
struct  ForcedD3Q19Descriptor
struct  RhoBarJD3Q19Descriptor
struct  ForcedRhoBarJD3Q19Descriptor
struct  VelocityD3Q19Descriptor
struct  D3Q27Descriptor
struct  ForcedD3Q27Descriptor
struct  RhoBarJD3Q27Descriptor
struct  ForcedRhoBarJD3Q27Descriptor
struct  DensityMomentumNoForceExternals2D
 Density and Momentum as external scalars. More...
struct  DensityMomentumForceExternals2D
 Density, Momentum and Force as external scalars. More...
struct  ShanChenExternalBase2D
struct  ForcedShanChenExternalBase2D
struct  ShanChenD2Q9Descriptor
 D2Q9 lattice for Shan-Chen model. More...
struct  ForcedShanChenD2Q9Descriptor
 D2Q9 lattice for Shan-Chen model with force. More...
struct  DensityMomentumNoForceExternals3D
 Density and Momentum as external scalars. More...
struct  DensityMomentumForceExternals3D
 Density, Momentum and Force as external scalars. More...
struct  ShanChenExternalBase3D
struct  ForcedShanChenExternalBase3D
struct  ShanChenD3Q19Descriptor
 D3Q19 lattice for Shan-Chen model. More...
struct  ForcedShanChenD3Q19Descriptor
 D3Q19 lattice for Shan-Chen model with force. More...

Detailed Description

Descriptors for the 2D and 3D lattices.

Warning:
Attention: The lattice directions must always be ordered in such a way that c[i] = -c[i+(q-1)/2] for i=1..(q-1)/2, and c[0] = 0 must be the rest velocity. Furthermore, the velocities c[i] for i=1..(q-1)/2 must verify
  • in 2D: (c[i][0]<0) || (c[i][0]==0 && c[i][1]<0)
  • in 3D: (c[i][0]<0) || (c[i][0]==0 && c[i][1]<0) || (c[i][0]==0 && c[i][1]==0 && c[i][2]<0) Otherwise some of the code will work erroneously, because the aformentioned relations are taken as given to enable a few optimizations.
Attention: The lattice directions must always be ordered in such a way that c[i] = -c[i+(q-1)/2] for i=1..(q-1)/2, and c[0] = 0 must be the rest velocity. Furthermore, the velocities c[i] for i=1..(q-1)/2 must verify
  • in 2D: (c[i][0]<0) || (c[i][0]==0 && c[i][1]<0)
  • in 3D: (c[i][0]<0) || (c[i][0]==0 && c[i][1]<0) || (c[i][0]==0 && c[i][1]==0 && c[i][2]<0) Otherwise some of the code will work erroneously, because the aformentioned relations are utilized in the code to enable a few optimizations.