uxarray.grid.Grid.write#

Grid.write(outfile, grid_type)#

Writes mesh file as per extension supplied in the outfile string.

Parameters
  • outfile (str, required) – Path to output file

  • grid_type (str, required) – Grid type of output file. Currently supported options are “ugrid”, “exodus”, and “scrip”

Raises

RuntimeError – If unsupported grid type provided or directory not found