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/opihi/cmd.data/vsh.c

    r37539 r37546  
    1919  int lmax = atoi(argv[5]);
    2020
    21   VSHterms *terms = InitVSHterms (lmax);
     21  VSHterms *terms = VSHtermsInit (lmax);
    2222
    2323  double R = atof(argv[6]);
     
    2929  ResetVector (Devec, OPIHI_FLT, terms->Nterms);
    3030
    31   getVSHterms (terms, R, D);
     31  VSHtermsForRD (terms, R, D);
    3232
    3333  for (i = 0; i < terms->Nterms; i++) {
     
    3838  }
    3939
    40   // FreeVSHterms (terms);
     40  VSHtermsFree (terms);
    4141
    4242  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.