Closed oakleybrunt closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.86%. Comparing base (
9f219c9
) to head (94c5677
). Report is 22 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hi @oakleybrunt, is this ready for review now?
Hi @oakleybrunt, is this ready for review now?
Hey @arporter, all ready now that labels have been added to the PR 👍
As expected, the integration tests were green this time around :-)
Towards #1351
This PR adds metadata checks to the current LFRicKernMetadata specifically targeting dof kernel metadata. These should cover all of the rules laid out in the documentation (omitting any already covered) :
[x] A DoF Kernel must have at least one argument that is a field. Only fields (as opposed to e.g. field vectors or operators) are accepted for DoF Kernels because only they have a single value at each DoF.
[x] All Kernel arguments must be either fields or scalars (real- and/or integer-valued). DoF Kernels cannot accept operators.
[x] All field arguments to a given DoF Kernel must be on the same function space so they have the same number of DoFs.
[x] They must have at least one modified (i.e. written to) field argument. Unlike built-ins, this is not limited and more than one modified argument is allowed.