diff --git a/python/pystencils_walberla/boundary.py b/python/pystencils_walberla/boundary.py index 6e4ff76bb0414f58aa0b81da8733bd8dc85435c5..7901d6f2767970ed125ab1ccbcc0785fef9e3e5d 100644 --- a/python/pystencils_walberla/boundary.py +++ b/python/pystencils_walberla/boundary.py @@ -132,11 +132,12 @@ def generate_staggered_boundary(generation_context, class_name, boundary_object, dim, neighbor_stencil, index_shape, target=Target.CPU, **kwargs): assert dim == len(neighbor_stencil[0]) generate_boundary(generation_context, class_name, boundary_object, 'field', neighbor_stencil, index_shape, - FieldType.STAGGERED, target=target, **kwargs) + spatial_shape=None, field_type=FieldType.STAGGERED, field_data_type=None, target=target, **kwargs) def generate_staggered_flux_boundary(generation_context, class_name, boundary_object, dim, neighbor_stencil, index_shape, target=Target.CPU, **kwargs): assert dim == len(neighbor_stencil[0]) generate_boundary(generation_context, class_name, boundary_object, 'flux', neighbor_stencil, index_shape, - FieldType.STAGGERED_FLUX, target=target, **kwargs) + spatial_shape=None, field_type=FieldType.STAGGERED_FLUX, field_data_type=None, target=target, + **kwargs)