This class defines a structure of arrays to store the unknowns of the lattice Boltzmann schemes.
number of velocities
number of points in each direction including the fictitious point
the size of the fictitious points in each direction
the mpi topology
the type of the array. Default is numpy.double
True if GPU is needed
nspace
the space size.
nv
the number of velocities.
shape
the shape of the array that stores the data.
size
the size of the array that stores the data.
Methods
|
generate periodic conditions functions for loo.py backend. |
|
reshape. |
|
add conserved moments information to have a direct access. |
|
update ghost points on the interface with the datas of the neighbors. |
Attributes
|
the space size. |
|
the number of velocities. |
|
the shape of the array that stores the data. |
|
the size of the array that stores the data. |