Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

PartitionedLineMesher.h

Go to the documentation of this file.
00001 #ifndef PARTITIONEDLINEMESHER_H
00002 #define PARTITIONEDLINEMESHER_H
00003 
00004 #include "SundanceDefs.h"
00005 #include "MeshGenerator.h"
00006 #include "TSFSmartPtr.h"
00007 
00008 
00009 namespace Sundance
00010 {
00011 
00012   using namespace TSF;
00013   using std::string;
00014 
00015   using std::ostream;
00016 
00017   /**
00018    *\ingroup Geometry
00019    * Mesher for rectangles.
00020    */
00021 
00022   class PartitionedLineMesher : public MeshGeneratorBase
00023     {
00024     public:
00025       /** Mesh the line [ax,bx] with nx elements */
00026       PartitionedLineMesher(double ax, double bx, int nx)
00027         : ax_(ax), bx_(bx), nx_(nx) {;}
00028       /** */
00029       virtual ~PartitionedLineMesher() {;}
00030 
00031       /** */
00032       virtual Mesh getMesh() const ;
00033 
00034     protected:
00035 
00036       double ax_;
00037       double bx_;
00038       int nx_;
00039     };
00040 
00041 }
00042 
00043 #endif

Contact:
Kevin Long (krlong@ca.sandia.gov)


Documentation generated by