Skip to content

Implement all grid functions

McDonald, Richard R. requested to merge mdpiper/impl-grid-functions into master

Created by: mdpiper

This PR implements all the BMI grid functions. This includes:

  • get_grid_shape
  • get_grid_spacing
  • get_grid_origin
  • get_grid_node_count
  • get_grid_edge_count
  • get_grid_face_count
  • get_grid_edge_nodes
  • get_grid_face_edges
  • get_grid_face_nodes
  • get_grid_nodes_per_face

Since these functions aren't currently used in the surface component BMI, they all return BMI_FAILURE and a value of -1 (when possible).

Merge request reports