| Procedure | Location | Procedure Type | Description |
|---|---|---|---|
| advance_ab2 | mod_flow_projection | Subroutine | Advances velocity using the 2nd-order Adams-Bashforth scheme. |
| advance_energy_transport | mod_energy | Subroutine | Advance transported sensible enthalpy with constant flow density. |
| advance_projection_step | mod_flow_projection | Subroutine | Orchestrates one full fractional-step iteration. |
| advance_species_transport | mod_species | Subroutine | Performs one explicit Euler step for species transport. |
| allocate_energy | mod_energy | Subroutine | Allocate all energy arrays for the mesh. |
| allocate_fields | mod_fields | Subroutine | Dynamically allocates all arrays within the flow fields container. |
| append_cell_face | mod_mesh_io | Subroutine | Helper to safely add a face to a cell's local face list. |
| balance_neumann_outlet_flux | mod_flow_projection | Subroutine | Adjusts flux at Neumann outlets to ensure strict global mass balance. |
| boundary_enthalpy_from_temperature | mod_energy | Function | Convert a boundary temperature to enthalpy using the active thermo model. Boundary enthalpy from a boundary temperature. |
| boundary_pressure | mod_bc | Subroutine | Evaluates pressure at a boundary face. |
| boundary_pressure_type | mod_bc | Function | |
| boundary_species | mod_bc | Subroutine | Evaluates species mass fractions at a boundary face. |
| boundary_temperature | mod_bc | Subroutine | Returns the pressure BC type for a given face. Evaluates temperature at a boundary face. |
| boundary_velocity | mod_bc | Subroutine | Evaluates the velocity vector at a boundary face. |
| build_bc_set | mod_bc | Subroutine | Synchronizes namelist parameters with mesh patches to create a complete BC set. |
| build_boundary_thermo_Y | mod_energy | Subroutine | Build a boundary thermodynamic composition vector for fixed-T boundaries. |
| build_c_species_names | mod_energy | Subroutine | Build a flattened C-compatible species-name buffer. |
| build_cell_faces | mod_mesh_io | Subroutine | Builds the cell-to-face mapping by inverting the face owner/neighbor data. |
| build_thermo_Y | mod_energy | Subroutine | Build a cellwise thermodynamic composition array for Cantera calls. |
| cantera_get_species_count_c | mod_transport_properties | Interface | C-Binding interface for the Cantera C++ bridge. |
| cantera_get_species_name_c | mod_transport_properties | Interface | C-Binding interface for the Cantera C++ bridge. |
| cantera_init_c | mod_transport_properties | Interface | C-Binding interface for the Cantera C++ bridge. |
| cantera_recover_temperature_and_update_thermo_c | mod_energy | Interface | C-Binding interface for Cantera thermodynamics. |
| cantera_recover_temperature_from_h_c | mod_energy | Interface | C-Binding interface for Cantera thermodynamics. |
| cantera_update_thermo_c | mod_energy | Interface | C-Binding interface for Cantera thermodynamics. |
| cantera_update_transport_c | mod_transport_properties | Interface | C-Binding interface for the Cantera C++ bridge. |
| check_mpi | mod_flow_projection | Subroutine | Internal helper for MPI error checking. |
| check_mpi | mod_mpi_flow | Subroutine | Internal helper for MPI error checking. |
| check_mpi | mod_profiler | Subroutine | Internal utility to check MPI return codes and abort on failure. |
| check_mpi | mod_mpi_radiation | Subroutine | Internal helper for MPI error checking. |
| compute_and_update_cfl | mod_flow_projection | Subroutine | Calculates domain-wide CFL and optionally scales the timestep size. |
| compute_boundary_flux | mod_flow_projection | Subroutine | Helper to integrated boundary flux on MPI-owned partitions. |
| compute_flow_diagnostics | mod_flow_projection | Subroutine | Aggregates global residuals, kinetic energy, and mass balance data. |
| compute_flux_divergence | mod_flow_projection | Subroutine | Computes the discrete divergence of face fluxes for each cell. |
| compute_global_observables | lowmach_react_hex | Subroutine | Computes global integral quantities for diagnostic reporting. |
| compute_momentum_rhs | mod_flow_projection | Subroutine | Evaluates the advective, diffusive, and pressure terms of the momentum equation. |
| compute_predicted_face_flux | mod_flow_projection | Subroutine | Linearly interpolates cell-centered intermediate velocity to mesh faces. |
| correct_cell_velocity | mod_flow_projection | Subroutine | Updates cell-centered velocity using the pressure potential gradient. |
| correct_face_flux | mod_flow_projection | Subroutine | Corrects face fluxes using the pressure potential gradient. |
| energy_face_normal_distance | mod_energy | Function | Normal distance used for cell-cell and cell-boundary temperature gradients. |
| energy_outward_normal | mod_energy | Function | Outward unit normal from cell_id for face_id. |
| ensure_periodic_links | mod_bc | Subroutine | Validates that periodic patches have correctly established links. |
| ensure_pressure_operator_cache | mod_flow_projection | Subroutine | Pre-computes Laplacian coefficients for the Poisson operator. |
| ensure_projection_workspace | mod_flow_projection | Subroutine | Allocates and resets temporary solver vectors. |
| enthalpy_from_temperature_cantera_point | mod_energy | Subroutine | Compute h(T,Y,p0) for one boundary state using Cantera. |
| enthalpy_from_temperature_value | mod_energy | Function | Constant-cp helper for a single boundary/face temperature value. |
| face_effective_neighbor | mod_bc | Function | Returns the neighbor cell index, accounting for periodic connectivity. |
| face_linear_scalar | mod_flow_projection | Function | Linearly interpolates a scalar field to a face. |
| face_linear_vector | mod_flow_projection | Function | Linearly interpolates a vector field to a face. |
| face_neighbor_weight | mod_flow_projection | Function | Computes the linear interpolation weight for a neighbor cell. |
| face_normal_distance | mod_flow_projection | Function | Calculates the normal distance between cell centers or cell-to-face. |
| fatal_error | mod_kinds | Subroutine | Aborts the simulation with a formatted error message. |
| finalize_bc_set | mod_bc | Subroutine | Safely deallocates the boundary condition patch array. |
| finalize_energy | mod_energy | Subroutine | Deallocate all energy arrays. |
| finalize_fields | mod_fields | Subroutine | Deallocates all arrays and resets validity flags. |
| finalize_flow_projection_workspace | mod_flow_projection | Subroutine | Deallocate the persistent flow projection workspace. |
| finalize_species | mod_species | Subroutine | Safely deallocates species fields and names. |
| finalize_transport | mod_transport_properties | Subroutine | Safely deallocates transport property fields. |
| find_or_create_timer | mod_profiler | Function | |
| flow_allgather_owned_matrix | mod_mpi_flow | Subroutine | Gathers locally-updated matrix cell values and broadcasts to the global mesh. |
| flow_allgather_owned_matrix_inplace | mod_mpi_flow | Subroutine | In-place variant for fields that already hold owned-cell updates. |
| flow_allgather_owned_scalar | mod_mpi_flow | Subroutine | Gathers locally-updated cell values and broadcasts to the global mesh. |
| flow_allgather_owned_v4 | mod_mpi_flow | Subroutine | Gathers 4-component cell values (e.g., Velocity + Scalar) in one call. |
| flow_allgather_owned_vector | mod_mpi_flow | Subroutine | Gathers locally-updated 3D vector cell values and broadcasts to the global mesh. |
| flow_allreduce_global_scalar | mod_mpi_flow | Subroutine | Sum-Allreduce for a global scalar field. |
| flow_allreduce_global_vector | mod_mpi_flow | Subroutine | Sum-Allreduce for a 3D global vector field. |
| flow_exchange_cell_matrix | mod_mpi_flow | Subroutine | Exchanges owned cell matrix values to ranks that keep them as ghosts. |
| flow_exchange_cell_scalar | mod_mpi_flow | Subroutine | Exchanges owned cell scalar values to ranks that keep them as ghosts. |
| flow_exchange_face_scalar | mod_mpi_flow | Subroutine | Exchanges owner-computed face scalar values to ranks owning the neighbor cell. |
| flow_gather_owned_matrix_root | mod_mpi_flow | Subroutine | Gathers owned matrix cell values to rank 0 only. |
| flow_gather_owned_scalar_root | mod_mpi_flow | Subroutine | Gathers owned scalar cell values to rank 0 only. |
| flow_global_dot_owned | mod_mpi_flow | Function | Computes the global dot product of two vectors over owned cells. |
| flow_global_dots_owned | mod_mpi_flow | Subroutine | Computes multiple global dot products in a single MPI_Allreduce. |
| flow_global_max_owned | mod_mpi_flow | Function | Computes the global maximum magnitude of a field over owned cells. |
| flow_global_sum_owned | mod_mpi_flow | Function | Computes the global sum of a field over owned cells. |
| flow_global_two_dots_owned | mod_mpi_flow | Subroutine | Computes two global dot products without constructing temporary full-size batches. |
| flow_mpi_finalize | mod_mpi_flow | Subroutine | Releases all MPI resources and buffers. |
| flow_mpi_initialize | mod_mpi_flow | Subroutine | Sets up domain decomposition for a given mesh. |
| get_case_filename | lowmach_react_hex | Subroutine | Parses command line arguments to find the case configuration file. |
| initialize_cantera_wrapper | mod_transport_properties | Subroutine | Higher-level wrapper to coordinate Cantera initialization. |
| initialize_energy | mod_energy | Subroutine | Initialize energy fields from case parameters. |
| initialize_fields | mod_fields | Subroutine | Initializes flow fields and sets simulation initial conditions. |
| initialize_species | mod_species | Subroutine | Populates species fields with initial mass fractions and handles naming. |
| initialize_transport | mod_transport_properties | Subroutine | Allocates property arrays and initializes the Cantera bridge if required. |
| is_periodic_face | mod_bc | Function | Returns true if the face belongs to a periodic boundary. |
| lowercase | mod_kinds | Function | Converts an input string to all lowercase characters. |
| mesh_finalize | mod_mesh_types | Subroutine | Safely deallocates all heap-allocated arrays in the mesh structure. |
| mesh_neighbor_for_cell | mod_mpi_flow | Function | Returns the mesh neighbor, using stored periodic links when present. |
| mpi_flow_shutdown | mod_mpi_flow | Subroutine | Shuts down the MPI environment if it was started by this module. |
| mpi_flow_startup | mod_mpi_flow | Subroutine | Initializes the MPI environment if not already active. |
| open_namelist_file | mod_input | Subroutine | Helper routine to safely open a namelist file for reading. |
| outward_normal | mod_flow_projection | Function | Determines the outward unit normal relative to a specific cell. |
| pack_rank_metadata | mod_mpi_flow | Subroutine | Packs full per-rank metadata down to active communication partners. |
| parse_bc_type | mod_bc | Function | Converts a case-insensitive string to its corresponding internal BC type ID. |
| patch_type_for_face | mod_bc | Function | Retrieves the master BC type for a given face ID. |
| prefix_counts | mod_mpi_flow | Subroutine | Converts per-rank counts to zero-based displacements. |
| prepare_matrix_gather | mod_mpi_flow | Subroutine | Updates cached count/displacement arrays for a packed component count. |
| prepare_output | mod_output | Subroutine | Creates the output directory specified in the case parameters. |
| pressure_gradient_cell | mod_flow_projection | Subroutine | Calculates the pressure gradient at a cell center using Gauss's Theorem. |
| pressure_matvec | mod_flow_projection | Subroutine | Sparse Matrix-Vector multiplication for the Laplacian operator. |
| profiler_configure | mod_profiler | Subroutine | Configure profiling behavior at runtime. |
| profiler_report | mod_profiler | Subroutine | Generates a collective performance report across all MPI ranks. |
| profiler_reset | mod_profiler | Subroutine | Reset all profiler state. |
| profiler_start | mod_profiler | Subroutine | Starts a timer for a named kernel. |
| profiler_stop | mod_profiler | Subroutine | Stops a timer and accumulates the elapsed time. |
| radiation_mpi_finalize | mod_mpi_radiation | Subroutine | Releases radiation MPI resources. |
| radiation_mpi_initialize | mod_mpi_radiation | Subroutine | Initializes the radiation MPI context by duplicating a parent communicator. |
| radiation_task_bounds | mod_mpi_radiation | Subroutine | Performs contiguous task decomposition for the radiation solver. |
| read_boundary_input | mod_input | Subroutine | Reads the |
| read_case_params | mod_input | Subroutine | Orchestrates the reading of all namelist blocks from the configuration file. |
| read_cells | mod_mesh_io | Subroutine | Reads cell definitions from |
| read_energy_input | mod_input | Subroutine | Reads the |
| read_faces | mod_mesh_io | Subroutine | Reads face metrics and owner/neighbor connectivity from |
| read_fluid_input | mod_input | Subroutine | Reads the |
| read_mesh_input | mod_input | Subroutine | Reads the |
| read_native_mesh | mod_mesh_io | Subroutine | Orchestrates the reading of all mesh components from a directory. |
| read_output_input | mod_input | Subroutine | |
| read_patches | mod_mesh_io | Subroutine | Reads boundary patch definitions and face lists from |
| read_periodic_optional | mod_mesh_io | Subroutine | Reads periodic link data from |
| read_points | mod_mesh_io | Subroutine | Reads node coordinates from |
| read_profiling_input | mod_input | Subroutine | Reads the |
| read_solver_input | mod_input | Subroutine | Reads the |
| read_species_input | mod_input | Subroutine | Reads the |
| read_time_input | mod_input | Subroutine | Reads the |
| record_edge | mod_profiler | Subroutine | Updates the call tree edge statistics between two timers. |
| recover_temperature_and_update_thermo_cantera | mod_energy | Subroutine | Recover T from h and refresh cp/lambda/rho_thermo in one Cantera sync. |
| recover_temperature_cantera | mod_energy | Subroutine | Recover T from h using Cantera HPY inversion. |
| recover_temperature_constant_cp | mod_energy | Subroutine | Recover T from h using the constant-cp thermodynamic model. |
| setup_cell_halo | mod_mpi_flow | Subroutine | Builds cell ghost send/receive metadata for one-ring neighbor stencils. |
| setup_cell_owners | mod_mpi_flow | Subroutine | Initializes contiguous-decomposition owner lookup. |
| setup_face_halo | mod_mpi_flow | Subroutine | Builds face-flux halo metadata for shared internal faces. |
| setup_owned_faces | mod_mpi_flow | Subroutine | Caches faces whose owner cell belongs to this rank. |
| setup_owned_gather | mod_mpi_flow | Subroutine | Pre-calculates MPI gather offsets and counts for allgather operations. |
| solve_pressure_correction | mod_flow_projection | Subroutine | Iteratively solves the Pressure Poisson system using PCG. |
| update_enthalpy_from_temperature_constant_cp | mod_energy | Subroutine | Update h from T using the constant-cp thermodynamic model. |
| update_thermo_from_temperature_cantera | mod_energy | Subroutine | Update h, cp, lambda, and diagnostic thermo density from current T. |
| update_transport_properties | mod_transport_properties | Subroutine | Evaluates physical properties for the entire domain. |
| validate_boundary_arrays | mod_input | Subroutine | Ensures all boundary patch names and types are non-empty. |
| validate_hex_connectivity | mod_output | Subroutine | Performs sanity checks on hex connectivity before writing output. |
| validate_params | mod_input | Subroutine | Validates all parsed parameters against physical and algorithmic limits. |
| write_diagnostics_header | mod_output | Subroutine | Writes the CSV header for global simulation diagnostics. |
| write_diagnostics_row | mod_output | Subroutine | Appends a new row of diagnostic data to the CSV file. |
| write_energy_diagnostics_header | mod_energy | Subroutine | Writes the CSV header for energy diagnostics. |
| write_energy_diagnostics_row | mod_energy | Subroutine | Appends one row of global energy diagnostics. |
| write_mesh_summary | mod_output | Subroutine | Writes a human-readable summary of the mesh connectivity and patches. |
| write_pvd_collection | mod_output | Subroutine | Writes a PVD collection file to allow ParaView to load time-series data. |
| write_pvtu_master | mod_output | Subroutine | Writes the master Parallel VTK file (.pvtu) that links the rank pieces. |
| write_vtu_cell_scalar | mod_output | Subroutine | Internal helper to write a scalar field to a VTU file. |
| write_vtu_unstructured | mod_output | Subroutine | Writes the full flow field to an XML Unstructured Grid file (.vtu). |
| zero_radiation_source | mod_energy | Subroutine | Reset the volumetric energy source to zero. |