ESyS-Particle  4.0.1
CubicBlock.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_LSMCUBICBLOCK_H
15 #define ESYS_LSMCUBICBLOCK_H
16 
17 #include "Geometry/SimpleParticle.h"
18 #include "Geometry/CubicBlockIterator.h"
19 #include "Geometry/ClosePackBlock.h"
20 
21 namespace esys
22 {
23  namespace lsm
24  {
25  template <typename TmplParticle = SimpleParticle>
26  class CubicBlock : public ClosePackBlock<CubicBlockIterator,TmplParticle>
27  {
28  public:
30  CubicBlock(
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 
42 #include "Geometry/CubicBlock.hpp"
43 
44 #endif