Healpix C++  3.83
healpix_tables.h
Go to the documentation of this file.
1 /*
2  * This file is part of Healpix_cxx.
3  *
4  * Healpix_cxx is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * Healpix_cxx is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with Healpix_cxx; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17  *
18  * For more information about HEALPix, see http://healpix.sourceforge.net
19  */
20 
21 /*
22  * Healpix_cxx is being developed at the Max-Planck-Institut fuer Astrophysik
23  * and financially supported by the Deutsches Zentrum fuer Luft- und Raumfahrt
24  * (DLR).
25  */
26 
27 /*! \file healpix_tables.h
28  * Copyright (C) 2011-2014 Max-Planck-Society
29  * \author Martin Reinecke
30  */
31 
32 #ifndef HEALPIX_TABLES_H
33 #define HEALPIX_TABLES_H
34 
35 #include "datatypes.h"
36 
37 /*! The two possible ordering schemes of a HEALPix map. */
38 enum Healpix_Ordering_Scheme { RING, /*!< RING scheme */
39  NEST /*!< NESTED scheme */
40  };
41 
42 Healpix_Ordering_Scheme string2HealpixScheme (const std::string &inp);
43 
44 class nside_dummy {};
45 extern const nside_dummy SET_NSIDE;
46 
47 class Healpix_Tables
48  {
49  protected:
50  static const uint16 ctab[], utab[];
51 
52  static const int jrll[], jpll[];
53 
54  static const uint8 peano_face2path[2][12], peano_face2face[2][12],
55  peano_arr[],peano_arr2[];
56 
57  static const int nb_xoffset[], nb_yoffset[],
58  nb_facearray[][12], nb_swaparray[][3];
59 
60  static const int swap_clen[], swap_cycle[];
61  };
62 
63 #endif
Healpix_Ordering_Scheme

Generated on Wed Nov 13 2024 12:18:30 for Healpix C++