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);
Sacado::Fad::Exp::DFad< double > Fad_DFadType
const int global_fad_size
int main(int argc, char *argv[])
Sacado::Fad::Exp::SFad< double, global_fad_size > Fad_SFadType
TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL(ConditionalReturnType, Fad, FAD)
Forward-mode AD class templated on the storage for the derivative array.
Sacado::Fad::Exp::SLFad< double, global_fad_size > Fad_SLFadType