source:
src/LinkedCell/types.hpp@
15c75f8
| Last change on this file since 15c75f8 was fbbcde, checked in by , 14 years ago | |
|---|---|
|
|
| File size: 748 bytes | |
| Rev | Line | |
|---|---|---|
| [794bc8] | 1 | /* |
| 2 | * types.hpp | |
| 3 | * | |
| 4 | * Created on: Nov 15, 2011 | |
| 5 | * Author: heber | |
| 6 | */ | |
| 7 | ||
| 8 | #ifndef LINKEDCELL_TYPES_HPP_ | |
| 9 | #define LINKEDCELL_TYPES_HPP_ | |
| 10 | ||
| 11 | // include config.h | |
| 12 | #ifdef HAVE_CONFIG_H | |
| 13 | #include <config.h> | |
| 14 | #endif | |
| 15 | ||
| [fbbcde] | 16 | #include <set> |
| [794bc8] | 17 | #include <vector> |
| 18 | ||
| 19 | #include <boost/multi_array.hpp> | |
| 20 | ||
| [95422c] | 21 | #include "LinearAlgebra/defs.hpp" |
| 22 | ||
| [794bc8] | 23 | class TesselPoint; |
| 24 | ||
| 25 | namespace LinkedCell { | |
| 26 | ||
| [b3fb31] | 27 | //< Upper bound for number of cell nodes used in sensibility check on allocation. |
| 28 | enum { MAX_LINKEDCELLNODES = 1000000 }; | |
| 29 | ||
| [794bc8] | 30 | class LinkedCell; |
| 31 | ||
| [5344e4] | 32 | //!> linked list of tesselpoints |
| [fbbcde] | 33 | typedef std::set<const TesselPoint *> LinkedList; |
| [5344e4] | 34 | |
| [794bc8] | 35 | //!> three-dimensional array of LinkedCell instances |
| [95422c] | 36 | typedef boost::multi_array<LinkedCell *, NDIM> LinkedCellArray; |
| [794bc8] | 37 | } |
| 38 | ||
| [4459fc] | 39 | |
| [794bc8] | 40 | #endif /* LINKEDCELL_TYPES_HPP_ */ |
Note:
See TracBrowser
for help on using the repository browser.
