Skip to content

Commit

Permalink
Merge branch 'mr_boundary_collection_pdf_fix' into 'master'
Browse files Browse the repository at this point in the history
Boundary Collection: pdfs as kernel parameters

See merge request walberla/walberla!670
  • Loading branch information
Markus Holzer committed May 2, 2024
2 parents 941fd0f + 34b242d commit 021f3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lbmpy_walberla/templates/BoundaryCollection.tmpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class {{class_name}}
{
{% for object_name, boundary_class, kernel, additional_data_handler in zip(object_names, boundary_classes, kernel_list, additional_data_handlers) -%}

{{object_name}} = std::make_shared< {{boundary_class}} >({{- ["blocks", "pdfsID", [kernel|generate_function_collection_call(['indexVector', 'indexVectorSize', 'pdfs', 'timestep', 'gpuStream'], use_field_ids=True)], additional_data_handler.constructor_argument_name] | type_identifier_list -}});
{{object_name}} = std::make_shared< {{boundary_class}} >({{- ["blocks", [kernel|generate_function_collection_call(['indexVector', 'indexVectorSize', 'timestep', 'gpuStream'], use_field_ids=True)], additional_data_handler.constructor_argument_name] | type_identifier_list -}});
{% endfor %}

{% for object_name, flag_uid in zip(object_names, flag_uids) -%}
Expand Down

0 comments on commit 021f3b3

Please sign in to comment.