Skip to content

Consolidated the ConGrad operator into a universal operator.

Issue/feature addressed

Consolidated the ConGrad operator into a universal operator.

Proposed solution

Also fixed issues related to the consolidation.


A single implementation of the ConGrad operator now exists making long term maintanence easier.


All test pass.

Suggested reviewers


The SerialStdMat implementation will not work when built under AVX. Normally the input and output fields can be used directly. When using AVX and intermediate Nektar::Array must be used because of the alignment differences. The work around is surrounded by an


There should be a better way to deal with the alignment differences. For now it works because the alignment differences can be detected.


  • 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).
Edited by Allen Sanderson

Merge request reports