FluidNumerics / FluidNumerics/SELF

Automatically disable prescribed boundary conditions

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Fortran
Stars
92
Forks
13
Avg merge
20h 38m
Merged PRs (30d)
7

Description

GPU accelerated models still run prescribed boundary conditions on the CPU. This is done to make it easy to use prescribed boundaries. However, this has performance penalties, since the `extboundary` data needs to be updated on the host before filling in prescribed boundaries and pushed back to the device after filling prescribed boundaries.

On meshes that do not use prescribed boundaries anywhere, or are explicitly time independent boundaries, we should enforce disabling of the prescribed boundary conditions on behalf of the user to automatically promote optimal performance. When prescribed boundary conditions are detected, then the prescribed boundary condition evaluation should be retained.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.