sfc.hh

Go to the documentation of this file.
1 
6 #include "basics/typedefs.hh"
7 
8 #ifndef sfc_hh
9 #define sfc_hh
10 
11 
12 namespace parallel {
13 
14  // ************************************************ SFC **
15 
18  class SFC {
19  public:
20  virtual const ushort* const operator[](ushort ori) const = 0;
21  };
22 
23 
24  // ***************************************** HilbertSFC **
25 
28  class HilbertSFC : public SFC {
29  public:
34  const ushort* const operator[](ushort ori) const {return data[ori];};
35  private:
36  static const ushort* const data[24];
37  };
38 
39 } // namespace parallel
40 
41 #endif // sfc_hh
unsigned short ushort
Abbreviation for unsigned short.
Definition: typedefs.hh:48
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich