31 #include "Teuchos_UnitTestHarness.hpp"
32 #include "Teuchos_UnitTestRepository.hpp"
33 #include "Teuchos_GlobalMPISession.hpp"
34 #include "Teuchos_TestingHelpers.hpp"
48 std::vector< container<FAD> > x(1);
49 std::vector< container<FAD> > y(x);
60 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT(ConditionalReturnType, Fad,
Fad_DFadType)
61 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT(ConditionalReturnType, Fad,
Fad_SFadType)
62 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT(ConditionalReturnType, Fad,
Fad_SLFadType)
64 int
main(
int argc,
char* argv[] ) {
65 Teuchos::GlobalMPISession mpiSession(&argc, &argv);
66 return Teuchos::UnitTestRepository::runUnitTestsFromMain(argc, argv);
int main(int argc, char *argv[])
TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL(ConditionalReturnType, Fad, FAD)
Sacado::Fad::Exp::SFad< double, global_fad_size > Fad_SFadType
Sacado::Fad::Exp::SLFad< double, global_fad_size > Fad_SLFadType
Sacado::Fad::Exp::DFad< double > Fad_DFadType
const int global_fad_size
Forward-mode AD class templated on the storage for the derivative array.