intZG
Return the bottom-zero first antiderivative of a G-representation.
Declaration
W = intZG(w,n=1)
Parameters
wG-representation in[Nx Ny Nz]or[Nz N]layoutnantiderivative order; only 1 is supported (default 1)
Returns
Wbottom-zero F-representation antiderivative in the input layout
Discussion
A G-to-F antiderivative is defined up to an additive constant. This
method selects the representative that vanishes at the bottom boundary.
w may use the gridded layout [Nx Ny Nz] or a vertical-first matrix
[Nz N]; the returned array preserves that layout.