using SPGrid is not working
Generating a Python module for SPGrid is not working and lead to a compilation error, see the attached txt file (spgrid-log.txt).
This is how I proceeded:
-
installing dune-spgrid from the gitlab (git clone, dunecontrol all)
-
putting dune-spgrid as a suggested package in the
dune.module
of dune-corepy and recompilling dune-corepy with dunecontrol -
writing
grid_m = grid.get("SPGrid", dimgrid=2, dimworld=2) gridView = grid.leafGrid("../data/unitcube-2d.dgf", grid_m)
in
demo/finitevolume.py
for example and then running it in the build-cmake directory of dune-corepy withpython demo/finitevolume.pyc
.