Ignore:
Timestamp:
04/29/04 19:48:18 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/catalog
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/catalog/SlaPlanets.cc

    r1758 r3897  
    1919    Slalib::SetMjd(mjd);
    2020
    21     fTt = mjd + slaDtt(mjd)/60./60./24.;
     21    fTt = GetMjd() + slaDtt(GetMjd())/60./60./24.;
    2222
    2323    //
     
    2828    double veh[3]; // heliocentric velocity
    2929
    30     slaEvp(mjd + fDt, 2000.0, veb, ceb, veh, fEarth);
     30    slaEvp(GetMjd() + fDt, 2000.0, veb, ceb, veh, fEarth);
    3131}
    3232
  • trunk/MagicSoft/Cosy/catalog/SlaStars.cc

    r2615 r3897  
    4040
    4141    // prepare calculation: Mean Place to geocentric apperent
    42     slaMappa(2000.0, mjd, fAmprms);        // Epoche, TDB
     42    slaMappa(2000.0, GetMjd(), fAmprms);   // Epoche, TDB
    4343
    4444    // prepare: Apperent to observed place
    45     slaAoppa(mjd, 0,                       // mjd, Delta UT=UT1-UTC
    46              // GetElong(), GetPhi(), 148, // göttingen long, lat, height
    47              GetElong(), GetPhi(), GetHeight(), // göttingen long, lat, height
     45    slaAoppa(GetMjd(), 0,                  // mjd, Delta UT=UT1-UTC
     46             GetElong(), GetPhi(), GetHeight(), // long, lat, height
    4847             0, 0,                         // polar motion x, y-coordinate (radians)
    4948             // 273.155, 1013.25, 0.5,     // temp, pressure, humidity
  • trunk/MagicSoft/Cosy/catalog/Slalib.cc

    r2615 r3897  
    2929{
    3030    fTime.SetMjd(mjd);
    31     fAlpha = slaGmst(mjd) + GetElong();
    32 }
     31
     32    fAlpha = slaGmst(GetMjd()) + GetElong();
     33}
     34
     35void Slalib::Now(double offset)
     36{
     37    fTime.Now();
     38    SetMjd(fTime.GetMjd()+offset/(24*60*60));
     39}
     40
    3341
    3442ZdAz Slalib::XYZ2ZdAz(double coord[3]) const
  • trunk/MagicSoft/Cosy/catalog/Slalib.h

    r2615 r3897  
    2323    virtual void SetMjd(double mjd);
    2424    Double_t GetMjd() const { return fTime.GetMjd(); }
    25     void Now() { fTime.Now(); }
     25    void Now(double offset=0);
    2626    const MTime &GetTime() const { return fTime; }
    2727
Note: See TracChangeset for help on using the changeset viewer.