MOAB: Mesh Oriented datABase  (version 5.4.1)
UntangleTargetMetricTests.cpp
Go to the documentation of this file.
00001 #define TARGET_TEST_GROUP "UntangleTargetMetricTests"
00002 #include "TargetMetricTest.hpp"
00003 
00004 using namespace MBMesquite;
00005 
00006 #include "AWUntangleBeta.hpp"
00007 #include "TSizeNB1.hpp"
00008 #include "TShapeSize2DNB1.hpp"
00009 #include "TShapeSize3DNB1.hpp"
00010 #include "TMixed.hpp"
00011 #include "TScale.hpp"
00012 #include "TUntangleBeta.hpp"
00013 #include "TUntangle1.hpp"
00014 #include "TUntangleMu.hpp"
00015 
00016 class TUntangleShSz : public TUntangleMu
00017 {
00018   public:
00019     TShapeSize2DNB1 SS2D;
00020     TShapeSize3DNB1 SS3D;
00021     TScale SS2DS;  // scale 2D value so that it is sensitive to shape deformation
00022     TMixed mBase;
00023     TUntangleShSz() : TUntangleMu( &mBase ), SS2DS( 10, &SS2D ), mBase( &SS2DS, &SS3D ) {}
00024 };
00025 
00026 class TUntangleSz : public TUntangleMu
00027 {
00028   public:
00029     TSizeNB1 mBase;
00030     TUntangleSz() : TUntangleMu( &mBase ) {}
00031 };
00032 
00033 //                               NAME                   !SHAPE !SIZE !ORIENT BARRIER
00034 TEST_METRIC_WITH_GRAD( AWUntangleBeta, true, true, true, false, 0.0 );
00035 TEST_METRIC_WITH_HESS( TUntangleBeta, true, true, true, false, 0.0 );
00036 TEST_METRIC_WITH_HESS( TUntangle1, true, true, true, false, 0.0 );
00037 TEST_NAMED_METRIC_WITH_HESS( TUntangleSz, TUntangleMu, true, false, true, false, 0.0 );
00038 TEST_NAMED_METRIC_WITH_HESS( TUntangleShSz, TUntangleMu, false, false, true, false, 0.0 );
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines