भारत · ग्रहगणित
स्थान उज्जयिनी Ujjayinī · change it on a tool⌕ search the कोश ⌘Kप्रहर — · —:—:—ours, from sunriseउज्जयिनी —:—:—UTC + λ/15 h, λ = 75.7682° E (D13)IST Error −26.9 minlocal mean time − IST = 4λ − 330 min (K12)engine 3f94072the site ↗

gurutva/purnanka-nbody-engine.js

integer N-body sketch on the spanda lattice (leapfrog in form; what is TESTED is in test/test-parashara-bhrigu-nbody.js)

263 lines · 9 exports

लेख · the header

The header, as the file states it

purnanka-nbody-engine.js — integer N-body sketch on the spanda lattice (leapfrog in form; what is TESTED is in test/test-parashara-bhrigu-nbody.js) Implements the N-Body gravitational perturbation concept strictly on the Pūrṇāṅka (Integer Rational / Spanda Lattice) framework without copying empirical float constants or divergent external polynomials: 1. Integer Mass-Tensor Matrix (scaled relative to Solar Mass M_Sun = 10^8 units) 2. Integer leapfrog/Verlet stepper (symplectic in form; energy conservation on the integer grid is NOT tested here — the owner's tested integrators are gurutva/radau.js (Gauss–Radau) and the lattice N-body of purnanka-gurutva-jala.js) 3. Emergent Multi-Body Phenomena from First Principles: - Jupiter-Saturn 5:2 Mean Motion Resonance & the 883-yr Great Inequality - Sun-Earth-Moon 3-Body Tidal Differential (Evection & Variation) - Venus-Earth 13:8 Resonant Pentagram 4. Mutual Graha Yuddha (Planetary Encounter) Gravitational Deflections
आवश्यक · requires

What it loads

required by
nothing in the registry
निर्यात · exports

What it exports

INTEGER_GRAHA_MASSESMEAN_ORBIT_RADII_MICRO_AUintegerSqrtintegerDistance2DcomputeMutualGravitationalPerturbationsimulateJupiterSaturnIntegerResonancesimulateSunEarthMoonThreeBodyTidessimulateVenusEarthPentagramResonanceevaluateIntegerNBodySystem
पाठ · the verses it cites

SS verses named in the header

none in the registry

नलिका · channels

The channels it runs in

not on a channel
कार्य · the functions

Every function, what it calls, who calls it

7 top-level functions read from the source; the doc line is the comment above each; calls and callers are resolved across the registry’s modules by name. Line numbers are the file’s at engine 3f94072.

integerSqrt(val)lines 62–72exported

Integer square root via integer Newton-Raphson. @param {bigint} val

calls nothing in the registry

Computes mutual integer distance between two 2D positions in micro-AU.

called by nothing in the registry

Computes mutual gravitational acceleration between two bodies on the integer grid. F_ij = G * M_j / R^2 in the direction of body j. Force magnitude scaled to integer units.

called by nothing in the registry

Integer N-Body Resonance Simulator for Jupiter and Saturn (The Great Inequality). Simulates their mutual 5:2 orbital dance across centuries. In 5 orbits of Jupiter (~59.3 years) and 2 orbits of Saturn (~58.9 years), they return to almost the exact same mutual orientation, producing the famous 883-year Great Inequality without any empirical curve-fitting!

calls nothing in the registry

Integer 3-Body Sun-Earth-Moon Tidal Perturbation Model (Evection & Variation). Calculates the solar tidal differential pulling the Moon: Delta_F = 2 * G * M_Sun * R_Moon / R_Sun^3

calls nothing in the registry

Integer 2-Body Venus-Earth 13:8 Resonance & Pentagram Geometry. In 8 Earth years (2922 days), Venus completes 13 revolutions (2921 days). 13 - 8 = 5 synodic points forming the sacred Golden Ratio Pentagram!

calls nothing in the registry
evaluateIntegerNBodySystem()lines 242–250exported

Master Integer N-Body Evaluation Computes all mutual gravitational perturbations across the Solar System.