message: Python API: Changed set_ddi() so that it can properly set the ddi_method and n_periodic_images
diff: @@ -64,11 +64,12 @@ def set_dmi(p_state, n_shells, D_ij, chirality=CHIRALITY_BLOCH, idx_image=-1, id
  ### Set dipole-dipole interaction in form of exact calculation within a cutoff radius
  _Set_DDI = _spirit.Hamiltonian_Set_DDI
  -_Set_DDI.argtypes = [ctypes.c_void_p, ctypes.c_float,
  +_Set_DDI.argtypes = [ctypes.c_void_p, ctypes.c_int, ctypes.POINTER(ctypes.c_int), ctypes.c_float,
  ctypes.c_int, ctypes.c_int]
  _Set_DDI.restype = None
  -def set_ddi(p_state, radius, idx_image=-1, idx_chain=-1):
  - _Set_DDI(ctypes.c_void_p(p_state), ctypes.c_float(radius),
  +def set_ddi(p_state, ddi_method, n_periodic_images=[4,4,4], radius=0.0, idx_image=-1, idx_chain=-1):
  + vec3 = ctypes.c_int * 3
  + _Set_DDI(ctypes.c_void_p(p_state), ctypes.c_int(ddi_method) , vec3(*n_periodic_images), ctypes.c_float(radius),
  ctypes.c_int(idx_image), ctypes.c_int(idx_chain))
  ### ---------------------------------- Get ----------------------------------
  