Searched refs:relativeRadiusPower (Results 1 – 1 of 1) sorted by relevance
165 float[] relativeRadiusPower = new float[MAX_N + 2]; in GeomagneticField() local166 relativeRadiusPower[0] = 1.0f; in GeomagneticField()167 relativeRadiusPower[1] = EARTH_REFERENCE_RADIUS_KM / mGcRadiusKm; in GeomagneticField()168 for (int i = 2; i < relativeRadiusPower.length; ++i) { in GeomagneticField()169 relativeRadiusPower[i] = relativeRadiusPower[i - 1] * in GeomagneticField()170 relativeRadiusPower[1]; in GeomagneticField()213 gcX += relativeRadiusPower[n+2] in GeomagneticField()220 gcY += relativeRadiusPower[n+2] * m in GeomagneticField()227 gcZ -= (n + 1) * relativeRadiusPower[n+2] in GeomagneticField()