setMeanDensityAnomaly
Set the mean-density-anomaly component.
Declaration
setMeanDensityAnomaly(eta)
Parameters
etafunction handle that takes a single argument, eta(Z)
Discussion
Overwrite existing mean-density-anomaly coefficients with the
projection of eta while preserving other flow components.
Other components of the flow will remain unaffected.
eta = @(z) 10*sin(pi*(z+wvt.Lz)/wvt.Lz);
wvt.setMeanDensityAnomaly(eta);
It is important to note that because the WVTransform de-aliases by default, you will not likely get exactly the same function out that you put in. The high-modes are removed.