Declared in SolarSystem

Declaration

void CreateMagneticFieldCenteredDipole(
    string planet,
    double G10,
    double G11,
    double H11,
    double minReach,
    double maxReach
);

Description

Creates a new centered dipole magnetic field and attaches it to the planet in the Universe

Parameters

NameDescription
planetThe name of the planet to attach to
G10[nT] The IGRF Coefficient g_1^0
G11[nT] The IGRF Coefficient g_1^1
H11[nT] The IGRF Coefficient h_1^1
minReach[m] Minimum planet-relative position needed for the environment to work
maxReach[m] Maximum distance at which the environment will be calculated