implementations.datatype_classes.cupy_mesh module¶
- class comp2_cupy_mesh(init, val=0.0)[source]¶
Bases:
object
RHS data type for cupy_meshes with 2 components
- comp1¶
first part
- Type:
- comp2¶
second part
- Type:
- class cupy_mesh(init, val=0.0, offset=0, buffer=None, strides=None, order=None)[source]¶
Bases:
ndarray
CuPy-based datatype for serial or parallel meshes.
- bcast(root=None, comm=None)[source]¶
Routine for broadcasting values
- Parameters:
root (int) – process with value to broadcast
comm – communicator
- Returns:
broadcasted values
- property comm¶
Getter for the communicator