healpix_tables.h

Go to the documentation of this file.
00001 /*
00002  *  This file is part of Healpix_cxx.
00003  *
00004  *  Healpix_cxx is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  Healpix_cxx is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with Healpix_cxx; if not, write to the Free Software
00016  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00017  *
00018  *  For more information about HEALPix, see http://healpix.sourceforge.net
00019  */
00020 
00021 /*
00022  *  Healpix_cxx is being developed at the Max-Planck-Institut fuer Astrophysik
00023  *  and financially supported by the Deutsches Zentrum fuer Luft- und Raumfahrt
00024  *  (DLR).
00025  */
00026 
00027 /*! \file healpix_tables.h
00028  *  Copyright (C) 2011-2014 Max-Planck-Society
00029  *  \author Martin Reinecke
00030  */
00031 
00032 #ifndef HEALPIX_TABLES_H
00033 #define HEALPIX_TABLES_H
00034 
00035 #include "datatypes.h"
00036 
00037 /*! The two possible ordering schemes of a HEALPix map. */
00038 enum Healpix_Ordering_Scheme { RING, /*!< RING scheme */
00039                                NEST  /*!< NESTED scheme */
00040                              };
00041 
00042 Healpix_Ordering_Scheme string2HealpixScheme (const std::string &inp);
00043 
00044 class nside_dummy {};
00045 extern const nside_dummy SET_NSIDE;
00046 
00047 class Healpix_Tables
00048   {
00049   protected:
00050     static const uint16 ctab[], utab[];
00051 
00052     static const int jrll[], jpll[];
00053 
00054     static const uint8 peano_face2path[2][12], peano_face2face[2][12],
00055                        peano_arr[],peano_arr2[];
00056 
00057     static const int nb_xoffset[], nb_yoffset[],
00058                      nb_facearray[][12], nb_swaparray[][3];
00059 
00060     static const int swap_clen[], swap_cycle[];
00061   };
00062 
00063 #endif

Generated on Thu Oct 8 14:48:52 2015 for Healpix C++