<< CL_fo_sphHarmAcc Models CL_fo_srpAcc >>

CelestLab >> Models > CL_fo_sphHarmPot

CL_fo_sphHarmPot

Potential due to gravity (spherical harmonics)

Calling Sequence

[pot] = CL_fo_sphHarmPot(pos, maxnm [, er, mu, j1jn, cs1nm, inc00])

Description

Parameters

pos:

Position vector from the central body [m]. (3xN)

maxnm :

(integer) Maximum degree/order to consider: [nmax,mmax] (1x2) or "all"

er:

(optional) Equatorial radius [m]. Default value is %CL_eqRad.

mu:

(optional) Gravitational constant [m^3/s^2]. Default value is %CL_mu.

j1jn:

(optional) Zonal harmonics. Default value is %CL_j1jn. (Nzx1)

cs1nm :

(complex, optional) Tesseral and sectorial harmonics: cs1nm(n,m) = Cnm + %i * Snm. Default value is %CL_cs1nm (NnxNm)

inc00:

(optional) %t if the effect of the central term is included. Default is %f.

pot:

Potential [m^2/s^2]. (1xN)

Authors

See also

Examples

pos = [[7000.e3; 0; 0], [0; 7000.e3; 0], [0; 0; 7000.e3]];
CL_fo_sphHarmPot(pos)
CL_fo_sphHarmPot(pos, [6,6])

Report an issue
<< CL_fo_sphHarmAcc Models CL_fo_srpAcc >>