MFC
Exascale flow solver
Loading...
Searching...
No Matches
Modules List
Here is a list of all modules with brief descriptions:
 Mm_acoustic_srcOne-way acoustic source injection, Maeda and Colonius JCP (2017)
 Mm_amrBlock-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_advanceFine-block stage advance and the immersed-boundary/Lagrange fine services
 Mm_amr_clusterBerger-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_distributionRank decomposition, box arithmetic and block ownership (SFC cut, owner lookups, owned-block lists)
 Mm_amr_exchangeParent/child data exchange: gather plans, pack/unpack and the fill waves
 Mm_amr_frameBlock-frame swap (fine grid state in/out of the shared solver)
 Mm_amr_ghostCoarse-to-fine ghost fill: slab table, limited-linear or quartic fill, quartic positivity guard, volume-fraction closure
 Mm_amr_nestHierarchical 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_registersAMR 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_regridDynamic 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_restartAMR 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_ioThe 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_seamSame-level fine-fine seams and the coarse conservative halo
 Mm_amr_stageThe 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_stateModule-scope AMR state (block pool, flat field store, wave buffers) and the leaf helpers every AMR module needs
 Mm_amr_storeFlat per-block field store: dense slot indexing, reservation, alloc/free and the prim/bridge loaders
 Mm_amr_transferProlongation, restriction and Berger-Colella reflux, including the restrict/reflux/freg waves
 Mm_amr_waveMPI 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_variablesAssigns initial primitive variables to computational cells based on patch geometry
 Mm_body_forcesComputes gravitational and body force source terms for the momentum equations
 Mm_boundary_commonNoncharacteristic and processor boundary condition application for ghost cells and buffer regions
 Mm_boundary_ioBoundary condition restart I/O, capillary/IGR buffer population, and grid-variable buffers
 Mm_boundary_primitivesPer-cell noncharacteristic boundary condition primitives applied in the ghost cells
 Mm_boxBox type, per-rank partition arithmetic (one box per rank) and the Morton key
 Mm_bubblesBubble-dynamics procedures for ensemble- and volume-averaged model
 Mm_bubbles_eeComputes ensemble-averaged (Euler–Euler) bubble source terms for radius, velocity, pressure, and mass transfer
 Mm_bubbles_elReal 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_kernelsKernel functions (Gaussian, delta) that smear Lagrangian bubble effects onto the Eulerian grid
 Mm_cbcCharacteristic boundary conditions (CBCs) for slip walls, non-reflecting subsonic inflow/outflow, and supersonic boundaries
 Mm_checkerValidates simulation input parameters for consistency and supported configurations
 Mm_checker_commonShared input validation checks for grid dimensions and AMD GPU compiler limits
 Mm_chemistryMulti-species chemistry interface for thermodynamic properties, reaction rates, and transport coefficients
 Mm_collisionsGhost-node immersed boundary method: locates ghost/image points, computes interpolation coefficients, and corrects the flow state
 Mm_compile_specificPlatform-specific file and directory operations: create, delete, inquire, getcwd, and basename
 Mm_compute_cbcCharacteristic boundary condition (CBC) computations for subsonic inflow, outflow, and slip walls
 Mm_compute_levelsetComputes signed-distance level-set fields and surface normals for immersed-boundary patch geometries
 Mm_conductionFourier 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_constantsCompile-time constant parameters: default values, tolerances, and physical constants
 Mm_data_outputWrites solution data, run-time stability diagnostics (ICFL, VCFL, CCFL, Rc), and probe/center-of-mass files
 Mm_delay_file_accessRank-staggered file access delays to prevent I/O contention on parallel file systems
 Mm_derived_typesShared derived types for field data, patch geometry, bubble dynamics, and MPI I/O structures
 Mm_derived_variablesDerives diagnostic flow quantities (vorticity, speed of sound, numerical Schlieren, etc.) from conservative and primitive variables
 Mm_eosEquations of state in Gamma/Pi form, rho e = Gamma(rho) p + Pi(rho)
 Mm_euler_lagrangeUtilities 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_fftwForward and inverse FFT wrappers (FFTW/cuFFT/hipFFT) for azimuthal Fourier filtering in cylindrical geometries
 Mm_finite_differencesFinite difference operators for computing divergence of velocity fields
 Mm_global_parametersGlobal parameters for the computational domain, fluid properties, and simulation algorithm configuration
 Mm_global_parameters_commonShared 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_functionHerschel-Bulkley non-Newtonian viscosity: formula, shear rate, and mixture inverse-Re
 Mm_helperUtility routines for bubble model setup, coordinate transforms, array sampling, and special functions
 Mm_helper_basicBasic floating-point utilities: approximate equality, default detection, and coordinate bounds
 Mm_hypoelasticComputes hypoelastic stress-rate source terms and damage-state evolution
 Mm_ib_patchesAllocate memory and read initial condition data for IC extrusion
 Mm_ib_wall_columnSub-grid wall conduction column of an isothermal immersed wall (patch_ibwall_column): state and 1D numerics
 Mm_ibmGhost-node immersed boundary method: locates ghost/image points, computes interpolation coefficients, and corrects the flow state
 Mm_ibm_finePer-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_patchesAllocate memory and read initial condition data for IC extrusion
 Mm_igrIterative ghost rasterization (IGR) for sharp immersed boundary treatment
 Mm_modelBinary STL file reader and processor for immersed boundary geometry
 Mm_mpi_commonMPI communication layer: domain decomposition, halo exchange, reductions, and parallel I/O setup
 Mm_mpi_proxyMPI halo exchange, domain decomposition, and buffer packing/unpacking for the simulation solver
 Mm_musclMUSCL reconstruction with interface sharpening for contact-preserving advection
 Mm_nvtxNVIDIA NVTX profiling API bindings for GPU performance instrumentation
 Mm_particles_elReal 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_kernelsThis module contains kernel functions used to map the effect of the lagrangian particles in the Eulerian framework
 Mm_patch_geometriesContains helper functions specific to various patch gemoetries for determining if a grid cell lies inside of or outside of a patch geometry
 Mm_phase_changePhase transition relaxation solvers for liquid-vapor flows with cavitation and boiling
 Mm_phase_timingPer-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_selectWorking-precision kind selection (half/single/double) and corresponding MPI datatype parameters
 Mm_pressure_relaxationPressure relaxation for the six-equation multi-component model via Newton–Raphson equilibration and volume-fraction correction
 Mm_qbmmQuadrature-based moment methods (QBMM) for polydisperse bubble moment inversion and transport
 Mm_reactive_burnCondensed-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_rhsAssemble the right-hand side of the governing equations using finite-volume flux differencing, Riemann solvers, and physical source terms
 Mm_riemann_solver_hllHLL approximate Riemann solver, Harten et al. SIAM Review (1983)
 Mm_riemann_solver_hllcHLLC Riemann solver with contact restoration, Toro et al. Shock Waves (1994)
 Mm_riemann_solver_hlldHLLD approximate Riemann solver for MHD, Miyoshi & Kusano JCP (2005)
 Mm_riemann_solver_hypo_hlldDual-pass HLLD approximate Riemann solver for hypoelastic flows, with non-conservative interface-velocity coupling
 Mm_riemann_solver_lfLax-Friedrichs (Rusanov) approximate Riemann solver
 Mm_riemann_solversApproximate and exact Riemann solvers (HLL, HLLC, HLLD, exact) for the multicomponent Navier–Stokes equations
 Mm_riemann_stateShared Riemann-solver module state and the per-sweep setup, state-buffer population, viscous source flux, and finalization helpers
 Mm_sim_helpersSimulation helper routines for cell state, CFL calculation, and stability checks
 Mm_species_boundsKeeps 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_hooksThe 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_upReads input files, loads initial conditions and grid data, and orchestrates solver initialization and finalization
 Mm_surface_tensionComputes capillary source fluxes and color-function gradients for the diffuse-interface surface tension model
 Mm_thincTHINC 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_steppersTotal-variation-diminishing (TVD) Runge–Kutta time integrators (1st-, 2nd-, and 3rd-order SSP)
 Mm_variables_conversionConservative-to-primitive variable conversion, mixture property evaluation, and pressure computation
 Mm_viscousComputes viscous stress tensors and diffusive flux contributions for the Navier–Stokes equations
 Mm_wenoWENO/WENO-Z/TENO reconstructions with optional monotonicity-preserving bounds and mapped weights