Skip to content
Permalink
Browse files

Formatting.

  • Loading branch information...
KaiSzuttor committed Mar 15, 2019
1 parent 920248f commit ea58a6216758ff6af7390d319d1dfabd927dc475
Showing with 3 additions and 4 deletions.
  1. +1 −3 src/python/espressomd/globals.pxd
  2. +2 −1 src/python/espressomd/globals.pyx
@@ -68,7 +68,7 @@ cdef extern from "domain_decomposition.hpp":
extern int max_num_cells
extern int min_num_cells
extern double max_skin
int calc_processor_min_num_cells(const Vector3i &grid)
int calc_processor_min_num_cells(const Vector3i & grid)


cdef extern from "particle_data.hpp":
@@ -118,8 +118,6 @@ cdef extern from "tuning.hpp":
extern int timing_samples




cdef extern from "npt.hpp":
ctypedef struct nptiso_struct:
double p_ext
@@ -20,7 +20,8 @@ cdef class Globals(object):
raise ValueError("Box length must be of length 3")
for i in range(3):
if _box_l[i] <= 0:
raise ValueError("Box length must be > 0 in all directions")
raise ValueError(
"Box length must be > 0 in all directions")
temp_box_l[i] = _box_l[i]
grid.box_l = temp_box_l
mpi_bcast_parameter(FIELD_BOXL)

0 comments on commit ea58a62

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.