morpho icon indicating copy to clipboard operation
morpho copied to clipboard

[Bug] area_enclosed 2D gradient in functional.c

Open ancaandrei opened this issue 1 year ago • 1 comments

Describe the bug The 2D area_enclosed gradient, not numerical gradient, is wrong.

To Reproduce The area_enclosed gradient function is defined in functional.c

Expected behavior The gradient should have cases like the 3D case.

Screenshots n/a

Additional context n/a

ancaandrei avatar May 31 '23 20:05 ancaandrei

Can you provide a minimal example, @ancaandrei? This would really help us understand the bug.

softmattertheory avatar Jun 16 '23 12:06 softmattertheory