Closed aschuh-hf closed 1 year ago
The curvature_loss() function penalizes the sum of all computed second order derivatives. However, it should penalize the individual sums of second order derivatives computed separately for each vector field component.
curvature_loss()
In case of a 2-dimensional flow field:
(du/dxx + du/dyy) ** 2 + (dv/dxx + dv/dyy) ** 2
What is currently implemented, corresponds to
(du/dxx + du/dyy + dv/dxx + dv/dyy) ** 2
The
curvature_loss()
function penalizes the sum of all computed second order derivatives. However, it should penalize the individual sums of second order derivatives computed separately for each vector field component.In case of a 2-dimensional flow field:
What is currently implemented, corresponds to