uxarray.grid.Grid.write

Grid.write(outfile, extension='')

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

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

  • extension (str, optional) – Extension of output file. Defaults to empty string. Currently supported options are “.ugrid”, “.ug”, “.g”, “.exo”, and “”

Raises

RuntimeError – If unsupported extension provided or directory not found