|
MFC
Exascale flow solver
|
Contains module m_amr_restart_io. More...
Go to the source code of this file.
Data Types | |
| type | m_amr_restart_io::t_amr_restart_catalog |
| Every block's header, ownership record and data-chunk byte offset, read collectively by all ranks. More... | |
Modules | |
| module | m_amr_restart_io |
| The AMR fine-level restart file layout shared by m_amr_restart (writer/reader) and post_process's overlay reader (m_data_input): path, fine cell-boundary subdivision, global-header check and the parallel_io per-block catalog. Callers read the data themselves. | |
Functions/Subroutines | |
| character(len=path_len+3 *name_len) function, public | m_amr_restart_io::f_amr_restart_path (t_step) |
| The fine-level restart file for time step t_step: one file per rank without parallel_io, one shared file with it. | |
| pure subroutine, public | m_amr_restart_io::s_amr_subdivide_cb (pcb, pcb_lb, lo, nfine, rr, fcb) |
| Fine cell boundaries fcb(-1:nfine) by rr-way subdivision of the coarse cells of pcb starting at coarse index lo; pcb_lb is lbound(pcb) in the caller (an assumed-shape dummy resets it to 1). Coarse right edges are copied exactly, so a subdivision of a subdivision reproduces the deeper level bit-for-bit. | |
| impure subroutine, public | m_amr_restart_io::s_amr_restart_check_header (ghdr, nvar, who, nblk, ref_ratio, max_level) |
| Validate the global header: the rank count (serial files need a match), nvar, the stored word size and, when given, the run's amr_ref_ratio (equal) and amr_max_level (at least the file's). Returns the block count. | |
| impure subroutine, public | m_amr_restart_io::s_amr_restart_read_catalog (ifile, nblk, nvar, cat) |
| Read every block's header and ownership record from an open parallel_io file (rank 0 reads, all ranks receive) and lay out the data offsets. | |
Variables | |
| integer, parameter, public | m_amr_restart_io::amr_restart_ghdr_ints = 6 |
| global header length (ints) | |
Contains module m_amr_restart_io.
Definition in file m_amr_restart_io.fpp.f90.