ESyS-Particle
4.0.1
|
00001 00002 // // 00003 // Copyright (c) 2003-2011 by The University of Queensland // 00004 // Earth Systems Science Computational Centre (ESSCC) // 00005 // http://www.uq.edu.au/esscc // 00006 // // 00007 // Primary Business: Brisbane, Queensland, Australia // 00008 // Licensed under the Open Software License version 3.0 // 00009 // http://www.opensource.org/licenses/osl-3.0.php // 00010 // // 00012 00013 00014 #ifndef ESYS_LSMCUBICBLOCK_H 00015 #define ESYS_LSMCUBICBLOCK_H 00016 00017 #include "Geometry/SimpleParticle.h" 00018 #include "Geometry/CubicBlockIterator.h" 00019 #include "Geometry/ClosePackBlock.h" 00020 00021 namespace esys 00022 { 00023 namespace lsm 00024 { 00025 template <typename TmplParticle = SimpleParticle> 00026 class CubicBlock : public ClosePackBlock<CubicBlockIterator,TmplParticle> 00027 { 00028 public: 00029 typedef ClosePackBlock<CubicBlockIterator,TmplParticle> Inherited; 00030 CubicBlock( 00031 unsigned int numX, 00032 unsigned int numY, 00033 unsigned int numZ, 00034 double radius = 0.5, 00035 ClosePackOrientation orientation = DEFAULT_ORIENT 00036 ); 00037 00038 }; 00039 } 00040 } 00041 00042 #include "Geometry/CubicBlock.hpp" 00043 00044 #endif