aPriori.gradient_yΒΆ
- aPriori.gradient_y(F, mesh, filter_size=1)ΒΆ
Computes 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.
verbose (bool) β If True, it will output relevant information.
- Returns:
grad_y β The y component of the gradient
- Return type:
numpy array