oocgcm.core.grids.generic_2d_grid.vertical_component_of_the_cross_product¶
- generic_2d_grid.vertical_component_of_the_cross_product(vectorfield1, vectorfield2)¶
Return the cross product of two vector fields.
Parameters: vectorfield1 : VectorField2d namedtuple
two-dimensional vector field at u,v grid_location
vectorfield2 : VectorField2d namedtuple
two-dimensional vector field at u,v grid_location
Notes
Relocates all the components of the VectorFields at t grid_location then compute :math:`c = v1_x . v2_y - v1_y . v2_x.
So far, only available for vector fields at u,v grid_location.