How teuben/nemo works
NEMO is a scientific toolbox for stellar dynamics, particle simulation, stellar orbits, image processing, and tabular data. Its central user workflow is to run command-line tools that create or transform domain objects—tables, snapshots, images, and orbits—and pass results to analysis or plotting tools, often through Unix pipes. The tree also shows supporting numerical, FITS, and graphics code, plus specialized contributed algorithms. Edges for the example command pipelines are documented in the README; unsampled subsystem paths indicate scope, not inspected implementation details.
Main entry points: nbody Snapshot tools · tab Table tools · image Image tools · orbit Orbit tools
Components 26
Scientific workflows
- Table tools
src/kernel/tab - Snapshot tools
src/nbody - Image tools
src/image - Orbit tools
src/orbit - N-body evolution
src/nbody/evolve
Data and formats
- Snapshot I/O
inc/snapshot - FITS interface
inc/cfitsio/fitsio.h - FITS aliases
inc/cfitsio/longnam.h - Image FITS
src/image/fits/fits.c - Table storage
src/kernel/tab/table.c
Runtime foundations
- Command interface
src/kernel/io/main.c - Parameter parsing
src/kernel/io/getparam.c - Common definitions
inc/stdinc.h - Math functions
inc/mathfns.h - Least-squares fitting
usr/lib/cmpfit/mpfit.c
Visualization
- Animation engine
src/nbody/glnemo/src/animation_engine.cpp - Frame data
src/nbody/glnemo/src/frame_data.h - X11 graphics driver
usr/vogl/drivers/X11.c - VOGL interface
usr/vogl/src/vogl.h
Specialized algorithms
- HOP group finder
usr/deisenst/hop/hop.c - KD-tree search
usr/deisenst/hop/kd.h - Barnes-Hut tree
usr/kawai/nbody/BHtree.C - Tree data types
usr/kawai/nbody/BHtree.h - Quadrupole forces
inc/multicode/quadforce.c - Tree-code I/O
usr/koda/etude/treeio.c
Other components
- NEMO user
Connections 19
- NEMO user → Table tools: runs commands
- Table tools → Table tools: pipes table
- NEMO user → Snapshot tools: runs commands
- Snapshot tools → Snapshot tools: pipes snapshot
- NEMO user → Image tools: runs commands
- Image tools → Image tools: pipes image
- NEMO user → Orbit tools: runs commands
- Orbit tools → Orbit tools: pipes orbit
- Snapshot tools → Snapshot I/O: uses formats
- Image FITS → FITS interface: uses FITS
- FITS interface → FITS aliases: includes aliases
inc/cfitsio/fitsio.h - Animation engine → Frame data: uses frames
- X11 graphics driver → VOGL interface: uses API
usr/vogl/drivers/X11.c - HOP group finder → KD-tree search: uses KD-tree
usr/deisenst/hop/hop.c - Barnes-Hut tree → Tree data types: uses types
usr/kawai/nbody/BHtree.C - NEMO user → N-body evolution: runs simulations
- NEMO user → Least-squares fitting: uses fitting
- NEMO user → Quadrupole forces: uses forces
- NEMO user → Tree-code I/O: uses tree tools