ESyS-Particle  4.0.1
LayeredBlock.h
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 #ifndef __LAYEREDBLOCK_H
00014 #define __LAYEREDBLOCK_H
00015 
00016 //-- project includes --
00017 #include "Geometry/RandomBlock.h"
00018 
00019 //-- STL includes --
00020 #include <set>
00021 
00022 using std::set;
00023 
00032 class CLayeredBlock2D : public CRandomBlock2D
00033 {
00034  private:
00035   set<double> LayerBoundaries;
00036 
00037  public:
00038   CLayeredBlock2D(double,double,double,double,double,double);
00039   virtual ~CLayeredBlock2D();
00040 
00041   void addLayerBoundary(double);
00042   virtual void generate(int,unsigned int);
00043 };
00044 
00045 #endif //__LAYEREDBLOCK_H