5.6. Input/Output#

I/O - related functions and utilities.

mirgecom.io.make_status_message(*, dcoll, t, step, dt, cfl, dependent_vars, fluid_dd=DOFDesc(domain_tag=VolumeDomainTag(tag=<class 'grudge.dof_desc.VTAG_ALL'>), discretization_tag=<class 'grudge.dof_desc.DISCR_TAG_BASE'>))[source]#

Make simulation status and health message.

mirgecom.io.make_rank_fname(basename, rank=0, step=0, t=0)[source]#

Create a rank-specific filename.

mirgecom.io.make_par_fname(basename, step=0, t=0)[source]#

Make parallel visualization filename.

mirgecom.io.read_and_distribute_yaml_data(mpi_comm=None, file_path=None)[source]#

Read a YAML file on one rank, broadcast result to world.