IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17001


Ignore:
Timestamp:
Mar 15, 2008, 9:47:24 AM (18 years ago)
Author:
eugene
Message:

add some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/src/skyregion_gsc.c

    r16997 r17001  
    5252  FILE *f;
    5353 
     54  // ohana_memdump (0);
     55
    5456  f = fopen (filename, "r");
    5557  if (f == NULL) {
     
    123125    SkyTableSort (band);
    124126   
     127    // free zones below
    125128    zones = SkyRegionFindZones (band, &Nzones, i);
    126129
     
    165168    skytable[0].regions[i].table = (skytable[0].regions[i].depth == depth);
    166169  }
     170
     171  // ohana_memdump (0);
    167172  return (skytable);
    168173}
    169174
     175// allocates band, band->regions
    170176SkyTable *SkyRegionForDecBand (char *buffer, int Nregions, char *DecName, float DminBand, float DmaxBand) {
    171177
     
    241247 */
    242248
     249// allocates zones
    243250SkyRegionZone *SkyRegionFindZones (SkyTable *band, int *Nzones, int parent) {
    244251 
     
    375382}
    376383 
     384// memory neutral
    377385void SkyTableL2fromZone (SkyTable *L2, SkyTable *L3, SkyTable *L4, SkyTable *band, SkyRegionZone *zone, int parent) {
    378386
     
    422430}
    423431
     432// memory neutral
    424433void SkyTableL3fromL2 (SkyRegion *L2, SkyTable *L3, SkyTable *L4, SkyTable *band, int Ns, int Ne) {
    425434
     
    458467}
    459468
     469// memory neutral
    460470void SkyTableL4fromL3 (SkyRegion *L3, SkyTable *L4) {
    461471
     
    507517}
    508518
     519// memory neutral
    509520void SkyTableAppend (SkyTable *old, SkyTable *new, int Nprev) {
    510521
     
    524535    old[0].regions[i + Nold] = new[0].regions[i];
    525536    old[0].regions[i + Nold].parent += Nprev;
    526     new[0].regions[i] = NULL;
    527537  }
    528538  return;
    529539}
    530540
     541// memory neutral
    531542void SkyRegionPrint (SkyRegion *region) {
    532543
Note: See TracChangeset for help on using the changeset viewer.