/usr/lib/python2.7/dist-packages/PySPH-1.0a4.dev0-py2.7-linux-x86_64.egg/pyzoltan/core/zoltan_comm.pxd is in python-pysph 0~20160514.git91867dc-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | import numpy as np
cimport numpy as np
# Zoltan comm objects and headers
from pyzoltan.czoltan cimport czoltan_comm as zcomm
cdef class ZComm:
# pointer to the zoltan comm object
cdef zcomm.ZOLTAN_COMM_OBJ* _zoltan_comm_obj
# mpi communicator, rank and size
cdef public object comm
cdef public int rank, size
# tag for the communicator
cdef public int tag
# number of objects to send
cdef public int nsend
# processor list for particles to be exported
cdef public np.ndarray proclist
# number of objects to be received
cdef public int nreturn
# size of each element and dtype
cdef public int nbytes
cdef public object dtype
|