IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 2, 2014, 3:36:37 PM (12 years ago)
Author:
eugene
Message:

adding spherical harmonics code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140904/Ohana/src/libohana/include/ohana.h

    r37538 r37546  
    448448
    449449typedef struct {
     450  double *Fr;
     451  double *Fi;
     452  int    *l;
     453  int    *m;
     454  int lmax;
     455  int Nterms;
     456} SHterms;
     457
     458SHterms *SHtermsInit (int lmax);
     459void SHtermsFree (SHterms *terms);
     460void SHtermsForRD (SHterms *terms, double R, double D);
     461void SHtermsForLM (SHterms *terms, double R, double D, int l, int m);
     462
     463typedef struct {
    450464  double *dR_B;
    451465  double *dR_E;
    452466  double *dD_B;
    453467  double *dD_E;
     468  int    *l;
     469  int    *m;
    454470  int lmax;
    455471  int Nterms;
    456472} VSHterms;
    457473
    458 VSHterms *InitVSHterms (int lmax);
    459 void getVSHterms (VSHterms *terms, double R, double D);
    460 
    461 # endif
     474VSHterms *VSHtermsInit (int lmax);
     475void VSHtermsFree (VSHterms *terms);
     476void VSHtermsForRD (VSHterms *terms, double R, double D);
     477void VSHtermsForLM (VSHterms *terms, double R, double D, int l, int m);
     478
     479# endif
Note: See TracChangeset for help on using the changeset viewer.