Go to the documentation of this file.00001
00002
00003
00004 #ifndef testJacobian2D_hh
00005 #define testJacobian2D_hh
00006
00007 #include "basics/testcase.hh"
00008 #include "basics/typedefs.hh"
00009
00010 namespace concepts {
00011 class Quad2d;
00012 class Quad2dSubdivision;
00013 }
00014
00015 namespace test {
00016 using concepts::Real;
00017
00018
00019
00027 class TestJacobian2D : public TestCase {
00028 public:
00029 virtual ~TestJacobian2D();
00030 virtual void run();
00031
00033
00034
00042 void testRot0Isotropic();
00051 void testRot0Horizontal();
00060 void testRot0Vertical();
00061
00070 void testRot1Isotropic();
00079 void testRot1Horizontal();
00088 void testRot1Vertical();
00089
00098 void testRot2Isotropic();
00107 void testRot2Horizontal();
00116 void testRot2Vertical();
00117
00126 void testRot3Isotropic();
00135 void testRot3Horizontal();
00144 void testRot3Vertical();
00146 private:
00164 void recTest_(concepts::Quad2d* q, Real guess, Real div,
00165 Real guess00, Real div00,
00166 Real guess01, Real div01,
00167 Real guess10, Real div10,
00168 Real guess11, Real div11,
00169 uint rec, const concepts::Quad2dSubdivision* ref = 0);
00170 };
00171
00172 }
00173
00174 #endif // testJacobian_hh