compass.landice.mesh.set_rectangular_geom_points_and_edges

compass.landice.mesh.set_rectangular_geom_points_and_edges(xmin, xmax, ymin, ymax)[source]

Set node and edge coordinates to pass to mpas_tools.mesh.creation.build_mesh.build_planar_mesh().

Parameters:
  • xmin (int or float) – Left-most x-coordinate in region to mesh

  • xmax (int or float) – Right-most x-coordinate in region to mesh

  • ymin (int or float) – Bottom-most y-coordinate in region to mesh

  • ymax (int or float) – Top-most y-coordinate in region to mesh

Returns:

  • geom_points (jigsawpy.jigsaw_msh_t.VERT2_t) – xy node coordinates to pass to build_planar_mesh()

  • geom_edges (jigsawpy.jigsaw_msh_t.EDGE2_t) – xy edge coordinates between nodes to pass to build_planar_mesh()