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

Reads input files, loads initial conditions and grid data, and orchestrates solver initialization and finalization. More...

Functions/Subroutines

impure subroutine, public s_read_data_files (q_cons_vf)
 Read data files. Dispatch subroutine that replaces procedure pointer.
impure subroutine, public s_read_input_file
 Verify the input file exists and read it.
impure subroutine, public s_check_input_file
 Validate that all user-provided inputs form a consistent simulation configuration.
impure subroutine, public s_read_serial_data_files (q_cons_vf)
 Read serial initial condition and grid data files and compute cell-width distributions.
impure subroutine, public s_read_parallel_data_files (q_cons_vf)
 Read parallel initial condition and grid data files via MPI I/O.
subroutine, public s_initialize_internal_energy_equations (v_vf)
 Initialize internal-energy equations from phase mass, mixture momentum, and total energy.
impure subroutine, public s_perform_time_step (t_step, time_avg)
 Advance the simulation by one time step, handling CFL-based dt and time-stepper dispatch.
impure subroutine, public s_save_performance_metrics (time_avg, time_final, io_time_avg, io_time_final, proc_time, io_proc_time, file_exists)
 Collect per-process wall-clock times and write aggregate performance metrics to file.
impure subroutine, public s_save_data (t_step, start, finish, io_time_avg, nt)
 Save conservative variable data to disk at the current time step.
impure subroutine, public s_initialize_modules
 Initialize all simulation sub-modules in the required dependency order.
impure subroutine, public s_initialize_mpi_domain
 Set up the MPI execution environment, bind GPUs, and decompose the computational domain.
subroutine, public s_initialize_gpu_vars
 Transfer initial conservative variable and model parameter data to the GPU device.
impure subroutine, public s_finalize_modules
 Finalize and deallocate all simulation sub-modules in reverse initialization order.

Variables

type(scalar_field), dimension(:), allocatable q_cons_temp
real(wpdt_init

Detailed Description

Reads input files, loads initial conditions and grid data, and orchestrates solver initialization and finalization.

Function/Subroutine Documentation

◆ s_check_input_file()

impure subroutine, public m_start_up::s_check_input_file

Validate that all user-provided inputs form a consistent simulation configuration.

Definition at line 479 of file m_start_up.fpp.f90.

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

◆ s_finalize_modules()

impure subroutine, public m_start_up::s_finalize_modules

Finalize and deallocate all simulation sub-modules in reverse initialization order.

Definition at line 1739 of file m_start_up.fpp.f90.

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

◆ s_initialize_gpu_vars()

subroutine, public m_start_up::s_initialize_gpu_vars

Transfer initial conservative variable and model parameter data to the GPU device.

Definition at line 1458 of file m_start_up.fpp.f90.

Here is the caller graph for this function:

◆ s_initialize_internal_energy_equations()

subroutine, public m_start_up::s_initialize_internal_energy_equations ( type(scalar_field), dimension(sys_size), intent(inout) v_vf)

Initialize internal-energy equations from phase mass, mixture momentum, and total energy.

Definition at line 880 of file m_start_up.fpp.f90.

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

◆ s_initialize_modules()

impure subroutine, public m_start_up::s_initialize_modules

Initialize all simulation sub-modules in the required dependency order.

Definition at line 1278 of file m_start_up.fpp.f90.

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

◆ s_initialize_mpi_domain()

impure subroutine, public m_start_up::s_initialize_mpi_domain

Set up the MPI execution environment, bind GPUs, and decompose the computational domain.

Definition at line 1390 of file m_start_up.fpp.f90.

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

◆ s_perform_time_step()

impure subroutine, public m_start_up::s_perform_time_step ( integer, intent(inout) t_step,
real(wp), intent(inout) time_avg )

Advance the simulation by one time step, handling CFL-based dt and time-stepper dispatch.

Definition at line 937 of file m_start_up.fpp.f90.

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

◆ s_read_data_files()

impure subroutine, public m_start_up::s_read_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf)

Read data files. Dispatch subroutine that replaces procedure pointer.

Definition at line 389 of file m_start_up.fpp.f90.

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

◆ s_read_input_file()

impure subroutine, public m_start_up::s_read_input_file

Verify the input file exists and read it.

Definition at line 402 of file m_start_up.fpp.f90.

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

◆ s_read_parallel_data_files()

impure subroutine, public m_start_up::s_read_parallel_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf)

Read parallel initial condition and grid data files via MPI I/O.

Definition at line 624 of file m_start_up.fpp.f90.

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

◆ s_read_serial_data_files()

impure subroutine, public m_start_up::s_read_serial_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf)

Read serial initial condition and grid data files and compute cell-width distributions.

Definition at line 498 of file m_start_up.fpp.f90.

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

◆ s_save_data()

impure subroutine, public m_start_up::s_save_data ( integer, intent(inout) t_step,
real(wp), intent(inout) start,
real(wp), intent(inout) finish,
real(wp), intent(inout) io_time_avg,
integer, intent(inout) nt )

Save conservative variable data to disk at the current time step.

Definition at line 1094 of file m_start_up.fpp.f90.

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

◆ s_save_performance_metrics()

impure subroutine, public m_start_up::s_save_performance_metrics ( real(wp), intent(inout) time_avg,
real(wp), intent(inout) time_final,
real(wp), intent(inout) io_time_avg,
real(wp), intent(inout) io_time_final,
real(wp), dimension(:), intent(inout) proc_time,
real(wp), dimension(:), intent(inout) io_proc_time,
logical, intent(inout) file_exists )

Collect per-process wall-clock times and write aggregate performance metrics to file.

Definition at line 1033 of file m_start_up.fpp.f90.

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

Variable Documentation

◆ dt_init

real(wp) m_start_up::dt_init

Definition at line 384 of file m_start_up.fpp.f90.

◆ q_cons_temp

type(scalar_field), dimension(:), allocatable m_start_up::q_cons_temp

Definition at line 383 of file m_start_up.fpp.f90.