MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_data_output Module Reference

Writes grid and initial condition data to serial or parallel output files. More...

Data Types

interface  s_write_abstract_data_files
 Interface for the conservative data. More...

Functions/Subroutines

impure subroutine, public s_write_serial_data_files (q_cons_vf, q_prim_vf, bc_type, q_t_sf)
 Writes grid and initial condition data files to the "0" time-step directory in the local processor rank folder.
impure subroutine, public s_write_parallel_data_files (q_cons_vf, q_prim_vf, bc_type, q_t_sf)
 Writes grid and initial condition data files in parallel to the "0" time-step directory in the local processor rank folder.
impure subroutine, public s_initialize_data_output_module
 Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module.
impure subroutine, public s_write_ib_state_0_file (glb_bounds, particle_cloud_ibs, num_particle_cloud_ibs)
 Writes the initial IB layout (namelist patch_ib entries, then generated particle-cloud beds) that simulation reads back at startup (s_read_ib_restart_data, src/simulation/m_start_up.fpp), in the layouts simulation's own IB state writers use. Under file_per_process each rank writes only the IBs it owns to restart_data/lustre_0/ib_state_0_<rank>.dat; otherwise only rank 0 calls this and writes every IB, in global-id order, to restart_data/ib_state_0.dat.
impure subroutine, public s_finalize_data_output_module
 Resets s_write_data_files pointer.

Variables

type(scalar_field), dimension(:), allocatable q_cons_temp
character(len=path_len+2 *name_len), private t_step_dir
 Time-step folder into which grid and initial condition data will be placed.
character(len=path_len+2 *name_len), public restart_dir
 Restart data folder.
procedure(s_write_abstract_data_files), pointer, public s_write_data_files => null()

Detailed Description

Writes grid and initial condition data to serial or parallel output files.

Function/Subroutine Documentation

◆ s_finalize_data_output_module()

impure subroutine, public m_data_output::s_finalize_data_output_module

Resets s_write_data_files pointer.

Definition at line 807 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_initialize_data_output_module()

impure subroutine, public m_data_output::s_initialize_data_output_module

Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module.

Definition at line 631 of file m_data_output.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_write_ib_state_0_file()

impure subroutine, public m_data_output::s_write_ib_state_0_file ( type(bounds_info), dimension(3), intent(in) glb_bounds,
type(ib_patch_parameters), dimension(:), intent(in) particle_cloud_ibs,
integer, intent(in) num_particle_cloud_ibs )

Writes the initial IB layout (namelist patch_ib entries, then generated particle-cloud beds) that simulation reads back at startup (s_read_ib_restart_data, src/simulation/m_start_up.fpp), in the layouts simulation's own IB state writers use. Under file_per_process each rank writes only the IBs it owns to restart_data/lustre_0/ib_state_0_<rank>.dat; otherwise only rank 0 calls this and writes every IB, in global-id order, to restart_data/ib_state_0.dat.

Definition at line 741 of file m_data_output.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_write_parallel_data_files()

impure subroutine, public m_data_output::s_write_parallel_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf,
type(scalar_field), dimension(sys_size), intent(inout) q_prim_vf,
type(integer_field), dimension(1:num_dims,-1:1), intent(in) bc_type,
type(scalar_field), intent(inout), optional q_t_sf )

Writes grid and initial condition data files in parallel to the "0" time-step directory in the local processor rank folder.

Definition at line 403 of file m_data_output.fpp.f90.

Here is the caller graph for this function:

◆ s_write_serial_data_files()

impure subroutine, public m_data_output::s_write_serial_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf,
type(scalar_field), dimension(sys_size), intent(inout) q_prim_vf,
type(integer_field), dimension(1:num_dims,-1:1), intent(in) bc_type,
type(scalar_field), intent(inout), optional q_t_sf )

Writes grid and initial condition data files to the "0" time-step directory in the local processor rank folder.

Definition at line 58 of file m_data_output.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ q_cons_temp

type(scalar_field), dimension(:), allocatable m_data_output::q_cons_temp
private

Definition at line 34 of file m_data_output.fpp.f90.

◆ restart_dir

character(len=path_len + 2*name_len), public m_data_output::restart_dir

Restart data folder.

Definition at line 52 of file m_data_output.fpp.f90.

◆ s_write_data_files

procedure(s_write_abstract_data_files), pointer, public m_data_output::s_write_data_files => null()

Definition at line 53 of file m_data_output.fpp.f90.

◆ t_step_dir

character(len=path_len + 2*name_len), private m_data_output::t_step_dir
private

Time-step folder into which grid and initial condition data will be placed.

Definition at line 51 of file m_data_output.fpp.f90.