|
Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
Go to the documentation of this file.
32 #ifndef TRAITSTESTS_HPP
33 #define TRAITSTESTS_HPP
42 #include <cppunit/extensions/HelperMacros.h>
45 template <
class ADType>
91 template <
class ADType>
105 template <
class ADType>
110 CPPUNIT_ASSERT(same ==
true);
113 CPPUNIT_ASSERT(same ==
true);
116 template <
class ADType>
121 CPPUNIT_ASSERT(same ==
true);
124 CPPUNIT_ASSERT(same ==
true);
127 template <
class ADType>
135 template <
class ADType>
143 template <
class ADType>
147 double val = urand.number();
155 template <
class ADType>
159 double val = urand.number();
167 template <
class ADType>
179 #endif // TRAITSTESTS_HPP
static std::string eval()
Sacado::Fad::MemPoolManager< double > poolManager
Base template specification for Value.
Sacado::Fad::MemPoolManager< Sacado::Fad::DMFad< double > > poolManager2
CPPUNIT_TEST_SUITE(TraitsTests)
CPPUNIT_TEST(testScalarType)
MemPool * getMemoryPool(unsigned int dim)
Get memory pool for supplied dimension dim.
Sacado::mpl::apply< ADType, ad1_t >::type ad2_t
lambda< F >::type ::template apply< A1, A2, A3, A4, A5 >::type type
Base template specification for IsScalarType.
Base template specification for ScalarValue.
Sacado::Random< double > urand
Base template specification for IsADType.
Sacado::mpl::apply< ADType, double >::type ad1_t
Forward-mode AD class using dynamic memory allocation and expression templates.