Schnek
gridstorage.hpp
1 /*
2  * gridstorage.hpp
3  *
4  * Created on: 23 Jan 2007
5  * Author: Holger Schmitz
6  * Email: holger@notjustphysics.com
7  *
8  * Copyright 2012 Holger Schmitz
9  *
10  * This file is part of Schnek.
11  *
12  * Schnek is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation, either version 3 of the License, or
15  * (at your option) any later version.
16  *
17  * Schnek is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with Schnek. If not, see <http://www.gnu.org/licenses/>.
24  *
25  */
26 
27 #ifndef SCHNEK_GRID_GRIDSTORAGE_HPP_
28 #define SCHNEK_GRID_GRIDSTORAGE_HPP_
29 
30 #include "gridstorage/single-array-allocation.hpp"
31 #include "gridstorage/single-array-storage-base.hpp"
32 
33 namespace schnek {
34  template<typename T, size_t rank>
35  using SingleArrayGridStorage = SingleArrayGridCOrderStorageBase<T, rank, SingleArrayInstantAllocation>;
36 
37  template<typename T, size_t rank>
38  using SingleArrayGridStorageFortran = SingleArrayGridFortranOrderStorageBase<T, rank, SingleArrayInstantAllocation>;
39 
40  template<typename T, size_t rank>
41  using LazyArrayGridStorage = SingleArrayGridCOrderStorageBase<T, rank, SingleArrayLazyAllocation>;
42 
43 } // namespace schnek
44 
45 
46 #endif // SCHNEK_GRID_GRIDSTORAGE_HPP_
47 
Definition: algo.hpp:30