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

BrickCellFactory.h

Go to the documentation of this file.
00001 #ifndef BRICKCELLFACTORY_H
00002 #define BRICKCELLFACTORY_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 class to build affine brick cells
00019    */
00020 
00021   class BrickCellFactory : public CellFactoryBase
00022     {
00023     public:
00024       /** prepare to construct a brick cell with a given node array
00025        * (which had better have eight elements) */
00026       BrickCellFactory(const TSFArray<int>& nodes)
00027         : CellFactoryBase(nodes) {;}
00028 
00029       /** prepare to construct a brick cell from eight specified nodes */
00030       BrickCellFactory(int a, int b, int c, int d,
00031                        int e, int f, int g, int h)
00032         : CellFactoryBase(tuple(a,b,c,d,e,f,g,h)) {;}
00033 
00034       /** dtor */
00035       virtual ~BrickCellFactory(){;}
00036 
00037       /** return the reference cell used by this factory */
00038       virtual ReferenceCell& refCell() const ;
00039 
00040     private:
00041 
00042     };
00043 
00044 
00045 
00046 }
00047 #endif

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


Documentation generated by