Grs2PotentialCoefficients

This program creates potential coefficients from the defining constants of a Geodetic Reference System (GRS). The potential coeffiencts excludes the centrifugal part. The form of the reference ellipsoid is either determined by the dynamical form factor J2, or the geometric inverseFlattening. One of those form parameters must be specified.

The default values create the GRS80.

NameTypeAnnotation
outputfilePotentialCoefficients
filename
maxDegree
uint
GM
doubleGeocentric gravitational constant
R
doublereference radius
omega
doubleAngular velocity of rotation
J2
doubleDynamical form factor
inverseFlattening
doubleGeometric inverse flattening of reference ellipsoid (0: sphere, ignored when J2 is set)