Skip to content

Feature/add back rest to grid

Andreas Dedner requested to merge feature/addBackRestToGrid into master

Added option to pickle hierarchical grids in python, i.e.,

from dune.grid import structuredGrid
grid = structuredGrid([0,0],[1,1],[2,2])
pickle.dump([grid.hierarchicalGrid], open("dump",'wb'))

and

hgrid = pickle.load(open("dump","rb"))
grid = hgrid.leafView

Merge request reports

Loading