MOAB: Mesh Oriented datABase  (version 5.2.1)
LinearMappingFunctionTest.cpp File Reference
#include "Mesquite.hpp"
#include "MappingFunction.hpp"
#include "LinearHexahedron.hpp"
#include "LinearQuadrilateral.hpp"
#include "LinearTetrahedron.hpp"
#include "LinearTriangle.hpp"
#include "LinearPrism.hpp"
#include "LinearPyramid.hpp"
#include "TopologyInfo.hpp"
#include "MsqError.hpp"
#include "JacobianCalculator.hpp"
#include "IdealElements.hpp"
#include "UnitUtil.hpp"
#include <vector>
#include <algorithm>
+ Include dependency graph for LinearMappingFunctionTest.cpp:

Go to the source code of this file.

Classes

class  LinearMappingFunctionTest

Functions

 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION (LinearMappingFunctionTest,"LinearMappingFunctionTest")
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION (LinearMappingFunctionTest,"Unit")
static string itostr (int i)
static string dtostr (double i)

Variables

const int HexCorners [8][3]
const int QuadCorners [4][2] = { { 0, 0 }, { 1, 0 }, { 1, 1 }, { 0, 1 } }
const int TetCorners [12] = { 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 }
const int TriCorners [6] = { 0, 0, 1, 0, 0, 1 }
const int PrismCorners [18] = { 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1 }

Detailed Description

Author:
Jason Kraftcheck

Definition in file LinearMappingFunctionTest.cpp.


Function Documentation

CPPUNIT_TEST_SUITE_NAMED_REGISTRATION ( LinearMappingFunctionTest  ,
"LinearMappingFunctionTest"   
)
static string dtostr ( double  i) [static]

Definition at line 823 of file LinearMappingFunctionTest.cpp.

References buffer.

Referenced by LinearMappingFunctionTest::do_coeff_test(), and LinearMappingFunctionTest::do_deriv_test().

{
    char buffer[32];
    sprintf( buffer, "%g", i );
    return buffer;
}
static string itostr ( int  i) [static]

Definition at line 816 of file LinearMappingFunctionTest.cpp.

References buffer.

Referenced by LinearMappingFunctionTest::do_coeff_test(), and LinearMappingFunctionTest::do_deriv_test().

{
    char buffer[32];
    sprintf( buffer, "%d", i );
    return buffer;
}

Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines