1# 1 "/home/runner/work/MFC/MFC/src/post_process/p_main.fpp"
14 integer :: t_step, nt_step
16 character(LEN=name_len) :: varname
20 real(wp) :: start, finish
28 n_save = int(t_stop/t_save) + 1
52 nt_step = t_step - n_start + 1
54 nt_step = (t_step - t_step_start)/t_step_save + 1
56 if (nt_step >= 2)
then
63 if (t_step ==
n_save - 1)
then
68 if ((t_step_stop - t_step) < t_step_save .and. t_step_stop /= t_step)
then
69 t_step = t_step_stop - t_step_save
70 else if (t_step == t_step_stop)
then
79 t_step = t_step + t_step_save
Global parameters for the post-process: domain geometry, equation of state, and output database setti...
real(wp) wall_time_avg
Wall time measurements.
Reads and validates user inputs, allocates variables, and configures MPI decomposition and I/O for po...
impure subroutine s_save_data(t_step, varname, pres, c, h)
Derive requested flow quantities from primitive variables and write them to the formatted database fi...
impure subroutine s_initialize_mpi_domain
Set up the MPI environment, read and broadcast user inputs, and decompose the computational domain.
impure subroutine s_perform_time_step(t_step)
Load grid and conservative data for a time step, fill ghost-cell buffers, and convert to primitive va...
impure subroutine s_finalize_modules
Destroy FFTW plans, free MPI communicators, and finalize all post-process sub-modules.
impure subroutine s_initialize_modules
Initialize all post-process sub-modules, set up I/O pointers, and prepare FFTW plans and MPI communic...
program p_main
Post-process raw simulation data into formatted database files (Silo-HDF5 or Binary).