Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

All Functions and Classes

Alphabetical index of the public PyMRM API with direct links to source-backed reference pages.

NameModuleSummary
pymrm.convect.clampymrm.convectCompute the CLAM TVD correction in normalized-variable space.
pymrm.convect.construct_convflux_bcpymrm.convectConstruct boundary-face upwind corrections and source terms.
pymrm.convect.construct_convflux_upwindpymrm.convectConstruct a first-order upwind convective-flux operator.
pymrm.convect.construct_convflux_upwind_intpymrm.convectConstruct the internal-face upwind advection operator.
pymrm.convect.minmodpymrm.convectCompute the Minmod TVD correction in normalized-variable space.
pymrm.convect.musclpymrm.convectCompute the MUSCL TVD correction in normalized-variable space.
pymrm.convect.osherpymrm.convectCompute the Osher TVD correction in normalized-variable space.
pymrm.convect.smartpymrm.convectCompute the SMART TVD correction in normalized-variable space.
pymrm.convect.stoicpymrm.convectCompute the STOIC TVD correction in normalized-variable space.
pymrm.convect.upwindpymrm.convectReturn zero correction (first-order upwind limiter).
pymrm.convect.vanleerpymrm.convectCompute the van-Leer TVD correction in normalized-variable space.
pymrm.coupling.construct_interface_matricespymrm.couplingConstruct implicit interface-coupling matrices for two adjacent domains.
pymrm.coupling.translate_indices_to_larger_arraypymrm.couplingMap flat indices from a local array shape to a larger embedding shape.
pymrm.coupling.update_array_indicespymrm.couplingUpdate sparse-matrix indices for a new embedding shape.
pymrm.coupling.update_csc_array_indicespymrm.couplingUpdate CSC matrix row/column indexing for embedding in a larger domain.
pymrm.coupling.update_csr_array_indicespymrm.couplingUpdate CSR matrix row/column indexing for embedding in a larger domain.
pymrm.grid.generate_gridpymrm.gridReturn face coordinates and optionally cell-center coordinates.
pymrm.grid.non_uniform_gridpymrm.gridGenerate a one-dimensional stretched face grid.
pymrm.helpers.construct_coefficient_matrixpymrm.helpersBuild a sparse coefficient matrix with optional broadcasting and (row, col) coupling.
pymrm.interpolate.compute_boundary_valuespymrm.interpolateCompute boundary values and boundary-normal gradients.
pymrm.interpolate.construct_boundary_value_matricespymrm.interpolateBuild matrices that evaluate boundary values from cell-centered unknowns.
pymrm.interpolate.create_staggered_arraypymrm.interpolateCreate a face/staggered field from scalar, centered, or staggered input.
pymrm.interpolate.interp_cntr_to_staggpymrm.interpolateInterpolate cell-centered values to face/staggered locations.
pymrm.interpolate.interp_cntr_to_stagg_tvdpymrm.interpolatePerform TVD interpolation from cell centers to faces.
pymrm.interpolate.interp_stagg_to_cntrpymrm.interpolateInterpolate face/staggered values to cell centers.
pymrm.numjac.NumJacpymrm.numjacNumerical Jacobian evaluator based on grouped finite differences.
pymrm.numjac.stencil_block_diagonalspymrm.numjacGenerate a block-diagonal or block-banded stencil description.
pymrm.operators.construct_divpymrm.operatorsConstruct a divergence matrix that maps face fluxes to cell balances.
pymrm.operators.construct_gradpymrm.operatorsConstruct the full gradient operator including boundary contributions.
pymrm.operators.construct_grad_bcpymrm.operatorsConstruct boundary-face gradient corrections and source terms.
pymrm.operators.construct_grad_intpymrm.operatorsConstruct the interior-face gradient operator.
pymrm.solve.clip_approachpymrm.solveProject values onto bounds, optionally with a relaxed approach rule.
pymrm.solve.newtonpymrm.solveSolve function(x) = 0 with Newton iterations.