Skip to content
Snippets Groups Projects
Commit 5a6cb8d9 authored by Helen Schottenhamml's avatar Helen Schottenhamml
Browse files

Use waLBerla data types for outflow boundary conditions.

parent 532940dd
Branches
Tags
......@@ -69,7 +69,7 @@ class OutflowAdditionalDataHandler(AdditionalDataHandler):
@property
def additional_field_data(self):
identifier = "CPU" if self._target == "gpu" else ""
return f"auto {self._field_name} = block->getData< field::GhostLayerField<double, " \
return f"auto {self._field_name} = block->getData< field::GhostLayerField<real_t, " \
f"{len(self._stencil)}> >({self._field_name}{identifier}ID); "
def data_initialisation(self, direction_index):
......
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