This class defines the storage of the moments and distribution functions in pylbm.
It sets the storage in memory and how to access.
number of velocities
number of points in each direction including the fictitious point
the size of the fictitious points in each direction
the order of nv, nx, ny and nz Default is None which mean [nv, nx, ny, nz]
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. |
|
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. |