Can't apply globalRefine on a grid
Construct a grid then try to call globalRefine
(or HierarchicalGrid.globalRefine
) on it, it fails with the following errors:
Traceback (most recent call last):
File "/home/misg/gsoc2016/dune-dev/dune-corepy/demo/finitevolume.py", line 12, in <module>
grid.HierarchicalGrid.globalRefine(level)
AttributeError: 'dune.generated.grid_4c1008dcc466e715718c2641402add' object has no attribute 'HierarchicalGrid'
Traceback (most recent call last):
File "/home/misg/gsoc2016/dune-dev/dune-corepy/demo/finitevolume.py", line 12, in <module>
grid.globalRefine(level)
AttributeError: 'dune.generated.grid_4c1008dcc466e715718c2641402add' object has no attribute 'globalRefine'
And yet, the method globalRefine
is exported in dune/corepy/py/grid/hierarchical.hh
.