ddm.interface_data_exchanger#
Classes#
|
This takes care of updating the ghost regions between two sides of an interface for a multi-dimensional array distributed according to the given Cartesian decomposition of a tensor-product grid of coefficients. |
Details#
- class InterfaceCartDataExchanger(cart, dtype, *, coeff_shape=())[source]#
Bases:
object
This takes care of updating the ghost regions between two sides of an interface for a multi-dimensional array distributed according to the given Cartesian decomposition of a tensor-product grid of coefficients.
- Parameters:
- cartpsydac.ddm.InterfaceCartDecomposition
Object that contains all information about the Cartesian decomposition of a tensor-product grid of coefficients.
- dtype[type | str | numpy.dtype | mpi4py.MPI.Datatype]
Datatype of single coefficient (if scalar) or of each of its components (if vector).
- coeff_shape[tuple(int) | list(int)]
Shape of a single coefficient, if this is multi-dimensional (optional: by default, we assume scalar coefficients).