parcels icon indicating copy to clipboard operation
parcels copied to clipboard

ctypes and pointers

Open delandmeterp opened this issue 5 years ago • 1 comments

Every pointer to memory should be set as late as possible. This will help parallelising the code (see #553 and https://github.com/willirath/pangeo_parcels)

Could everything be set at pset.execute() ? By everything I mean, pointers in fieldset and pset.

delandmeterp avatar Mar 06 '19 15:03 delandmeterp

Minimal code to test if we can serialize a ParticleSet:

import pickle
copied_pset = pickle.loads(pickle.dumps(pset))

willirath avatar Mar 07 '19 09:03 willirath

Closing this very old Issue for now.

erikvansebille avatar Oct 11 '22 17:10 erikvansebille