भारत · ग्रहगणित
स्थान उज्जयिनी 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/radau.js

the owner's 15th-order Gauss–Radau integrator, lifted out of the Bhārat Sovereign Engine

135 lines · 0 exports

लेख · the header

The header, as the file states it

radau.js — the owner's 15th-order Gauss–Radau integrator, lifted out of the Bhārat Sovereign Engine (bharat-sovereign-engine/src/physics/ias15-gauss-radau.js) WITHOUT its force model or any data. Everything in it is derived, not copied: the 8 substep nodes are x = −1 and the seven roots of P_7(x) + P_8(x) (Legendre), found by Newton on the three-term recurrence and mapped by h = (x+1)/2; within a step the acceleration is a degree-7 polynomial in τ, integrated exactly; the coefficients come by fixed-point iteration on the node accelerations (Newton divided differences → monomials through a matrix built by polynomial multiplication); step control ε = max|b_6| / max|a|; compensated summation; the b_k re-expanded for the next step by the binomial identity. The algorithm is the owner's, line for line; only the force is now a parameter. integrate(x0, v0, accel, tEnd, { epsilon, dt0, maxStep, minStep, sample }) → { samples: [{t, x, v}], steps, evaluations } accel(x, v, t, out) writes the acceleration into out (Float64Array of the same length as x). sample: the interval at which the state is recorded (the step is shortened to land on it). No imports. Browser: window.Radau; node: module.exports.
आवश्यक · requires

What it loads

nothing

required by
निर्यात · exports

What it exports

पाठ · 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

5 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.

legendrePair(n, x)lines 21–26
calls nothing in the registry
called by radauNodes
radauNodes()lines 27–38exported
called by nothing in the registry
C(()lines 41–50
calls nothing in the registry
called by nothing in the registry
D(()lines 51–60
calls nothing in the registry
called by nothing in the registry
calls nothing in the registry
called by nothing in the registry