Skip to content
Snippets Groups Projects
Commit 5c0375c4 authored by Martin Bauer's avatar Martin Bauer
Browse files

Bugfix in waLBerla boundary generation

parent 0edd3844
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,7 @@ def createIndexedKernel(listOfEquations, indexFields, functionName="kernel", typ ...@@ -123,7 +123,7 @@ def createIndexedKernel(listOfEquations, indexFields, functionName="kernel", typ
loopBody.append(assignment) loopBody.append(assignment)
functionBody = Block([loopNode]) functionBody = Block([loopNode])
ast = KernelFunction(functionBody, "cpu", functionName=functionName) ast = KernelFunction(functionBody, functionName=functionName)
fixedCoordinateMapping = {f.name: coordinateTypedSymbols for f in nonIndexFields} fixedCoordinateMapping = {f.name: coordinateTypedSymbols for f in nonIndexFields}
resolveFieldAccesses(ast, set(['indexField']), fieldToFixedCoordinates=fixedCoordinateMapping) resolveFieldAccesses(ast, set(['indexField']), fieldToFixedCoordinates=fixedCoordinateMapping)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment