Skip to content

Passive density update

Sometimes it's not wanted to update the density through calculating it's own gradient but to update it passively by updating Vp and keeping the Gardners relation constant or by summing a weighted fraction of the Vp-gradient to the density.

Implement the update of density according to Vp by keeping the Gardner relation constant or calculating weights.