Tidy MatrixFreeOps physderiv and helmholtz
Issue/feature addressed
Tidy MatrixFreeOps physderiv and helmholtz. Prepare for future development.
Proposed solution
Implementation
- Extract
PhysDerivTensorXDKernel()
out ofPhysDerivXDKernel()
. To do thePhysDeriv
operation, callPhysDerivTensorXDKernel()
andPhysDerivXDKernel
sequentially. After this change, it's possible to integratePhysDeriv
and Helmholtz in the same operator by just calling PhysDerivTensorXDKernel once. - Remove the unused argument
bwd
in theHelmholtz2DKernel
/DiffusionCoeff2DKernel
. Onlyderiv0
andderiv1
will actually be used.
Tests
No additional tests are required.
Suggested reviewers
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).