MCPcopy Create free account
hub / github.com/leaningtech/webvm / Neptune

Function Neptune

examples/nodejs/nbody.js:51–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51function Neptune() {
52 return new Body(
53 1.53796971148509165e+01,
54 -2.59193146099879641e+01,
55 1.79258772950371181e-01,
56 2.68067772490389322e-03 * DAYS_PER_YEAR,
57 1.62824170038242295e-03 * DAYS_PER_YEAR,
58 -9.51592254519715870e-05 * DAYS_PER_YEAR,
59 5.15138902046611451e-05 * SOLAR_MASS
60 );
61}
62
63function Sun() {
64 return new Body(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, SOLAR_MASS);

Callers 1

nbody.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected