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

Reads and validates user inputs, loads existing grid/IC data, and initializes pre-process modules. More...

Data Types

interface  s_read_abstract_grid_data_files
 Abstract interface for reading grid data files in serial or parallel. More...
interface  s_read_abstract_ic_data_files
 Abstract interface for reading initial condition data files in serial or parallel. More...

Functions/Subroutines

impure subroutine, public s_read_input_file
 Reads the configuration file pre_process.inp, in order to populate the parameters in module m_global_parameters.f90 with the user provided inputs.
impure subroutine, public 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 pre-process.
impure subroutine, public s_read_serial_grid_data_files
 The goal of this subroutine is to read in any preexisting grid data as well as based on the imported grid, complete the necessary global computational domain parameters.
impure subroutine, public s_check_grid_data_files
 Cell-boundary data are checked for consistency by looking at the (non-)uniform cell-width distributions for all the active coordinate directions and making sure that all of the cell-widths are positively valued.
impure subroutine, public s_read_serial_ic_data_files (q_cons_vf_in)
 The goal of this subroutine is to read in any preexisting initial condition data files so that they may be used by the pre-process as a starting point in the creation of an all new initial condition.
impure subroutine, public s_read_parallel_grid_data_files
 Cell-boundary data are checked for consistency by looking at the (non-)uniform cell-width distributions for all the active coordinate directions and making sure that all of the cell-widths are positively valued.
impure subroutine, public s_read_parallel_ic_data_files (q_cons_vf_in)
 The goal of this subroutine is to read in any preexisting initial condition data files so that they may be used by the pre-process as a starting point in the creation of an all new initial condition.
impure subroutine, public s_initialize_modules
 Initializes all pre-process modules, allocates data structures, and sets I/O procedure pointers.
impure subroutine, public s_read_grid ()
 Reads an existing grid from data files or generates a new grid from user inputs.
impure subroutine, public s_apply_initial_condition (start, finish)
 Generates or reads the initial condition, applies relaxation if needed, and writes output data files.
impure subroutine, public s_save_data (proc_time, time_avg, time_final, file_exists)
 Gathers processor timing data and writes elapsed wall-clock time to a summary file.
impure subroutine, public s_initialize_mpi_domain
 Initializes MPI, reads and validates user inputs on rank 0, and decomposes the computational domain.
impure subroutine, public s_finalize_modules
 Finalizes all pre-process modules, deallocates resources, and shuts down MPI.

Variables

character(len=path_len+name_lenproc_rank_dir
 Location of the folder associated with the rank of the local processor.
character(len=path_len+2 *name_len), private t_step_dir
 Possible location of time-step folder containing preexisting grid and/or conservative variables data to be used as starting point for pre-process.
procedure(s_read_abstract_grid_data_files), pointer, public s_read_grid_data_files => null()
procedure(s_read_abstract_ic_data_files), pointer, public s_read_ic_data_files => null()

Detailed Description

Reads and validates user inputs, loads existing grid/IC data, and initializes pre-process modules.

Function/Subroutine Documentation

◆ s_apply_initial_condition()

impure subroutine, public m_start_up::s_apply_initial_condition ( real(wp), intent(inout) start,
real(wp), intent(inout) finish )

Generates or reads the initial condition, applies relaxation if needed, and writes output data files.

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

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

◆ s_check_grid_data_files()

impure subroutine, public m_start_up::s_check_grid_data_files

Cell-boundary data are checked for consistency by looking at the (non-)uniform cell-width distributions for all the active coordinate directions and making sure that all of the cell-widths are positively valued.

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

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

◆ s_check_input_file()

impure subroutine, public 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 pre-process.

Definition at line 197 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

Finalizes all pre-process modules, deallocates resources, and shuts down MPI.

Definition at line 876 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

Initializes all pre-process modules, allocates data structures, and sets I/O procedure pointers.

Definition at line 711 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

Initializes MPI, reads and validates user inputs on rank 0, and decomposes the computational domain.

Definition at line 849 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_grid()

impure subroutine, public m_start_up::s_read_grid

Reads an existing grid from data files or generates a new grid from user inputs.

Definition at line 748 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

Reads the configuration file pre_process.inp, in order to populate the parameters in module m_global_parameters.f90 with the user provided inputs.

Definition at line 111 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_grid_data_files()

impure subroutine, public m_start_up::s_read_parallel_grid_data_files

Cell-boundary data are checked for consistency by looking at the (non-)uniform cell-width distributions for all the active coordinate directions and making sure that all of the cell-widths are positively valued.

Definition at line 518 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_ic_data_files()

impure subroutine, public m_start_up::s_read_parallel_ic_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf_in)

The goal of this subroutine is to read in any preexisting initial condition data files so that they may be used by the pre-process as a starting point in the creation of an all new initial condition.

Parameters
q_cons_vf_inConservative variables

Definition at line 622 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_grid_data_files()

impure subroutine, public m_start_up::s_read_serial_grid_data_files

The goal of this subroutine is to read in any preexisting grid data as well as based on the imported grid, complete the necessary global computational domain parameters.

Definition at line 232 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_ic_data_files()

impure subroutine, public m_start_up::s_read_serial_ic_data_files ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf_in)

The goal of this subroutine is to read in any preexisting initial condition data files so that they may be used by the pre-process as a starting point in the creation of an all new initial condition.

Parameters
q_cons_vf_inConservative variables

Definition at line 409 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 ( real(wp), dimension(:), intent(inout) proc_time,
real(wp), intent(inout) time_avg,
real(wp), intent(inout) time_final,
logical, intent(inout) file_exists )

Gathers processor timing data and writes elapsed wall-clock time to a summary file.

Definition at line 814 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

◆ proc_rank_dir

character(len=path_len + name_len) m_start_up::proc_rank_dir

Location of the folder associated with the rank of the local processor.

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

◆ s_read_grid_data_files

procedure(s_read_abstract_grid_data_files), pointer, public m_start_up::s_read_grid_data_files => null()

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

◆ s_read_ic_data_files

procedure(s_read_abstract_ic_data_files), pointer, public m_start_up::s_read_ic_data_files => null()

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

◆ t_step_dir

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

Possible location of time-step folder containing preexisting grid and/or conservative variables data to be used as starting point for pre-process.

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