Changeset 37485
- Timestamp:
- Oct 11, 2014, 2:54:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/uniphot/src/update_catalog_setgalmodel.c
r37452 r37485 1 1 # include "setgalmodel.h" 2 2 3 static double iFkap = 1.0 / 4.74047; // (km/sec/kpc) / (milli-arcsec/ year)3 static double iFkap = 0.001 / 4.74047; // (km/sec/kpc) / (arcsec/ year) 4 4 static double A_oort = +14.5; // km/sec/kpc 5 5 static double B_oort = -13.0; // km/sec/kpc … … 35 35 double uB_gal = -0.5*A_oort * sin(2.0*glon) * sin(2.0*glat) * iFkap; 36 36 37 double uL_sol = (U_sol * sin(glon) - V_sol * cos(glon))* iFkap / distance;37 double uL_sol = (U_sol * sin(glon) - V_sol * cos(glon)) * iFkap / distance; 38 38 double uB_sol = ((U_sol * cos(glon) + V_sol * sin(glon))*sin(glat) - W_sol*cos(glat)) * iFkap / distance; 39 39
Note:
See TracChangeset
for help on using the changeset viewer.
