Back to browse
GitHub Repository

Fast, memory-efficient N-body gravity on the GPU using stochastic ensemble grid averaging (MOG).

1 starsPython

MOG Simulator, Emergent galaxies via ensemble of grids [video]

by tbmo·May 9, 2026·1 point·1 comment

AI Analysis

●●●BangerWizardryBig BrainNiche Gem

Achieves 92,000x memory savings versus fine grids using rotated ensemble averaging.

Strengths
  • Rotated grid ensemble eliminates directional blind spots that offset-only methods miss.
  • Real-time GPU visualization with interactive camera controls and debug overlays.
  • Mathematical approach recovers sub-cell resolution without cubic memory scaling.
Weaknesses
  • Requires OpenGL 4.6 GPU, excluding older hardware and headless server environments.
  • Python implementation may limit performance compared to native CUDA or C++ ports.
Category
Target Audience

Computational physicists, graphics programmers, simulation engineers

Similar To

Gadget-4 · Arepo · Enzo

Similar Projects