mhtirogla
Home
Systems
API
Pricing
About
Log in
← Back
Home
›
Systems
›
Simulation and scientific computing
n-body
gravitational n-body simulation
GADGET
System
Techniques · 8
Primitives · 25
n-body
Halo exchange
distributed · medium: Each rank stores its block plus a border copy of its neighbours' edge cells, refreshed by small messages every step; communication scales with block surface, not volume.
›
Checkpoint and restart
hardware-os · medium: Periodically save enough state to resume a computation after a crash, preemption or move, with an interval that balances save cost against lost work.
›
Barnes hut tree
physics · medium: Octree with center-of-mass nodes; opening-angle criterion gives O(n log n) gravity forces
Fast multipole method
physics · medium: O(n) far-field interactions via multipole and local expansions on a hierarchical tree
Hierarchical timestepping
physics · medium: Block power-of-two timesteps per particle for multi-scale dynamics
Particle mesh ewald
physics · medium: Split long-range forces: real-space short range plus FFT mesh solve (PME, PPPM, TreePM)
Smoothed particle hydrodynamics
physics · medium: SPH kernels for density, pressure and viscosity on particles; neighbor search
Quadtree octree
geometry · low: Adaptive spatial subdivision trees for queries and level of detail; loose and linear variants
Space filling curves
geometry · low: Z-order/Morton (geohash) and Hilbert curves mapping multi-dimensional points to sortable keys
Verlet / leapfrog
numerics · low: Half-kick, drift, half-kick: a second-order, time-reversible, symplectic integrator with one force evaluation per step whose energy error stays bounded for millions of steps.
›
Fast Fourier transform
numerics · low: Computes the DFT in O(n log n) by recursively splitting into even and odd halves; the basis of fast convolution and spectral methods.
›
Union-find
graphs · low: Disjoint-set forest with union by size and path compression; merges sets and answers same-set queries in effectively constant time.
›
SIMD programming
hardware-os · low: Process 4-16 lanes per instruction with AVX2, AVX-512 or NEON via Rust std::arch, with runtime dispatch and a portable fallback.
›
Collective communication
ml-training · low: The family of group exchanges (broadcast, reduce, all-gather, reduce-scatter, all-to-all) and the latency-plus-bytes cost model that picks ring, tree or direct algorithms by message size and topology.
›
Eager rendezvous protocol
distributed · low: MPI point-to-point: eager sends for small messages, rendezvous handshake for large ones
Rdma
networking · low: RDMA verbs over InfiniBand/RoCE: queue pairs, memory registration, one-sided ops
Zero-copy I/O
networking · low: Move bytes between files, sockets and NICs by passing page references instead of copying through user space: sendfile, splice, MSG_ZEROCOPY, kTLS.
›
Copy-on-write fork
hardware-os · low: fork() gives the child the parent's whole address space by sharing pages read-only and copying one only when someone writes it; vfork and posix_spawn skip even that.
›
Dirty page tracking
hardware-os · low: Write-protection or PML logs of modified guest/process pages
mmap and the page cache
hardware-os · low: How read() and mmap reach file data through the kernel page cache, what readahead and madvise do, and why databases use their own buffer pool instead.
›
Ptrace process control
hardware-os · low: Ptrace: attach, read and write registers and memory, single-step, intercept signals
d-ary heap
data-structures · low: Array heap with d children per node (d = 4 typical): half the binary heap's depth, siblings in one cache line, faster priority queues.
›
Neighbor lists
physics · low: Cell lists plus Verlet buffer lists for O(n) short-range pair interactions
+ 1 more techniques
+ 9 more primitives
System
Techniques · 8
Primitives · 25
n-body
Halo exchange
distributed · medium: Each rank stores its block plus a border copy of its neighbours' edge cells, refreshed by small messages every step; communication scales with block surface, not volume.
›
Checkpoint and restart
hardware-os · medium: Periodically save enough state to resume a computation after a crash, preemption or move, with an interval that balances save cost against lost work.
›
Barnes hut tree
physics · medium: Octree with center-of-mass nodes; opening-angle criterion gives O(n log n) gravity forces
Fast multipole method
physics · medium: O(n) far-field interactions via multipole and local expansions on a hierarchical tree
Hierarchical timestepping
physics · medium: Block power-of-two timesteps per particle for multi-scale dynamics
Particle mesh ewald
physics · medium: Split long-range forces: real-space short range plus FFT mesh solve (PME, PPPM, TreePM)
Smoothed particle hydrodynamics
physics · medium: SPH kernels for density, pressure and viscosity on particles; neighbor search
Spherical harmonic transform
numerics · medium: Fast spherical harmonic transforms via FFT in longitude and Legendre in latitude
Quadtree octree
geometry · low: Adaptive spatial subdivision trees for queries and level of detail; loose and linear variants
Space filling curves
geometry · low: Z-order/Morton (geohash) and Hilbert curves mapping multi-dimensional points to sortable keys
Verlet / leapfrog
numerics · low: Half-kick, drift, half-kick: a second-order, time-reversible, symplectic integrator with one force evaluation per step whose energy error stays bounded for millions of steps.
›
Fast Fourier transform
numerics · low: Computes the DFT in O(n log n) by recursively splitting into even and odd halves; the basis of fast convolution and spectral methods.
›
Union-find
graphs · low: Disjoint-set forest with union by size and path compression; merges sets and answers same-set queries in effectively constant time.
›
SIMD programming
hardware-os · low: Process 4-16 lanes per instruction with AVX2, AVX-512 or NEON via Rust std::arch, with runtime dispatch and a portable fallback.
›
Collective communication
ml-training · low: The family of group exchanges (broadcast, reduce, all-gather, reduce-scatter, all-to-all) and the latency-plus-bytes cost model that picks ring, tree or direct algorithms by message size and topology.
›
Eager rendezvous protocol
distributed · low: MPI point-to-point: eager sends for small messages, rendezvous handshake for large ones
Rdma
networking · low: RDMA verbs over InfiniBand/RoCE: queue pairs, memory registration, one-sided ops
Zero-copy I/O
networking · low: Move bytes between files, sockets and NICs by passing page references instead of copying through user space: sendfile, splice, MSG_ZEROCOPY, kTLS.
›
Copy-on-write fork
hardware-os · low: fork() gives the child the parent's whole address space by sharing pages read-only and copying one only when someone writes it; vfork and posix_spawn skip even that.
›
Dirty page tracking
hardware-os · low: Write-protection or PML logs of modified guest/process pages
mmap and the page cache
hardware-os · low: How read() and mmap reach file data through the kernel page cache, what readahead and madvise do, and why databases use their own buffer pool instead.
›
Ptrace process control
hardware-os · low: Ptrace: attach, read and write registers and memory, single-step, intercept signals
d-ary heap
data-structures · low: Array heap with d children per node (d = 4 typical): half the binary heap's depth, siblings in one cache line, faster priority queues.
›
Neighbor lists
physics · low: Cell lists plus Verlet buffer lists for O(n) short-range pair interactions
Spline interpolation
numerics · low: Linear, bilinear/trilinear and cubic spline interpolation on grids and tables
Periodic boundary conditions
physics · low: Minimum image convention and wrapping for simulations in periodic boxes
Spatial hashing
physics · low: Uniform grid stored in a hash table: bucket objects by cell, test only neighbouring cells; O(n) neighbour search for many similar-sized objects such as particles.
›
Radix sort
search-sort · low: Non-comparison sort that distributes keys by 8-bit digits; several times faster than comparison sorts on large arrays of integers, floats or fixed-size keys.
›
Gaussian quadrature
numerics · low: Approximate an integral by a weighted sum of n function values at roots of orthogonal polynomials; exact for polynomials up to degree 2n-1.
›
Spherical grids
numerics · low: Lat-lon, cubed-sphere and icosahedral grids for global models; pole and area issues
Fast hash functions
data-structures · low: Non-cryptographic hashes built from 64×64→128-bit multiplies and xor-shifts; pick by key size, trust level and whether the hash is persisted.
›
Virtual memory and the TLB
hardware-os · low: How page tables and TLBs translate every address, what TLB reach means, and when 2 MiB or 1 GiB huge pages pay off on Linux.
›
Parallel prefix sum
search-sort · low: Work-efficient scan (Blelloch, decoupled look-back) on CPU SIMD and GPUs; stream compaction
Copy for AI
Similar systems
Share the most building blocks with this one.
molecular-dynamics
33 %
earthquake-sim
21 %
electromagnetics-sim
20 %
crash-sim
19 %