Skip to content
Snippets Groups Projects
Commit c7685c0a authored by Markus Holzer's avatar Markus Holzer
Browse files

Merge branch 'mr_generated_outflow_sp_dp_fix' into 'master'

SP/DP fix for generated outflow BCs.

See merge request walberla/walberla!435
parents 290a0ef6 5a6cb8d9
Branches
Tags
No related merge requests found
......@@ -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