| Program | Source File | Description |
|---|---|---|
| BENCH_MAIN | bench_main.f90 | Driver for the BENCHMARK suite (opt-in |
| CONVERGENCE_MAIN | convergence_main.f90 | Driver for the convergence-vs-degree accuracy sweep (opt-in
|
| DIPOLE_FLUX_EXPULSION | dipole_flux_expulsion.f90 | Worked example (2c): idealized superconducting-core flux expulsion. Ties to Elfritz (2016), cited in the manuscript, on field expulsion from superconducting neutron-star cores. Simplified to the standard "perfectly conducting sphere in a uniform ambient field" textbook problem: a sphere of radius totally excludes flux (idealized Meissner/Type-I limit -- real neutron-star cores are believed Type-II, with flux confined to quantized fluxoids rather than fully excluded; that fuller picture is not computed here). The boundary condition for all (no field may cross into a perfect diamagnet) fixes the induced dipole moment in closed form: , which superposes on the uniform ambient field to give the exterior field. Interior field is exactly zero. Purely magnetostatic: no induction equation, no time evolution. |
| DIPOLE_SYNTHESIS | dipole_synthesis.f90 | Worked example (2a): synthesize the classic exterior vacuum magnetic dipole () from FORTVSH's poloidal basis functions and confirm (i) it reproduces the textbook closed form , and (ii) it is numerically pure -- its overlap with every other (at ) is zero to quadrature precision. No induction equation or time evolution is involved: this is a static field-synthesis and orthogonal-projection check only. |
| DIPOLE_UNIFORM_SPHERE | dipole_uniform_sphere.f90 | Worked example (2b): uniformly magnetized sphere exterior dipole. Classic textbook magnetostatic boundary-value problem (e.g. Griffiths Ex. 6.1 / Jackson): a sphere of radius with uniform magnetization has a genuinely uniform interior field and a pure exterior dipole field. In the normalized units used here (, i.e. ), the magnetic-scalar-potential solution gives the closed-form relation . Although there is no free surface current in this relation's derivation but the interior/exterior fields are not continuous in (physically: continuity is broken by the sphere's own bound magnetization surface current, ) -- is continuous at , but has a jump. Both are checked below using FORTVSH's PVSH_RAD/PVSH_POL evaluated with the interior (, uniform field) and exterior (, dipole) stream functions. Purely static/magnetostatic: no induction equation, no time evolution. |
| GWI_GWJ_SWEEP | gwi_gwj_sweep.f90 | Worked example (2e): Geppert-Wiebicke (GWI/GWJ) coefficients swept across a range of mode-number combinations, each checked against an independent formula (not just the closed-form GWI/GWJ code itself evaluated a second way). |
| MAIN | main.f90 | Driver for the full TESTS validation suite (run via |
| STABILITY_MAIN | stability_main.f90 | Driver for mapping ASSOC_LEGENDRE_NORM_ALL's numerical stability across
the parameter space (opt-in |
| UNNORM_STABILITY_MAIN | unnorm_stability_main.f90 | Driver for mapping the UNNORMALIZED Bonnet recurrence's
( |
| VSH_DECOMPOSITION | vsh_decomposition.f90 | Worked example (2d): arbitrary-field VSH spectral decomposition, reconstruction, and convergence. |
| VSH_DECOMPOSITION_TOR | vsh_decomposition_tor.f90 | Worked example (2f): pure-toroidal VSH spectral decomposition,
reconstruction, and convergence -- companion to |