Frequency_4 is a collection of codes to compute frequency and time transfer in the Solar System with the precision up to 4-th order of
The gravitating body is located at the origin of coordinate system. Point of photon emission A has coordinates X0, point where it is received, B, has coordinates X1. The axis of symmetry of the gravitating body and the axis of rotation coincide with
Light deflection vector
For every component the deflection components are given by 3 functions
alpha_{i}_{c}(X0, X1)
where {i} is x,y or z, X0, X1 are the 3-element arrays of coordinates, and {c} is one of:
- 'r1' for 1/r potentian,
- 'r2' for 1/r^2 potential,
- 'r4' for 1/r^4 potential,
- 'quadrupole' for the quadrupole potential,
- 'V' for the vector potential
$V_j$ .
Also for the terms containing velocity relative to the CMB reference frame
alpha_{i}_{c}(X0, X1, wvec)
where wvec is the 3-component vector of
- 'wU' for the terms, proportional to
$\alpha_1$ PPN coeffitient, - 'wV' for the term, containing
$\alpha_1 w^k V_k$ , - 'wUjk' for the terms, containing tensor potential
$U_{jk}$ and proportional to the$\alpha_2$ coefficient
For example, to compute the actual deflection in x axis due to quadrupole only for the body of mass
2*(1+ppn_gamma)*M*J_2*R**2 * alpha_i_quadrupole(X0,X1)
The example.f90 can be compiled with the command:
gfortran freq_4.f90 example.f90 -o example.f90