aPriori.gradient_zΒΆ
- aPriori.gradient_z(F, mesh, filter_size=1)ΒΆ
Computes the z component of the gradient of a 3D, non downsampled, filtered field. Numpy is used to computed the gradients on all the possible downsampled grids
- Parameters:
Ur (Scalar3D object) β Is the field to filter.
mesh (Mesh3D object) β Is the mesh object used to compute the derivatives.
filter_size (int) β Is the filter size used to filter the field.
- Returns:
grad_z β The z component of the gradient
- Return type:
numpy array