Skip to content

Draft: Fixing Field Forcing for the Homogenous case

Issue/feature addressed

When using BodyForce based on the additional field in the homogenous case forcing is applied only to the mean mode (0 plane)

Proposed solution

Modify the portion of the code in BodyForcing responsible for this adding a call to the HomogenousFwdTransform

Implementation

Implementation is not perfect. It requires a copy of the local solution vector to be made and processed.

Tests

Suggested reviewers

Dave Moxey as he is to blame for the original implementation.

Notes

Please add any other information that could be useful for reviewers.

Checklist

  • Functions and classes, or changes to them, are documented.
  • User guide/documentation is updated.
  • Changelog is updated.
  • Suitable tests added for new functionality.
  • Contributed code is correctly formatted. (See the contributing guidelines).
  • License added to any new files.
  • No extraneous files have been added (e.g. compiler output or test data files).

Merge request reports