coordinates.h 830 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <math.h>
  3. #include "cmscp.h"
  4. #include "denseBlas.h"
  5. #define PI 3.141592653589793
  6. void rot_x(demat* M, double alf);
  7. void rot_y(demat* M, double alf);
  8. void rot_z(demat* M, double alf);
  9. void C_A2B(demat* M, double phi_T, double psi_T, double gamma_T);
  10. void C_A2O(demat* M, double A0, double phi0, double T);
  11. void C_En2T(demat* M, double phi0, double phi, double dlambda);
  12. void C_H2B(demat* M, double nv, double beta, double alpha);
  13. void C_O2E(demat* M, double A0, double phi0);
  14. void C_O2En(demat* M, double A0);
  15. void C_T2H(demat* M, double sigma, double theta);
  16. void C_V2B(demat* M, double beta, double alpha);
  17. void A_H2B1(double* alpha, double* beta, double* nu,
  18. double sigma, double theta,
  19. double lat, double lon,
  20. double phi_T, double psi_T, double gamma_T,
  21. double A0, double lon0, double phi0, double T);