ESyS-Particle  4.0.1
HexagBlock.h
1 
2 // //
3 // Copyright (c) 2003-2011 by The University of Queensland //
4 // Earth Systems Science Computational Centre (ESSCC) //
5 // http://www.uq.edu.au/esscc //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 
14 #ifndef ESYS_LSMHEXAGBLOCK_H
15 #define ESYS_LSMHEXAGBLOCK_H
16 
17 #include "Geometry/SimpleParticle.h"
18 #include "Geometry/HexagBlockIterator.h"
19 #include "Geometry/ClosePackBlock.h"
20 
21 namespace esys
22 {
23  namespace lsm
24  {
25  template <typename TmplParticle = SimpleParticle>
26  class HexagBlock : public ClosePackBlock<HexagBlockIterator,TmplParticle>
27  {
28  public:
30  HexagBlock(
31  unsigned int numX,
32  unsigned int numY,
33  unsigned int numZ,
34  double radius = 0.5,
35  ClosePackOrientation orientation = DEFAULT_ORIENT
36  );
37  };
38  }
39 }
40 
41 #include "Geometry/HexagBlock.hpp"
42 
43 #endif