naturalHHD icon indicating copy to clipboard operation
naturalHHD copied to clipboard

Issue and solution to the computation of the divcurl function in the python implementation.

Open HarleyKelly opened this issue 6 months ago • 0 comments

On line 90 in the file structured.py there is an error in the computation of the divergence in the divcurl function.

The code should be np.add(dudx,dwdz,dudx).

As well as this the negative curl is computed, if this is intentional it might be worth adding a comment to explicitly say this.

HarleyKelly avatar Aug 22 '24 13:08 HarleyKelly