uxarray.Grid.get_dual

Contents

uxarray.Grid.get_dual#

Grid.get_dual()#

Compute the dual for a grid, which constructs a new grid centered around the nodes, where the nodes of the primal become the face centers of the dual, and the face centers of the primal become the nodes of the dual. Returns a new Grid object.

Returns:

dual – Dual Mesh Grid constructed

Return type:

Grid