MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_start_up.fpp.f90 File Reference

Contains module m_start_up. More...

Go to the source code of this file.

Modules

module  m_start_up
 Reads and validates user inputs, allocates variables, and configures MPI decomposition and I/O for post-processing.

Functions/Subroutines

impure subroutine m_start_up::s_read_input_file
 Reads the configuration file post_process.inp, in order to populate parameters in module m_global_parameters.f90 with the user provided inputs.
impure subroutine m_start_up::s_check_input_file
 Checking that the user inputs make sense, i.e. that the individual choices are compatible with the code's options and that the combination of these choices results into a valid configuration for the post-process.
impure subroutine m_start_up::s_perform_time_step (t_step)
 Load grid and conservative data for a time step, fill ghost-cell buffers, and convert to primitive variables.
impure subroutine m_start_up::s_save_data (t_step, varname, pres, c, h)
 Derive requested flow quantities from primitive variables and write them to the formatted database files.
subroutine m_start_up::s_mpi_transpose_x2y
 Transpose 3-D complex data from x-pencil to y-pencil layout via MPI_Alltoall.
subroutine m_start_up::s_mpi_transpose_y2z
 Transpose 3-D complex data from y-pencil to z-pencil layout via MPI_Alltoall.
impure subroutine m_start_up::s_initialize_modules
 Initialize all post-process sub-modules, set up I/O pointers, and prepare FFTW plans and MPI communicators.
subroutine m_start_up::s_mpi_fft_fwd
 Perform a distributed forward 3-D FFT using pencil decomposition with FFTW and MPI transposes.
impure subroutine m_start_up::s_initialize_mpi_domain
 Set up the MPI environment, read and broadcast user inputs, and decompose the computational domain.
impure subroutine m_start_up::s_finalize_modules
 Destroy FFTW plans, free MPI communicators, and finalize all post-process sub-modules.

Variables

type(c_ptr) m_start_up::fwd_plan_x
type(c_ptr) m_start_up::fwd_plan_y
type(c_ptr) m_start_up::fwd_plan_z
complex(c_double_complex), dimension(:), allocatable m_start_up::data_in
complex(c_double_complex), dimension(:), allocatable m_start_up::data_out
complex(c_double_complex), dimension(:, :, :), allocatable m_start_up::data_cmplx
complex(c_double_complex), dimension(:, :, :), allocatable m_start_up::data_cmplx_y
complex(c_double_complex), dimension(:, :, :), allocatable m_start_up::data_cmplx_z
real(wp), dimension(:, :, :), allocatable m_start_up::en_real
real(wp), dimension(:), allocatable m_start_up::en
integer m_start_up::num_procs_x
integer m_start_up::num_procs_y
integer m_start_up::num_procs_z
integer m_start_up::nx
integer m_start_up::ny
integer m_start_up::nz
integer m_start_up::nxloc
integer m_start_up::nyloc
integer m_start_up::nyloc2
integer m_start_up::nzloc
integer m_start_up::nf
integer m_start_up::ierr
integer m_start_up::mpi_comm_cart
integer m_start_up::mpi_comm_cart12
integer m_start_up::mpi_comm_cart13
integer, dimension(3) m_start_up::cart3d_coords
integer, dimension(2) m_start_up::cart2d12_coords
integer, dimension(2) m_start_up::cart2d13_coords
integer m_start_up::proc_rank12
integer m_start_up::proc_rank13

Detailed Description

Contains module m_start_up.

Definition in file m_start_up.fpp.f90.