diff --git a/HySoP/hysop/constants.py b/HySoP/hysop/constants.py index 929d5d55cca3debe1fab3d1e727546147c5dbd20..5f1b68e31091b9fe2025097ba6bc4078f164b920 100644 --- a/HySoP/hysop/constants.py +++ b/HySoP/hysop/constants.py @@ -18,13 +18,13 @@ else: PI = math.pi # Set default type for real and integer numbers -PARMES_REAL = np.float32 +PARMES_REAL = np.float64 # type for array indices PARMES_INDEX = np.uint32 # type for integers -PARMES_INTEGER = np.int32 +PARMES_INTEGER = np.int64 # float type for MPI messages -PARMES_MPI_REAL = MPI.FLOAT +PARMES_MPI_REAL = MPI.DOUBLE ## default array layout (fortran or C convention) ORDER = 'F' ## Default array layout for MPI