This appendix describes the eval_lambda
executable, which evaluates the eigenvalue λ appearing in Laplace's tidal equations (see the osc-rot
section). This executable is used for the calculations presented in :ads_citet:townsend:2020.
eval_lambda
is automatically compiled when GYRE is built, and installed in the {$GYRE_DIR}/bin
directory (see the main installation
chapter).
Unlike most other GYRE executables, the parameters for eval_lambda
are supplied directly on the command line, with the syntax
bash
./eval_lambda l m q_min q_max n_q log_q rossby filename
This evaluates λ for harmonic degree ℓ and azimuthal order m on a grid {q1, q2, …, qN} in the spin parameter, writing the results to the file filename
. If the flag log_q
has the value T
then the grid is logarithmically spaced:
where
Alternatively, if log_q
has the value F
, then the grid is linearly spaced:
As a special case, when nq = 1,
If the flag rossby
has the value T
, then the Rossby λ family is evaluated; otherwise, the gravito-acoustic family is evaluated.
The table below summarizes the mapping between the user-definable controls appearing in the expressions above, and the corresponding command-line parameters:
Symbol | Parameter |
---|---|
ℓ | l |
m | m |
q_min |
|
q_max |
|
N | n_q |
The output file created by eval_lambda
is in GYRE's hdf-format
, with the following data:
l
(integer scalar)Harmonic degree ℓ
k
(integer scalar)Meridional order k (see :ads_citealp:townsend:2003a)
m
(integer scalar)Azimuthal order m
rossby
(logical scalar)Rossby family flag
q
(real array)Spin parameter q
lambda
(real array)Eigenvalue λ