Skip to content
Snippets Groups Projects
Commit 06e5fe97 authored by Robert K's avatar Robert K
Browse files

Merge branch 'cherry-pick-1a439c8b' into 'releases/2.9'

Merge branch 'bugfix/cartesianDomain' into 'master'

See merge request !147
parents 8a440653 6b3db21c
Branches
Tags v2.9.0.0
No related merge requests found
......@@ -109,6 +109,14 @@ def aluGrid(constructor, dimgrid=None, dimworld=None, elementType=None, refineme
# return gridModule.LeafGrid(gridModule.reader(constructor, comm))
gridView = gridModule.LeafGrid(gridModule.reader(constructor))
# in case of a carteisan domain store if old or new boundary ids was used
# this can be removed in later version - it is only used in dune-fem
# to give a warning that the boundary ids for the cartesian domains have changed
try:
gridView.hierarchicalGrid._cartesianConstructionWithIds = constructor.boundaryWasSet
except AttributeError:
pass
return gridView
def aluConformGrid(*args, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment