FVENS icon indicating copy to clipboard operation
FVENS copied to clipboard

Needless copies related to gradient blocks in residual computation

Open Slaedr opened this issue 6 years ago • 2 comments

Fix needless copies in

  • Weighted least-squares reconstruction: final assignment of gradients to output variables
  • ~~viscous flux computation: before passing for conversion to primitve-2~~
  • ~~MUSCL Van-Albada reconstruction~~

Slaedr avatar Nov 20 '18 02:11 Slaedr

Removed copies in MUSCL Van-Albada reconstruction in MPI branch.

Slaedr avatar Dec 13 '18 00:12 Slaedr

Before passing for conversion for primitive-2 in viscous flux computation, copies are required because Gradblocks are col-major and the function takes row-major arrays for the gradients.

Slaedr avatar Dec 13 '18 00:12 Slaedr