Scientific computing
Algorithms that simulate physical systems on computers, such as particle and N-body methods, molecular dynamics, fluid flow, finite elements, particle transport, multiscale models, uncertainty quantification and data assimilation.
- N-body and particle methods
- Molecular simulation
- Conservation laws and shock capturing
- Incompressible flow and turbulence
- Finite element practice
- Particle transport
- Multiscale methods
- Uncertainty quantification
- Data assimilation
Problems
- Data assimilation problem
Estimate the state of a large dynamical system, such as the atmosphere, from a forecast model and sparse noisy observations over time.
intro - Forward uncertainty propagation
Given a model and the probability distributions of its inputs, compute the distribution, moments or failure probabilities of its outputs.
intro - Gravitational N-body problem
Given the masses, positions and velocities of N bodies that attract by gravity, compute their positions and velocities at later times.
intro - Euler equations of gas dynamics
The conservation laws of mass, momentum and energy of an inviscid compressible gas, closed by an equation of state.
core - Linear Boltzmann transport equation
The balance of particles in position, direction and energy under streaming, absorption, scattering and sources, for neutrons, photons and radiation.
core - Shallow water equations
Hyperbolic equations for the depth and depth-averaged velocity of a thin fluid layer under gravity, used for rivers, tsunamis and atmospheres.
core - Vlasov-Poisson system
The kinetic equations of a collisionless plasma or star system, a phase-space density advected by the field that it creates through Poisson's equation.
core - k-eigenvalue problem
Find the largest eigenvalue k_eff and fundamental mode of the transport equation with the fission source divided by k; k_eff = 1 means critical.
core
Algorithms
- Analog Monte Carlo particle transport
Follows each particle from birth through free flights, collisions and scattering by sampling the physical probabilities, and counts the events of interest.
1 languagesintro - Direct N-body summation
Computes the force on each of N particles by summing over all other particles, in O(N^2) time per step and with no approximation error.
1 languagesintro - Finite element assembly
Computes small element matrices by quadrature and adds them into the global sparse matrix through the local-to-global map of degrees of freedom.
1 languagesintro - Free-flight distance sampling
Samples the distance to the next collision as -ln(xi)/Sigma_t in a uniform medium, and by spending one sampled optical depth region by region in a heterogeneous one.
1 languagesintro - MacCormack method
A two-step predictor-corrector with forward then backward differences, second order and equal to Lax-Wendroff on linear problems.
1 languagesintro - Nudging
Adds a term G (y^o - H x) to the model equations that pulls the state toward the observations with a time scale 1/g; the simplest continuous data assimilation.
1 languagesintro - Optimal interpolation
Sets each grid value to background plus weights times innovations of nearby observations, with weights from fixed B and R that minimize the error variance.
1 languagesintro - Adaptive finite element method
Repeats solve, estimate, mark and refine, so the mesh concentrates where the error indicator is large.
1 languagescore - Andersen thermostat
Samples the canonical ensemble by giving randomly chosen particles new velocities from the Maxwell-Boltzmann distribution at a set collision rate.
1 languagescore - Artificial compressibility method
Replaces incompressibility by a pressure equation with an artificial sound speed and marches in pseudo-time to a divergence-free steady state.
1 languagescore - Barnes-Hut algorithm
Builds an octree of the particles and treats each far cell as one pseudo-particle at its center of mass; a force step costs O(N log N) for non-pathological distributions.
1 languagescore - Berendsen thermostat
Rescales velocities each step so the temperature relaxes exponentially toward the target; it is stable but does not sample the canonical ensemble.
1 languagescore - Boris pusher
Advances a charged particle in electric and magnetic fields by half an electric kick, a rotation about B and another half kick, preserving phase-space volume.
1 languagescore - Boundary element method
Reformulates a linear PDE as an integral equation on the boundary and discretizes only the boundary, giving a dense system with fewer unknowns.
1 languagescore - Brownian dynamics
Integrates the overdamped Langevin equation, moving positions by force times mobility plus noise, for solutes in an implicit solvent.
1 languagescore - Chorin projection method
Advances the velocity without pressure, then solves a pressure Poisson equation and subtracts its gradient so the velocity is divergence free. First order in time.
1 languagescore - Cloud-in-cell assignment
Spreads each particle's charge or mass over the nearest grid points with linear weights, and uses the same weights to interpolate the field back, so no particle feels its own field.
1 languagescore - Collision estimator
Estimates the flux in a region by summing weight over total cross section at each collision in that region, divided by the number of histories and the volume.
1 languagescore - Discontinuous Galerkin method
Space discretization with a polynomial of degree k in each cell and no continuity between cells, coupled only by numerical fluxes on faces. Conservative; order k + 1 for smooth solutions.
1 languagescore - Discrete ordinates method
Solves the transport equation along a finite set of directions with quadrature weights, sweeping each direction through the mesh.
1 languagescore - Ensemble Kalman filter
Propagates an ensemble of states through the model and uses its sample covariance in the Kalman update, with perturbed observations for each member.
1 languagescore - Ewald summation
Computes the Coulomb energy and forces of charges in a periodic box by splitting each interaction into a short-range sum in real space and a smooth sum over wave vectors.
1 languagescore - Exact Riemann solver for the Euler equations
Finds the star-region pressure by Newton iteration on the shock and rarefaction relations, then samples the self-similar solution.
1 languagescore - Fast multipole method
Evaluates all pairwise interactions of N particles to a set accuracy in O(N) time, with multipole and local expansions on a tree and translations between them.
1 languagescore - First-order reliability method
Estimates a failure probability by finding the most probable failure point in standard normal space and linearizing the limit state there.
1 languagescore - Flux vector splitting
Splits the flux into parts with nonnegative and nonpositive eigenvalues and upwinds each part, with no Riemann solver.
1 languagescore - Four-dimensional variational assimilation
Finds the initial state whose model trajectory best fits the background and the observations over a time window, with gradients from the adjoint model.
1 languagescore - Free energy perturbation
Estimates the free energy difference of two states as -kT log of the average of exp(-dU/kT) over samples of one state.
1 languagescore - Friends-of-friends algorithm
Groups simulation particles into halos by linking every pair closer than a linking length and taking the connected components.
1 languagescore - HLL Riemann solver
Approximates the Riemann fan by one intermediate state between the slowest and fastest wave estimates; robust and positive but diffusive at contacts.
1 languagescore - Kinetic Monte Carlo
Simulates a system that moves by rare events with known rates. Each step draws an exponential waiting time from the total rate and picks one event with probability proportional to its rate.
1 languagescore - Langevin dynamics
Adds friction and a matching random force to Newton's equations so that the dynamics samples the canonical ensemble.
1 languagescore - MUSCL scheme
Reconstructs limited linear slopes in each cell and solves Riemann problems between interface values, second order away from shocks.
1 languagescore - Marker-and-cell method
Solves incompressible flow on a staggered grid, with pressures at cell centers and velocities on faces, and tracks the free surface with marker particles.
1 languagescore - Monte Carlo criticality calculation
Finds k_eff by tracking generations of fission neutrons, using the fission sites of each generation as the source of the next.
1 languagescore - Morris method
Screens many inputs cheaply by averaging one-at-a-time differences along random trajectories, ranking inputs by their mean and spread.
1 languagescore - Multilevel Monte Carlo
Writes a fine-level expectation as a coarse one plus telescoping corrections, each estimated with fewer samples as the level grows.
1 languagescore - Newest vertex bisection
Refines a triangle by cutting from its newest vertex to the opposite edge, with a closure step to avoid hanging nodes, keeping angles bounded.
1 languagescore - Newmark-beta method
Steps M a + C v + K d = F in time with parameters beta and gamma. beta = 1/4, gamma = 1/2 is second order and unconditionally stable for linear problems only.
1 languagescore - Non-intrusive spectral projection
Computes polynomial chaos coefficients as projections evaluated by quadrature over model runs at the quadrature nodes.
1 languagescore - Nose-Hoover thermostat
Adds a friction variable with its own equation of motion so that the extended dynamics, if ergodic, samples the canonical ensemble.
1 languagescore - Nudged elastic band method
Finds a minimum energy path between two minima: a chain of images moves under the true force across the path and spring forces along it. A climbing image converges to the saddle.
1 languagescore - POD-Galerkin reduced-order model
Projects the equations of a large model onto the leading proper orthogonal decomposition modes of its snapshots, which gives a small system of ODEs that runs fast.
1 languagescore - Particle mesh Ewald
Computes the reciprocal-space part of the Ewald sum by spreading charges on a grid with Lagrange interpolation and using FFTs, in O(N log N) time for N charges.
1 languagescore - Particle-in-cell plasma simulation
Moves charged macroparticles in fields computed on a grid from their deposited charge and current; the main method of kinetic plasma simulation.
1 languagescore - Particle-mesh method
Assigns particle mass or charge to a grid, solves Poisson's equation on the grid by FFT and interpolates the forces back, in O(N + M log M) per step for M grid points.
1 languagescore - RATTLE algorithm
Extends SHAKE to velocity Verlet by also projecting velocities onto the tangent space of the constraints, giving a symplectic constrained integrator.
1 languagescore - Regression-based polynomial chaos
Fits polynomial chaos coefficients by least squares to model runs at random or designed inputs, with more runs than coefficients.
1 languagescore - Roe solver
Approximates the Riemann problem by a linear one with a Roe-averaged Jacobian that resolves single shocks exactly.
1 languagescore - Rusanov flux
A numerical flux that averages the two physical fluxes and adds dissipation scaled by the largest local wave speed. Simple, robust and first order.
1 languagescore - SHAKE constraint algorithm
Holds bond lengths fixed during Verlet integration by adjusting positions along the bonds, one constraint at a time, until all hold to a tolerance.
1 languagescore - SIMPLE algorithm
Couples pressure and velocity by guessing a pressure, solving momentum, then correcting both from a pressure correction equation, until converged.
1 languagescore - Saltelli sampling scheme
Estimates all first order and total Sobol indices from two sample matrices and their column swaps, at N(d + 2) model runs, or N(2d + 2) with second order indices.
1 languagescore - Source iteration
Solves the transport equation by repeated sweeps with the scattering source lagged, which converges slowly when the scattering ratio is near one.
1 languagescore - Spherical harmonics method
Expands the angular flux in spherical harmonics up to degree N, giving a hyperbolic system of moment equations.
1 languagescore - Streamline upwind Petrov-Galerkin method
Adds test functions shifted along the flow direction, which stabilizes convection-dominated problems without losing consistency.
1 languagescore - Strong stability preserving Runge-Kutta methods
Explicit Runge-Kutta methods that are convex combinations of forward Euler steps, so they keep the TVD or positivity property under a scaled CFL limit.
1 languagescore - Thermodynamic integration
Computes a free energy difference by integrating the ensemble average of dU/dlambda over a coupling parameter lambda from 0 to 1.
1 languagescore - Three-dimensional variational assimilation
Finds the analysis by minimizing the distance to the background weighted by B^-1 plus the distance to the observations weighted by R^-1, at one time.
1 languagescore - Track-length estimator
Estimates the scalar flux in a region by summing weight times the path length of every track segment inside it, divided by the number of histories and the volume.
1 languagescore - Transport sweep
Solves for each direction cell by cell in upwind order, so a source iteration needs no matrix inversion; parallel versions pipeline the sweeps.
1 languagescore - Umbrella sampling
Adds biasing potentials that restrain a collective variable in overlapping windows so rare regions are sampled, and removes the bias afterwards.
1 languagescore - Volume of fluid method
Tracks a free surface by the fraction of each cell filled with one fluid, advected conservatively and reconstructed as an interface.
1 languagescore - Yee FDTD scheme
Solves Maxwell's equations with E and H on staggered grids and leapfrog time steps. Second order, and the discrete divergence of the fields stays constant.
1 languagescore - Zienkiewicz-Zhu error estimator
Recovers a smoother gradient by local least squares fits on patches and uses its difference from the raw gradient as an error estimate.
1 languagescore - AUSM scheme
Splits the flux into a convective part upwinded by an interface Mach number and a pressure part, and keeps contacts at rest exactly.
1 languagesadvanced - Adaptive fast multipole method
Refines the FMM tree only where particles are dense and uses four interaction lists (U, V, W and X), so the cost stays near linear in N for strongly nonuniform distributions.
1 languagesadvanced - Arc-length method
Traces nonlinear equilibrium paths through limit points by constraining the step length in load and displacement space together.
1 languagesadvanced - Bennett acceptance ratio
Estimates a free energy difference from samples of both end states by solving an equation for the minimum-variance estimate.
1 languagesadvanced - Berger-Colella adaptive mesh refinement
Covers regions that need resolution by nested finer grid patches, subcycled in time, with flux corrections at coarse-fine boundaries to keep conservation.
1 languagesadvanced - Born-Oppenheimer molecular dynamics
Moves the nuclei classically on forces from an electronic structure calculation solved to self-consistency at every step.
1 languagesadvanced - Car-Parrinello molecular dynamics
Propagates electronic orbitals as fictitious classical variables together with the nuclei, so ab initio forces need no full electronic minimization each step.
1 languagesadvanced - Coarse projective integration
Runs short bursts of a fine simulator, estimates the time derivative of coarse variables, and takes a large projective step with no coarse equation.
1 languagesadvanced - Consistent adjoint driven importance sampling
Uses a deterministic adjoint solution to build a consistent biased source and weight windows for one Monte Carlo tally.
1 languagesadvanced - Diffusion synthetic acceleration
Speeds up source iteration by correcting each iterate with a diffusion solve for the error, which captures the slowly converging smooth modes.
1 languagesadvanced - Dimer method
Finds saddle points from one minimum using only gradients, by rotating a pair of close images to the lowest curvature mode and climbing along it.
1 languagesadvanced - Direct simulation Monte Carlo
Simulates a dilute gas by moving particles freely for a time step and then colliding random pairs in each cell with the probabilities of kinetic theory, for the Boltzmann equation.
1 languagesadvanced - Discrete empirical interpolation method
Picks interpolation indices greedily from POD modes of snapshots of the nonlinear term, so a reduced model evaluates it at few points.
1 languagesadvanced - Dissipative particle dynamics
Moves soft mesoscale beads with conservative, dissipative and random pairwise forces that conserve momentum, so the beads show hydrodynamics.
1 languagesadvanced - Dorfler marking
Marks a smallest set of elements whose squared indicators sum to at least a fraction theta of the total, the marking rule behind the convergence proofs of AFEM.
1 languagesadvanced - ENO schemes
Builds a high order reconstruction from the stencil with the smoothest data, chosen by divided differences, so that shocks cause almost no oscillations.
1 languagesadvanced - Element-free Galerkin method
A meshfree Galerkin method with moving least squares shape functions built from scattered nodes, with no element connectivity.
1 languagesadvanced - Empirical interpolation method
Approximates a parametrized nonlinear function by interpolation at greedily chosen points in a basis of its snapshots, so online cost is mesh independent.
1 languagesadvanced - Ensemble Kalman smoother
Updates past states as well as the current one with each new observation, using ensemble cross covariances in time.
1 languagesadvanced - Ensemble adjustment Kalman filter
Adjusts the ensemble members by a linear map so the analysis ensemble has exactly the Kalman posterior mean and covariance of the sample prior.
1 languagesadvanced - Ensemble square root filter
Updates the ensemble mean by the Kalman gain and the perturbations by a deterministic transform, with no perturbed observations.
1 languagesadvanced - Ensemble transform Kalman filter
Computes the analysis in the space spanned by the ensemble perturbations, with a symmetric square root transform of the ensemble.
1 languagesadvanced - Extended finite element method
Enriches the approximation through a partition of unity with discontinuous and singular functions, so cracks can grow without remeshing.
1 languagesadvanced - FE2 method
Computes the stress at each integration point of a macroscopic finite element model by solving a finite element problem on a representative volume element.
1 languagesadvanced - Fast Gauss transform
Evaluates sums of N Gaussians at M targets in O(N + M) time by Hermite and Taylor expansions on a grid of boxes.
1 languagesadvanced - Fourier amplitude sensitivity test
Varies all inputs along a curve with distinct frequencies and reads each input's share of variance from the Fourier spectrum of the output.
1 languagesadvanced - Fourth-order Hermite integrator
Predicts positions from the force and its time derivative, then corrects with a Hermite interpolant; the standard integrator of direct N-body codes.
1 languagesadvanced - Front tracking method
Represents the interface by a moving surface mesh that carries surface tension and is coupled to a fixed grid for the flow.
1 languagesadvanced - Generalized-alpha method
A second order implicit method for structural dynamics with set damping of high frequencies and little damping of low ones; it contains HHT-alpha.
1 languagesadvanced - Ghost fluid method
Treats a material interface given by a level set by filling ghost cells with values that carry the interface jump conditions, so it is not smeared.
1 languagesadvanced - HLLC Riemann solver
Restores the contact wave in the HLL solver with two intermediate states, giving sharp contacts and shear layers.
1 languagesadvanced - Heterogeneous multiscale method
Runs a macroscale solver whose missing data, such as fluxes or forces, are estimated on the fly by short microscale simulations near each point.
1 languagesadvanced - Hyperdynamics
Adds a bias potential that is zero at transition states, so MD escapes basins faster and the true time follows from the boost factor.
1 languagesadvanced - Immersed boundary method
Represents an elastic boundary by points that spread forces to a fixed grid through a smoothed delta function and move with the interpolated velocity.
1 languagesadvanced - Implicit Monte Carlo
Solves thermal radiation transport coupled to a material energy equation by Monte Carlo, treating part of the absorption and reemission as effective scattering so large time steps stay stable.
1 languagesadvanced - Incompressible smoothed particle hydrodynamics
Enforces incompressibility in SPH by a projection step that solves a pressure Poisson equation on the particles, instead of a stiff equation of state.
1 languagesadvanced - Incremental 4D-Var
Solves 4D-Var by outer loops that relinearize the model and inner loops that minimize a quadratic cost for the increment at lower resolution.
1 languagesadvanced - Iterative Boltzmann inversion
Fits a coarse-grained pair potential to a target radial distribution function, by adding kT ln(g/g_target) to the potential after each simulation until g matches.
1 languagesadvanced - Kahn's method for Compton scattering
Samples the energy and angle of a Compton scattered photon from the Klein-Nishina law by mixing two simple densities and rejecting, with no square roots or tables.
1 languagesadvanced - Kurganov-Tadmor scheme
A semi-discrete central scheme that uses local wave speeds to shrink the numerical viscosity, giving an ODE system for the method of lines.
1 languagesadvanced - LINCS algorithm
Resets bond constraints after an unconstrained step by a truncated matrix expansion of the constraint equations, faster and more parallel than SHAKE.
1 languagesadvanced - Local ensemble transform Kalman filter
Runs an ETKF independently at each grid point with only nearby observations, which localizes and parallelizes the analysis.
1 languagesadvanced - Material point method
Carries mass, momentum and history on particles and solves the momentum equation on a background grid each step, for large deformations of solids.
1 languagesadvanced - Metadynamics
Adds Gaussian hills at visited values of collective variables so the system escapes free energy minima; in the well-tempered form the bias converges to a scaled free energy.
1 languagesadvanced - Method of characteristics for neutron transport
Solves the transport equation along long tracks that cross the geometry, the standard method for detailed reactor lattice calculations.
1 languagesadvanced - Molecular dynamics simulation
Simulates the motion of atoms by integrating Newton's equations under a force field, with the velocity Verlet method and one force evaluation per time step of about 1 to 2 fs.
1 languagesadvanced - Multiple-relaxation-time lattice Boltzmann method
Lattice Boltzmann with collision in moment space, where each moment relaxes at its own rate. It is often more stable than BGK at low viscosity, and the free rates can place bounce-back walls exactly.
1 languagesadvanced - Multiscale coarse-graining by force matching
Fits coarse-grained forces by least squares to the forces mapped from atomistic simulations onto the coarse sites.
1 languagesadvanced - Multiscale finite element method
Builds basis functions by solving the fine-scale equation on each coarse element, so a coarse solve captures the fine structure.
1 languagesadvanced - Nessyahu-Tadmor central scheme
A second order central scheme on staggered cells that needs no Riemann solver and no characteristic decomposition.
1 languagesadvanced - Nose-Hoover chains
Couples the Nose-Hoover friction to further thermostats in a chain, curing the lack of ergodicity of one thermostat on small or stiff systems.
1 languagesadvanced - PISO algorithm
A non-iterative pressure-velocity coupling for transient flow with one predictor and two corrector steps in each time step.
1 languagesadvanced - Parallel replica dynamics
Runs copies of a system in one basin on many processors and adds their times up to the first escape. Exact when escapes are exponential after dephasing.
1 languagesadvanced - Parrinello-Rahman barostat
Lets the shape and size of the periodic box evolve as dynamical variables driven by the pressure tensor. Alone it samples NPH; with a thermostat added it samples NPT.
1 languagesadvanced - Particle-particle particle-mesh method
Splits the force into a short-range part summed directly over near neighbors and a smooth long-range part computed on a mesh by FFT.
1 languagesadvanced - Piecewise linear interface calculation
Reconstructs the interface in each cell as a plane with normal from the volume fraction gradient, placed so it cuts off the cell's fraction.
1 languagesadvanced - Piecewise parabolic method
Reconstructs a monotone parabola in each cell with steepening at contacts, a high order Godunov scheme for gas dynamics.
1 languagesadvanced - QM/MM method
Treats a small reactive region by quantum mechanics and the rest by a molecular mechanics force field, with coupling terms between them.
1 languagesadvanced - Quasicontinuum method
Keeps full atomistic detail near defects and a Cauchy-Born continuum elsewhere, with the positions of all atoms interpolated from a few representative atoms.
1 languagesadvanced - Reduced basis method
For PDEs with parameters, builds a basis from solutions at a few chosen parameters, solves new cases by Galerkin projection, and certifies each answer with an a posteriori error bound.
1 languagesadvanced - Representer method
Solves weak-constraint variational assimilation exactly in the span of representer functions, one per observation, from adjoint and forward runs.
1 languagesadvanced - Return mapping algorithm
Integrates elastoplastic laws at each quadrature point by an elastic trial stress followed by a projection back to the yield surface.
1 languagesadvanced - Reversible reference system propagator algorithm
Splits forces into fast and slow parts and integrates the fast part with smaller steps inside a symplectic Trotter splitting.
1 languagesadvanced - Runge-Kutta discontinuous Galerkin method
The Cockburn-Shu method for conservation laws: discontinuous Galerkin in space, SSP Runge-Kutta in time and a TVB slope limiter after each stage, so shocks are captured without oscillations.
1 languagesadvanced - Smooth particle mesh Ewald
A variant of particle mesh Ewald that spreads charges with cardinal B-splines, so the forces are the exact gradient of a smooth approximate energy and need only two FFTs.
1 languagesadvanced - Spectral element method
Uses high degree tensor product polynomials on quadrilaterals or hexahedra with Gauss-Lobatto nodes, giving a diagonal mass matrix and spectral accuracy.
1 languagesadvanced - Stochastic Galerkin method
Projects the governing equations onto the polynomial chaos basis, giving one large coupled deterministic system for all coefficients.
1 languagesadvanced - Stochastic collocation method
Solves the deterministic model at nodes of a sparse grid in parameter space and interpolates, a non-intrusive and spectrally accurate surrogate.
1 languagesadvanced - Stochastic velocity rescaling thermostat
Rescales the kinetic energy by a random factor drawn so that it follows the canonical distribution, keeping Berendsen's smoothness with correct sampling.
1 languagesadvanced - String method
Moves a curve between two minima by the potential force and reparametrizes it by arc length, converging to the minimum energy path.
1 languagesadvanced - Subset simulation
Writes a rare failure probability as a product of larger conditional probabilities of nested events, each sampled by MCMC.
1 languagesadvanced - Symmetric interior penalty Galerkin method
A discontinuous Galerkin method for elliptic problems with symmetric consistency terms and a penalty on jumps that must exceed a known bound.
1 languagesadvanced - Transition path sampling
Samples reactive trajectories between two stable states by Monte Carlo in path space with shooting and shifting moves.
1 languagesadvanced - TreePM method
Splits gravity into a long-range part solved on a mesh by FFT and a short-range part summed with a Barnes-Hut tree; GADGET-2 and other cosmological codes use it.
1 languagesadvanced - Vortex particle method
Represents an incompressible flow by particles that carry vorticity and moves them with the velocity from the Biot-Savart law, often summed by a tree or FMM.
1 languagesadvanced - Weak greedy algorithm for reduced bases
Builds a reduced basis by adding the parameter with the largest error bound. If the Kolmogorov n-width decays like n^-a or exp(-c n^a), the greedy error decays at a rate of the same type.
1 languagesadvanced - Weak-constraint 4D-Var
Allows model error terms at each time in the window, penalized by their covariance, so the analysis need not follow the model exactly.
1 languagesadvanced - Weighted histogram analysis method
Combines the biased histograms of umbrella sampling windows into one unbiased free energy profile by solving self-consistent equations.
1 languagesadvanced - Wisdom-Holman integrator
A symplectic splitting for planetary systems that advances the Kepler motion of each planet exactly and adds the mutual perturbations as kicks.
1 languagesadvanced - hp finite element method
Refines both mesh size h and degree p, small h near singularities and high p where the solution is smooth. On geometric meshes, piecewise analytic solutions converge like exp(-b N^(1/3)) in 2D.
1 languagesadvanced - BAOAB Langevin integrator
Splits Langevin dynamics into kick, drift and exact Ornstein-Uhlenbeck steps in the order B A O A B, which gives very accurate configurational sampling.
1 languagesresearch - Black-box fast multipole method
An FMM for any smooth kernel that interpolates the kernel at Chebyshev nodes and compresses the multipole-to-local operators by singular value decomposition.
1 languagesresearch - Ensemble Kalman inversion
Solves inverse problems by repeated ensemble Kalman updates in an artificial time, with no derivatives of the forward model.
1 languagesresearch - Forward flux sampling
Estimates rare transition rates by firing trial runs from a series of interfaces between two states and keeping those that reach the next interface.
1 languagesresearch - Forward-weighted CADIS
Weights the adjoint source by the inverse forward flux, so variance reduction gives a uniform relative error over a mesh tally.
1 languagesresearch - Four-dimensional ensemble-variational assimilation
Replaces the tangent linear and adjoint models of 4D-Var by ensemble trajectories over the window, so no adjoint code is needed.
1 languagesresearch - Generalized interpolation material point method
Gives each material point a finite domain and averages the grid shape functions over it, which reduces the cell crossing noise of the original MPM.
1 languagesresearch - Hybrid ensemble-variational assimilation
Blends a static background covariance with a localized ensemble covariance inside a variational cost; used at several operational centers.
1 languagesresearch - Hybridizable discontinuous Galerkin method
A discontinuous Galerkin method that removes the cell unknowns by static condensation, so that the only global unknowns are the traces on the faces.
1 languagesresearch - Kernel-independent fast multipole method
An FMM that replaces analytic expansions by equivalent densities on surfaces around each box, fitted by small solves, so it works for many kernels.
1 languagesresearch - Lattice Boltzmann method
Evolve particle populations f_i on a lattice: relax each node toward a local equilibrium (BGK, time tau), then stream to the neighbours. Recovers Navier-Stokes with nu = (tau - 1/2)/3 at low Mach.
1 languagesresearch - Local particle filter
Weights and resamples particles at each grid point with nearby observations only, so the weights need not collapse as the state dimension grows.
1 languagesresearch - Localized orthogonal decomposition
Corrects coarse basis functions by local fine-scale problems that decay exponentially, giving optimal coarse rates for rough coefficients.
1 languagesresearch - Multifidelity Monte Carlo
Combines a high fidelity model with cheaper surrogates as control variates, choosing sample sizes to minimize the variance at a fixed cost.
1 languagesresearch - Operator inference
Learns the matrices of a polynomial reduced model by least squares on projected snapshot data, with no access to the full model code.
1 languagesresearch - Particle strength exchange
Approximates the Laplacian on scattered particles by an integral operator, so viscous diffusion in vortex methods becomes an exchange of strength between neighbors.
1 languagesresearch - Proper generalized decomposition
Builds a separated representation of the solution as sums of products of functions of each variable by greedy alternating enrichment.
1 languagesresearch - Smoothed particle hydrodynamics
Meshless Lagrangian method: fluid particles carry mass, and density and forces come from kernel-weighted sums over neighbours, with pairwise symmetric terms that conserve momentum and energy.
1 languagesresearch - Sparse polynomial chaos by compressive sampling
Recovers a polynomial chaos expansion with few large coefficients from fewer runs than terms by l1 minimization.
1 languagesresearch - Temperature accelerated dynamics
Finds transitions at high temperature and extrapolates their times to low temperature with harmonic transition state theory.
1 languagesresearch - Virtual element method
A Galerkin method on general polygonal meshes whose basis functions are never computed; projections onto polynomials give the stiffness matrix.
1 languagesresearch
Data structures
- Linked-cell list
Bins atoms into cells of side at least the cutoff, so each atom checks only its own and the neighboring cells. At fixed density all pairs within the cutoff are found in O(N) time.
1 languagescore - Verlet neighbor list
Stores for each atom the atoms within the cutoff plus a skin, and is rebuilt only when some atom has moved more than half the skin.
1 languagescore - Hashed oct-tree
An octree whose cells sit in a hash table keyed by Morton codes, so a parallel tree code can find any cell and share cells across processors.
1 languagesadvanced
Techniques
- Periodic boundary conditions
Surrounds the simulation box by periodic images of itself, with each pair interacting through its closest image, so a small system mimics bulk matter.
1 languagesintro - Vorticity-streamfunction formulation
Solves 2D incompressible flow for vorticity and streamfunction, which makes the velocity divergence free by construction and removes the pressure.
1 languagesintro - Adaptive mesh refinement
Refines the grid during a run where an error indicator is large and coarsens it where the solution is smooth.
core - Adjoint model
The transpose of the tangent linear model, run backward in time, gives the gradient of a cost with respect to the initial state for a small multiple of one model run.
1 languagescore - Bounce-back boundary condition
Imposes no slip in lattice Boltzmann by sending distributions that hit a wall back along their incoming direction. The wall sits about halfway between a fluid node and a solid node.
core - Covariance inflation
Enlarges the ensemble spread by a factor or by added noise to offset the underestimated error from sampling and model error.
core - Covariance localization
Multiplies the ensemble covariance elementwise by a compactly supported correlation to remove spurious long-range correlations.
core - Direct numerical simulation of turbulence
Resolves all scales down to the Kolmogorov scale. The grid needs about Re^(9/4) points and Re^(3/4) time steps, so the total cost grows like Re^3.
core - Gravitational softening
Replaces the pair potential -G m / r by -G m / sqrt(r^2 + epsilon^2), so the force stays finite in close encounters; epsilon sets the smallest resolved scale.
core - Implicit capture
Never kills a particle at absorption but multiplies its weight by the scattering probability, which lowers the variance of tallies.
core - Isoparametric mapping
Maps a reference element to each physical element with the same shape functions used for the solution, which allows curved boundaries.
core - Large eddy simulation
Resolves the large turbulent eddies on the grid and models the effect of the filtered small scales by a subgrid model.
core - Mass lumping
Replaces the consistent mass matrix by a diagonal one, by row sums or nodal quadrature, so explicit time stepping needs no linear solve.
core - Mixed finite element method
Approximates two unknowns such as flux and pressure together from a saddle point formulation. The pair of spaces must satisfy an inf-sup bound that does not depend on the mesh.
core - Monaghan artificial viscosity
Adds a pairwise viscous pressure between approaching SPH particles so shocks are captured without particles passing through each other.
core - Multigroup energy approximation
Divides the energy range into groups with averaged cross sections, which turns the transport equation into coupled one-group equations.
core - Observing system simulation experiment
Tests an assimilation method or a planned observing network with synthetic observations from a known truth run, and measures how well the analysis recovers that truth.
core - Particle splitting
Splits a particle entering an important region into n copies of weight w/n, paired with Russian roulette in less important regions.
core - Patch test
Checks that a small patch of distorted elements reproduces a linear exact solution to rounding error. It finds consistency errors in elements and codes, but passing it does not prove convergence.
core - Periodic homogenization
Replaces a PDE with rapidly oscillating periodic coefficients by an effective PDE whose coefficients come from cell problems on one period.
1 languagescore - Polynomial chaos expansion
Expands a random model output in polynomials orthogonal for the input distribution, so the mean and variance come from the coefficients.
core - Residual-based a posteriori error estimator
Bounds the energy error by element residuals and jumps of the normal flux across faces, all computable from the discrete solution.
core - Static condensation
Eliminates the interior degrees of freedom of each element before assembly by a Schur complement, leaving a smaller system on element boundaries.
1 languagescore - Wall functions
Replace the resolution of the thin near-wall layer by the logarithmic law of the wall, which gives the wall shear stress from the first cell velocity.
1 languagescore - Weight window
Keeps particle weights within bounds set for each region and energy, splitting heavy particles and playing roulette with light ones.
core - Active subspaces
Finds the directions in input space along which the output changes most, from the eigenvectors of the average outer product of gradients.
advanced - Block time steps
Gives each particle a power-of-two fraction of a base step chosen from its own acceleration, so dense regions get small steps without slowing the rest.
advanced - Chapman-Enskog expansion
A multiscale expansion in the Knudsen number that derives the Navier-Stokes equations and their viscosity from a kinetic equation such as lattice Boltzmann.
advanced - Condensed history method
Groups many small collisions of charged particles into steps sampled from multiple scattering theory, which makes electron transport tractable.
advanced - Continuum surface force model
Models surface tension as a volume force near the interface, equal to curvature times the gradient of a smoothed color function.
advanced - Control variable transform
Writes the increment as x - x^b = U v with B = U U^T, so the background term of the variational cost becomes v^T v / 2, which removes B^-1 and preconditions the minimization.
advanced - Desroziers diagnostics
Estimates observation and background error covariances from statistics of innovations and analysis residuals in observation space.
1 languagesadvanced - Dual weighted residual method
Estimates the error in a quantity of interest by weighting local residuals with the solution of an adjoint problem.
advanced - Exponential transform
Biases the free-flight distribution to stretch paths in a preferred direction and corrects the weight, for deep penetration problems.
advanced - Generalized polynomial chaos
Matches the polynomial family to the input law by the Askey scheme, such as Hermite for Gaussian and Legendre for uniform inputs.
advanced - Harten-Hyman entropy fix
Modifies small wave speeds in the Roe flux so that transonic rarefactions do not become nonphysical expansion shocks.
1 languagesadvanced - Kustaanheimo-Stiefel regularization
Maps the Kepler problem to a harmonic oscillator in four dimensions with a new time variable, so close binaries can be integrated without singularity.
advanced - Multipole-to-local translation
Converts the multipole expansion of a far cell into a local Taylor expansion about a target cell; it is the costliest step of the fast multipole method.
advanced - Nitsche's method
Imposes Dirichlet conditions weakly by consistency and penalty terms on the boundary, keeping optimal convergence without a conforming space.
advanced - Perfectly matched layer
An absorbing layer at the domain boundary built by complex coordinate stretching, so outgoing waves enter it without reflection and decay.
1 languagesadvanced - Rhie-Chow interpolation
Interpolates face velocities on a collocated grid with a pressure-gradient correction, which removes checkerboard pressure modes.
1 languagesadvanced - Shannon entropy of the fission source
Diagnoses source convergence in Monte Carlo criticality runs by tracking the entropy of the binned fission sites over generations.
advanced - Summation-by-parts operators
Difference operators D = H^-1 Q with Q + Q^T = B, a discrete form of integration by parts. With weak boundary terms (SAT) the energy method proves stability for the discrete scheme.
1 languagesadvanced - Variational multiscale method
Splits the solution into resolved and unresolved scales and models the effect of the unresolved ones, which explains stabilized finite element methods.
advanced - Well-balanced schemes
Schemes for balance laws that keep a family of steady states exactly, such as the lake at rest over a varying bottom, by discretizing flux gradient and source term so that they cancel.
1 languagesadvanced - Entropy stable schemes
Schemes whose flux is an entropy conservative flux in Tadmor's sense plus dissipation in the entropy variables, so the discrete solution obeys an entropy inequality for every mesh.
1 languagesresearch - Positivity-preserving limiter
Scales a high-order polynomial toward its cell mean so that density and pressure stay positive at the quadrature points. Keeps the mean and high order; positive means need a CFL condition.
research
Concepts
- Interatomic potential
A function that gives the potential energy of a set of atoms from their positions, whose negative gradient gives the forces used in molecular dynamics.
intro - Multiscale modeling
Links models at several length or time scales, passing information between a cheap coarse model and an accurate fine one where or when it is needed.
intro - Adjoint flux as importance
The solution of the adjoint transport equation gives the expected contribution of a particle at each phase-space point to a tally, guiding variance reduction.
core - Background error covariance
The covariance of errors in the prior forecast, which spreads observation information in space and between variables; too large to store, it is modeled.
core - Boussinesq eddy viscosity hypothesis
Models the Reynolds stresses as a turbulent eddy viscosity times the mean strain rate, so closure needs only one scalar field.
core - Cauchy-Born rule
Assumes the atoms of a crystal follow the macroscopic deformation gradient, giving a continuum energy density from an interatomic potential.
core - Collective variable
A low-dimensional function of the atomic positions, such as a distance or torsion, used to describe a slow process and to bias or analyse it.
core - Kolmogorov 1941 theory of turbulence
Predicts an inertial range energy spectrum C eps^(2/3) k^(-5/3) and smallest eddies of size (nu^3/eps)^(1/4), which set the cost of resolving turbulence.
core - Locking in finite elements
A loss of accuracy when low order elements cannot meet a constraint such as incompressibility or thin-plate shear without an overly stiff response.
core - Multipole expansion
Writes the far-field potential of a cluster of sources as a series in inverse powers of distance, whose first terms are the monopole, dipole and quadrupole.
core
Definitions
- Hyperbolic conservation law
A system U_t + F(U)_x = 0. The conservation form says each quantity changes only by its flux. The system is hyperbolic when F'(U) has real eigenvalues and a full set of eigenvectors.
intro - Lagrange finite element
The element whose degrees of freedom are values at nodes, giving continuous piecewise polynomials of degree k.
intro - Observation operator
The map H from the model state to the observed quantities, such as interpolation to a station or a radiative transfer model for satellite data.
intro - Radial distribution function
The density of particles at distance r from a given particle divided by the bulk density, estimated from a histogram of pair distances.
1 languagesintro - Weak formulation
Restates a boundary value problem as finding u in a function space with a(u, v) = l(v) for all test functions v, which needs fewer derivatives.
intro - BGK collision operator
Relaxes particle distributions toward a local equilibrium with one time tau. In lattice Boltzmann it sets the viscosity nu = c_s^2 (tau - 1/2) dt, with tau in time steps.
core - Canonical ensemble
The distribution of states at fixed particle number, volume and temperature, with probability proportional to exp(-E/kT).
core - Ciarlet finite element
A finite element as a triple of a cell, a space of shape functions and a set of degrees of freedom that determines each shape function uniquely.
core - Lax entropy condition
Picks the physical weak solution by requiring characteristics to run into each shock, which rules out expansion shocks.
core - Microcanonical ensemble
The uniform distribution over states of fixed particle number, volume and energy. Hamiltonian molecular dynamics, if ergodic, samples it with the total momentum also fixed.
core - Multipole acceptance criterion
The rule that lets a tree code use a cell's expansion instead of opening it, such as s/d < theta for cell size s, distance d and opening angle theta.
core - Random field
A family of random variables indexed by points in space, given by a mean and a covariance function, used for uncertain material properties.
core - Representative volume element
The smallest material sample whose averaged response represents the bulk, used to compute effective properties.
core - SPH smoothing kernel
A compactly supported, normalized radial function W(r, h) that interpolates fields from particles in SPH, such as the cubic spline or Wendland kernels.
core - Sobol indices
The shares of the output variance due to each input or group of inputs, from the Hoeffding-Sobol decomposition of the model.
core - Sobolev space
The space H^k of functions whose weak derivatives up to order k are square integrable, where weak formulations and error bounds are posed.
core - Taylor-Hood element
Continuous quadratic velocity with continuous linear pressure. In 2D this pair is inf-sup stable for Stokes flow on every triangulation with at least three triangles.
core - Weak solution of a conservation law
A function that satisfies the conservation law after multiplying by smooth test functions and integrating by parts, which allows shocks.
core - Gaspari-Cohn function
A fifth order piecewise rational function with compact support that is a valid correlation function in up to three dimensions, the standard taper for localization.
1 languagesadvanced - Nedelec edge element
A vector element with continuous tangential components across faces, conforming in H(curl), used for Maxwell's equations.
advanced - Raviart-Thomas element
A vector element with continuous normal components across faces, conforming in H(div), used for fluxes in mixed methods.
advanced
Theorems
- Babuska-Brezzi inf-sup condition
A saddle point problem has one stable solution when a is coercive on the kernel of b and b has an inf-sup bound beta > 0. A discretization is stable when beta does not depend on h.
core - Cea's lemma
The Galerkin solution is within a factor M/alpha of the best approximation in the finite element space, the ratio of continuity and coercivity constants.
core - Godunov's order barrier theorem
A linear monotone scheme for the advection equation is at most first order accurate, so high resolution schemes must be nonlinear.
core - Harmonic transition state theory
An approximate escape rate from an energy basin: the product of the normal mode frequencies at the minimum over those at the saddle, times exp(-dE/kT). Exact for harmonic wells, no recrossing.
core - Helmholtz-Hodge decomposition
On a bounded Lipschitz domain every L2 vector field splits orthogonally into a gradient and a divergence-free field with zero normal component. The basis of projection methods.
core - Hoeffding-Sobol decomposition
A square integrable function of independent inputs splits uniquely into orthogonal terms of growing interaction order, whose variances add up.
core - Lax-Milgram theorem
A bounded coercive bilinear form on a Hilbert space gives a unique solution of a(u, v) = l(v) for all v, bounded by the norm of l over the coercivity constant.
core - Lax-Wendroff theorem
If a conservative, consistent scheme converges boundedly almost everywhere and in L1 as the mesh is refined, the limit is a weak solution. It need not be the entropy solution.
core - Multipole truncation error bound
For charges of total absolute size A within radius r, the p-term multipole error at distance R > r is at most A/(R - r) (r/R)^(p+1) in 3D (1/r) and A/((p+1)(1 - r/R)) (r/R)^(p+1) in 2D (log).
core - Rankine-Hugoniot conditions
A discontinuity in a weak solution moves with speed s such that s times the jump in u equals the jump in the flux f(u).
core - Bramble-Hilbert lemma
Bounds the error of polynomial approximation on a domain by a seminorm of the function, which with scaling gives h^k interpolation error estimates.
advanced - Green-Kubo relations
Express transport coefficients such as diffusion and viscosity as time integrals of equilibrium autocorrelation functions that MD can estimate.
advanced - Jarzynski equality
The average of exp(-W/kT) over nonequilibrium processes that drive a system from state A to B equals exp(-dF/kT), linking work and free energy.
advanced - Mori-Zwanzig formalism
Projects a large dynamical system onto resolved variables exactly, giving a Markov term, a memory integral and a noise term.
advanced - Multilevel Monte Carlo complexity theorem
Gives the cost of MLMC for root mean square error eps as eps^-2, eps^-2 (log eps)^2 or more, from the rates of variance decay and cost growth.
advanced - Shadow Hamiltonian theorem
For a symplectic method with a small step h on an analytic Hamiltonian, a modified energy near H is conserved to within e^(-c/h) over times exponentially long in 1/h.
advanced - Two-scale convergence
Bounded sequences in L^2 have subsequences that converge to a function of both the slow and fast variables, which justifies homogenization.
advanced - Optimality of adaptive finite element methods
For symmetric elliptic problems with exact solves, small theta, minimal Dorfler sets and newest vertex bisection, AFEM converges at the best rate of the approximation class.
research - Particle filter collapse in high dimensions
In a bootstrap particle filter with Gaussian log weights of standard deviation τ, one particle takes almost all the weight unless the number of particles grows like exp(τ²/2).
research - Well-posedness of Bayesian inverse problems
Under mild conditions on the forward map and the prior, the posterior exists and depends Lipschitz continuously on the data in the Hellinger distance.
research
Models
- Diffusion approximation of transport
Approximates transport by a diffusion equation for the scalar flux, valid when scattering dominates and the flux is nearly isotropic.
1 languagesintro - Lennard-Jones potential
The pair potential 4 epsilon ((sigma/r)^12 - (sigma/r)^6), with steep repulsion and van der Waals attraction. It is the standard model of simple liquids such as argon.
1 languagesintro - Prandtl mixing length model
An algebraic eddy viscosity equal to the square of a mixing length times the magnitude of the mean velocity gradient.
1 languagesintro - Lorenz-96 model
A cyclic chaotic system dx_j/dt = (x_{j+1} - x_{j-2}) x_{j-1} - x_j + F, the standard test bed for data assimilation methods.
core - Molecular mechanics force field
A sum of bond, angle, torsion, Lennard-Jones and Coulomb terms with fitted parameters that models the energy of molecules.
core - Phase-field model
Describes interfaces such as solidification fronts by a smooth order parameter, evolved by Allen-Cahn or Cahn-Hilliard equations, so they move implicitly.
core - Reynolds-averaged Navier-Stokes equations
Equations for the mean flow obtained by averaging Navier-Stokes, with a Reynolds stress term that a turbulence model must close.
core - Smagorinsky model
A subgrid eddy viscosity equal to (C_s Delta)^2 times the magnitude of the resolved strain rate tensor.
1 languagescore - Wilcox k-omega model
Two transport equations, for turbulent kinetic energy and the specific dissipation rate omega, accurate near walls with no damping functions.
core - k-epsilon turbulence model
Two transport equations, for turbulent kinetic energy k and its dissipation rate epsilon, give the eddy viscosity C k^2/epsilon.
1 languagescore - Dynamic subgrid model
Computes the Smagorinsky coefficient locally from the resolved field by test filtering and the Germano identity, with the least squares fit of Lilly.
advanced - Embedded atom method
A potential for metals in which each atom's energy is a function of the electron density summed from its neighbors, plus a pair term.
1 languagesadvanced - Kennedy-O'Hagan calibration model
Models data as a simulator at unknown parameters plus a Gaussian process discrepancy plus noise, and infers parameters and discrepancy together.
advanced - Spalart-Allmaras model
A one-equation turbulence model for a modified eddy viscosity, built for aerodynamic flows over wings.
advanced - k-omega SST model
Blends k-omega near walls with k-epsilon in the free stream and limits the shear stress; the common model for separated flows.
advanced - Behler-Parrinello neural network potential
Writes the energy as a sum of atomic energies, each a neural network of symmetry functions of the atom's neighborhood, trained on quantum calculations.
1 languagesresearch - Peridynamics
A nonlocal continuum theory in which material points interact by bonds within a horizon, so cracks need no special treatment.
research