Commit abde6ceb authored by Helen Schottenhamml's avatar Helen Schottenhamml
Browse files

Merge branch 'AdaptedPystencils' into 'master'

Adapt to get_headers function from pystencil

See merge request walberla/walberla!497
parents 359cab34 58884648
......@@ -74,3 +74,4 @@ CMakeDefs.h
/walberla-config.cmake
/cmake-build-debug/
/cmake-build-release/
/cmake-build-debug-remote/
......@@ -236,7 +236,7 @@ class KernelFamily:
return self._ast_attrs[name]
def get_headers(self):
all_headers = [get_headers(ast) for ast in self.all_asts]
all_headers = [list(get_headers(ast)) for ast in self.all_asts]
return reduce(merge_sorted_lists, all_headers)
def generate_kernel_invocation_code(self, **kwargs):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment