00001 #ifndef NULLQUADRATURE_H 00002 #define NULLQUADRATURE_H 00003 00004 #include "SundanceDefs.h" 00005 #include "QuadratureFamilyBase.h" 00006 00007 00008 namespace Sundance 00009 { 00010 00011 using namespace TSF; 00012 using std::string; 00013 00014 using std::ostream; 00015 00016 /** \ingroup UserLevelFE 00017 * Abstract, geometry-independent symmetric Null quadrature rule 00018 */ 00019 00020 class NullQuadratureFamily : public QuadratureFamilyBase 00021 { 00022 public: 00023 /** \name Developer-only methods */ 00024 //@{ 00025 00026 /** create a Gauss-Legendre quadrature rule of a given 00027 * polynomial order */ 00028 NullQuadratureFamily() 00029 : QuadratureFamilyBase("NullQuadrature", 0) {;} 00030 00031 00032 /** TUVD */ 00033 virtual ~NullQuadratureFamily(){;} 00034 00035 /** return an identifying string */ 00036 virtual const string& typeName() const {return typeName_;} 00037 00038 //@} 00039 protected: 00040 00041 static string typeName_; 00042 }; 00043 00044 00045 00046 } 00047 #endif