landlab.grid.grid_funcs¶ Utility functions that operate on landlab grids.¶ resolve_values_on_links(grid, link_values)[source]¶ Resolve link values into x and y directions. Takes a set of values defined on active links, and returns those values resolved into the x and y directions. Two link arrays are returned: x, then y. Parameters: grid (ModelGrid) – A ModelGrid. link_values (ndarray) – Values on links. Returns: Values resolved into x-component and y-component. Return type: tuple of ndarray