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

geometry/testsuite/testBlending.hh
Go to the documentation of this file.
00001 
00009 #ifndef testBlending_hh
00010 #define testBlending_hh
00011 
00012 #include "basics/testcase.hh"
00013 #include "basics/typedefs.hh"
00014 #include "geometry/elementMaps.hh"
00015 
00016 namespace test {
00017   using concepts::Real;
00018 
00019   // ********************************************************** TestBlending **
00020 
00026   class TestBlending : public TestCase {
00027   public:
00028     virtual ~TestBlending() {}
00029     virtual void run();
00030 
00032 
00033     void testFourEdges();
00034     void testThreeEdges();
00035     void testFourVertices();
00036     void testEdgeTwoVertices();
00037     void testAdjEdgesVertex();
00038     void testOppositeEdges();
00039     void testJacobian();
00040     void testTwoQuads();
00042   private:
00044     std::auto_ptr<concepts::MappingEdge2d> edges_[4];
00045 
00047     void print_(const concepts::MappingQuad2d& map,
00048     const std::string filename) const;
00050     void print2_(const concepts::MappingQuad2d& map,
00051      const uint n) const;
00053     void testMap_(const concepts::MappingQuad2d& map,
00054       const concepts::Array<Real>& X,
00055       const concepts::Array<Real>& Y, const uint n);
00056   };
00057 
00058 } // namespace test
00059 
00060 #endif // testBlending_hh

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