|
MFC
Exascale flow solver
|
| Mm_acoustic_src | One-way acoustic source injection, Maeda and Colonius JCP (2017) |
| Mm_amr | Block-structured AMR: up to amr_max_blocks refined blocks (2:1 or 4:1 per amr_ref_ratio), optionally nested to amr_max_level, advanced with the shared solver via grid-state swap and conservatively coupled to each block's parent level (ghost prolongation, Berger-Colella flux reflux, restriction) and dynamic regrid |
| Mm_amr_advance | Fine-block stage advance and the immersed-boundary/Lagrange fine services |
| Mm_amr_cluster | Berger-Rigoutsos clustering of a sparse tag list into separated block boxes, identically on every rank: tag signatures, bisection, canonical Morton order and min-separation merge |
| Mm_amr_distribution | Rank decomposition, box arithmetic and block ownership (SFC cut, owner lookups, owned-block lists) |
| Mm_amr_exchange | Parent/child data exchange: gather plans, pack/unpack and the fill waves |
| Mm_amr_frame | Block-frame swap (fine grid state in/out of the shared solver) |
| Mm_amr_ghost | Coarse-to-fine ghost fill: slab table, limited-linear or quartic fill, quartic positivity guard, volume-fraction closure |
| Mm_amr_nest | Hierarchical child nesting for AMR regrid: each level's children are tagged by the density-gradient sensor on the old parent-level fine solution, clustered, and replayed in rank-invariant order. Also holds the shared tag sensor |
| Mm_amr_registers | AMR flux registers: per-RK-stage refluxing at the coarse/fine block boundary. Depends only on m_derived_types and m_global_parameters so m_rhs (capture) and m_time_steppers (apply) can use it without cycles. creg is indexed 0-based relative to the rank's block intersection; freg 0-based local fine (children of coarse cell t are 2*t, 2*t+1). The slot dimension grows on demand (s_amr_reg_reserve). The captured flux is the 1:sys_size advective flux of flux_rsx_vf plus the viscous, species-diffusion and conduction fluxes of flux_src_rsx_vf; the non-conservative alpha*div(u) remainder is not captured (held by mpp_lim) |
| Mm_amr_regrid | Dynamic regrid for the AMR level set: density-gradient tagging, clustering (m_amr_cluster), box shaping, hierarchical child nesting (m_amr_nest), and slot rebuild with cross-rank fine-state migration |
| Mm_amr_restart | AMR fine-level restart I/O: writes/reads the fine-level restart file alongside the level-0 restart (serial per-rank unformatted files, or one shared MPI-IO file under parallel_io) |
| Mm_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 |
| Mm_amr_seam | Same-level fine-fine seams and the coarse conservative halo |
| Mm_amr_stage | The AMR hooks of the SSP-RK stage loop (m_time_steppers): the stage-top coarse halo, the fine-level stage, and the end-of-step fold of the fine solution into the level-0 covered cells |
| Mm_amr_state | Module-scope AMR state (block pool, flat field store, wave buffers) and the leaf helpers every AMR module needs |
| Mm_amr_store | Flat per-block field store: dense slot indexing, reservation, alloc/free and the prim/bridge loaders |
| Mm_amr_transfer | Prolongation, restriction and Berger-Colella reflux, including the restrict/reflux/freg waves |
| Mm_amr_wave | MPI point-to-point waves for AMR exchange: post all receives, pack, post all sends, wait once. Pooled waves list transfers on a send/receive side and s_amr_wave_close lays them out contiguously per peer; both ranks enumerate the same transfers in the same order, so no metadata is exchanged. Pools are caller-owned (device-resident under rdma_mpi) |
| Mm_assign_variables | Assigns initial primitive variables to computational cells based on patch geometry |
| Mm_body_forces | Computes gravitational and body force source terms for the momentum equations |
| Mm_boundary_common | Noncharacteristic and processor boundary condition application for ghost cells and buffer regions |
| Mm_boundary_io | Boundary condition restart I/O, capillary/IGR buffer population, and grid-variable buffers |
| Mm_boundary_primitives | Per-cell noncharacteristic boundary condition primitives applied in the ghost cells |
| Mm_box | Box type, per-rank partition arithmetic (one box per rank) and the Morton key |
| Mm_bubbles | Bubble-dynamics procedures for ensemble- and volume-averaged model |
| Mm_bubbles_ee | Computes ensemble-averaged (Euler–Euler) bubble source terms for radius, velocity, pressure, and mass transfer |
| Mm_bubbles_el | Real fields of a bubble MPI slot, as (names, indices, count) in pack order. Used by both pack and unpack routines to ensure |
| Mm_bubbles_el_kernels | Kernel functions (Gaussian, delta) that smear Lagrangian bubble effects onto the Eulerian grid |
| Mm_cbc | Characteristic boundary conditions (CBCs) for slip walls, non-reflecting subsonic inflow/outflow, and supersonic boundaries |
| Mm_checker | Validates simulation input parameters for consistency and supported configurations |
| Mm_checker_common | Shared input validation checks for grid dimensions and AMD GPU compiler limits |
| Mm_chemistry | Multi-species chemistry interface for thermodynamic properties, reaction rates, and transport coefficients |
| Mm_collisions | Ghost-node immersed boundary method: locates ghost/image points, computes interpolation coefficients, and corrects the flow state |
| Mm_compile_specific | Platform-specific file and directory operations: create, delete, inquire, getcwd, and basename |
| Mm_compute_cbc | Characteristic boundary condition (CBC) computations for subsonic inflow, outflow, and slip walls |
| Mm_compute_levelset | Computes signed-distance level-set fields and surface normals for immersed-boundary patch geometries |
| Mm_conduction | Fourier heat conduction, div(k grad T), as a face-centered source flux on the energy equation. The term has no cross-derivatives, so the direction-split face difference below is exact for it |
| Mm_constants | Compile-time constant parameters: default values, tolerances, and physical constants |
| Mm_data_output | Writes solution data, run-time stability diagnostics (ICFL, VCFL, CCFL, Rc), and probe/center-of-mass files |
| Mm_delay_file_access | Rank-staggered file access delays to prevent I/O contention on parallel file systems |
| Mm_derived_types | Shared derived types for field data, patch geometry, bubble dynamics, and MPI I/O structures |
| Mm_derived_variables | Derives diagnostic flow quantities (vorticity, speed of sound, numerical Schlieren, etc.) from conservative and primitive variables |
| Mm_eos | Equations of state in Gamma/Pi form, rho e = Gamma(rho) p + Pi(rho) |
| Mm_euler_lagrange | Utilities shared by the Euler-Lagrange bubble and solid-particle solvers: cell location, domain and cell-volume helpers, boundary handling, RK stages and Fornberg gradients. Their file I/O is in m_data_output (writes) and m_start_up (reads) |
| Mm_fftw | Forward and inverse FFT wrappers (FFTW/cuFFT/hipFFT) for azimuthal Fourier filtering in cylindrical geometries |
| Mm_finite_differences | Finite difference operators for computing divergence of velocity fields |
| Mm_global_parameters | Global parameters for the computational domain, fluid properties, and simulation algorithm configuration |
| Mm_global_parameters_common | Shared global parameters and equation-index setup for all three executables. Each per-target m_global_parameters uses this module (default-public, so all symbols re-export to downstream consumers via two-hop use-association) |
| Mm_hb_function | Herschel-Bulkley non-Newtonian viscosity: formula, shear rate, and mixture inverse-Re |
| Mm_helper | Utility routines for bubble model setup, coordinate transforms, array sampling, and special functions |
| Mm_helper_basic | Basic floating-point utilities: approximate equality, default detection, and coordinate bounds |
| Mm_hypoelastic | Computes hypoelastic stress-rate source terms and damage-state evolution |
| Mm_ib_patches | Allocate memory and read initial condition data for IC extrusion |
| Mm_ib_wall_column | Sub-grid wall conduction column of an isothermal immersed wall (patch_ibwall_column): state and 1D numerics |
| Mm_ibm | Ghost-node immersed boundary method: locates ghost/image points, computes interpolation coefficients, and corrects the flow state |
| Mm_ibm_fine | Per-block fine-grid immersed-boundary state for AMR. A separate module from m_ibm: declaring these derived-type allocatables inside m_ibm corrupts CCE's OpenMP declare-target descriptor table for m_ibm's ghost_points (lib-4425 on its @:ALLOCATE, even for non-AMR runs). Do not fold them back into m_ibm |
| Mm_icpp_patches | Allocate memory and read initial condition data for IC extrusion |
| Mm_igr | Iterative ghost rasterization (IGR) for sharp immersed boundary treatment |
| Mm_model | Binary STL file reader and processor for immersed boundary geometry |
| Mm_mpi_common | MPI communication layer: domain decomposition, halo exchange, reductions, and parallel I/O setup |
| Mm_mpi_proxy | MPI halo exchange, domain decomposition, and buffer packing/unpacking for the simulation solver |
| Mm_muscl | MUSCL reconstruction with interface sharpening for contact-preserving advection |
| Mm_nvtx | NVIDIA NVTX profiling API bindings for GPU performance instrumentation |
| Mm_particles_el | Real fields of a particle MPI slot, as (names, indices, count) in pack order. Used by both pack and unpack routines to ensure |
| Mm_particles_el_kernels | This module contains kernel functions used to map the effect of the lagrangian particles in the Eulerian framework |
| Mm_patch_geometries | Contains helper functions specific to various patch gemoetries for determining if a grid cell lies inside of or outside of a patch geometry |
| Mm_phase_change | Phase transition relaxation solvers for liquid-vapor flows with cavitation and boiling |
| Mm_phase_timing | Per-phase wall-time budget of the AMR step, reported when rank_time_wrt is on. Brackets are disjoint (regrid sub-phases nest inside regrid) and drain the device first, so a phase's time includes the GPU work it launched |
| Mm_precision_select | Working-precision kind selection (half/single/double) and corresponding MPI datatype parameters |
| Mm_pressure_relaxation | Pressure relaxation for the six-equation multi-component model via Newton–Raphson equilibration and volume-fraction correction |
| Mm_qbmm | Quadrature-based moment methods (QBMM) for polydisperse bubble moment inversion and transport |
| Mm_reactive_burn | Condensed-phase reactive burn: a pressure-driven programmed-burn source that converts a "reactant" fluid into a "product" fluid on the multi-fluid model (num_fluids=2, chemistry='F'). The two fluids share the same stiffened-gas EOS (gamma, pi_inf) and differ only in their reference energy qv, so the reactant->product conversion releases (qv_reactant - qv_product) per unit mass through the mixture EOS with no explicit energy source. Because the two fluids are mechanically identical the volume-fraction swap is exact (the product volume fraction is the reaction progress), making this a reactive-Euler/ZND detonation model expressed through the diffuse-interface framework. A shock raises the pressure above rburnpign, the reactant burns, and the energy release sustains the shock – a self-propagating condensed-phase detonation |
| Mm_rhs | Assemble the right-hand side of the governing equations using finite-volume flux differencing, Riemann solvers, and physical source terms |
| Mm_riemann_solver_hll | HLL approximate Riemann solver, Harten et al. SIAM Review (1983) |
| Mm_riemann_solver_hllc | HLLC Riemann solver with contact restoration, Toro et al. Shock Waves (1994) |
| Mm_riemann_solver_hlld | HLLD approximate Riemann solver for MHD, Miyoshi & Kusano JCP (2005) |
| Mm_riemann_solver_hypo_hlld | Dual-pass HLLD approximate Riemann solver for hypoelastic flows, with non-conservative interface-velocity coupling |
| Mm_riemann_solver_lf | Lax-Friedrichs (Rusanov) approximate Riemann solver |
| Mm_riemann_solvers | Approximate and exact Riemann solvers (HLL, HLLC, HLLD, exact) for the multicomponent Navier–Stokes equations |
| Mm_riemann_state | Shared Riemann-solver module state and the per-sweep setup, state-buffer population, viscous source flux, and finalization helpers |
| Mm_sim_helpers | Simulation helper routines for cell state, CFL calculation, and stability checks |
| Mm_species_bounds | Keeps reconstructed species mass fractions on the simplex (Y >= 0, sum Y = 1). Each cell's face values are first shifted to sum to 1, then scaled toward the cell average by one theta shared by all species and both faces (Zhang & Shu, JCP 2010). With face Y on the simplex the HLLC species fluxes are Y_upwind times the mass flux (Larrouturou, JCP 1991), so they sum to it and keep cell averages non-negative under the Zhang-Shu CFL |
| Mm_stage_hooks | The hooks applied to the conservative state after each RK stage update, as one ordered list shared by the coarse grid (m_time_steppers) and the AMR fine blocks (m_amr_advance), so the two levels cannot run them in different orders |
| Mm_start_up | Reads input files, loads initial conditions and grid data, and orchestrates solver initialization and finalization |
| Mm_surface_tension | Computes capillary source fluxes and color-function gradients for the diffuse-interface surface tension model |
| Mm_thinc | THINC and MTHINC interface compression for volume fraction sharpening. THINC (int_comp=1): 1D directional interface compression applied after MUSCL/WENO reconstruction. Uses hyperbolic tangent profile per dimension. MTHINC (int_comp=2): Multi-dimensional THINC that reconstructs a tanh profile oriented along the interface normal (computed from the gradient of alpha), then integrates that profile over each cell face using Gaussian quadrature. A Newton iteration enforces the conservation constraint (cell-averaged alpha is preserved). Reference: B. Xie and F. Xiao, "Toward efficient and accurate interface capturing on arbitrary hybrid unstructured grids: The THINC method with quadratic surface representation and Gaussian quadrature," Journal of Computational Physics, vol. 349, pp. 415-440, 2017 |
| Mm_time_steppers | Total-variation-diminishing (TVD) Runge–Kutta time integrators (1st-, 2nd-, and 3rd-order SSP) |
| Mm_variables_conversion | Conservative-to-primitive variable conversion, mixture property evaluation, and pressure computation |
| Mm_viscous | Computes viscous stress tensors and diffusive flux contributions for the Navier–Stokes equations |
| Mm_weno | WENO/WENO-Z/TENO reconstructions with optional monotonicity-preserving bounds and mapped weights |