Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

hp2D/testsuite/integralTest.hh
Go to the documentation of this file.
00001 /* Tests integrals
00002  */
00003 
00004 #ifndef integralTest_hh
00005 #define integralTest_hh
00006 
00007 #include "basics/testcase.hh"
00008 #include "basics/typedefs.hh"
00009 #include "basics/vectorsMatricesForward.hh"
00010 
00011 using concepts::Real;
00012 
00013 namespace concepts {
00014   // forward declaration
00015   class Mesh;
00016 }
00017 
00018 namespace hp2D {
00019   // forward declaration
00020   class Space;
00021 }
00022 
00023 namespace test {
00024 
00025   // ********************************************************** IntegralTest **
00026 
00030   class IntegralTest : public TestCase {
00031   public:
00032     virtual ~IntegralTest() {}
00033     virtual void run();
00034 
00036 
00037     
00039     void element();
00041     void circle();
00043     void ring();
00044     // Integration of a FE solution
00045     void FEintegral();
00047     template<typename F, typename G>
00048     F integrate(concepts::Mesh2& msh,
00049                 const concepts::ElementFormula<F,G>& frm);
00051   };
00052 
00053 } // namespace test
00054 
00055 #endif // integralTest_hh

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)