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

PointCellFactory.h

Go to the documentation of this file.
00001 #ifndef POINTCELLFACTORY_H
00002 #define POINTCELLFACTORY_H
00003 
00004 #include "SundanceDefs.h"
00005 
00006 #include "CellFactoryBase.h"
00007 
00008 
00009 namespace Sundance
00010 {
00011 
00012   using namespace TSF;
00013   using std::string;
00014 
00015   using std::ostream;
00016 
00017   /** \ingroup MeshBuilding
00018    * Factory to create point cell at a node.
00019    */
00020 
00021   class PointCellFactory : public CellFactoryBase
00022     {
00023     public:
00024       /** Create a point cell containing the node with global index "node". */
00025       PointCellFactory(int node) : CellFactoryBase(tuple(node)) {;}
00026       /** dtor */
00027       virtual~PointCellFactory(){;}
00028 
00029       /** Return the reference cell that will be associated with a
00030           newly built cell */
00031       virtual ReferenceCell& refCell() const ;
00032 
00033     private:
00034     };
00035 
00036 
00037 
00038 }
00039 #endif

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


Documentation generated by