14 namespace Tempus_Unit_Test {
19 using Teuchos::rcp_const_cast;
20 using Teuchos::rcp_dynamic_cast;
21 using Teuchos::sublist;
53 auto pList = Teuchos::getParametersFromXmlFile(
"Tempus_DIRK_VanDerPol.xml");
54 auto pl = sublist(pList,
"Tempus",
true);
55 auto appSolverPL = pl->sublist(
"App Stepper").sublist(
"App Solver");
58 auto integrator = Tempus::createIntegratorBasic<double>(pl, model);
61 "NOX", *(integrator->getStepper()->getSolver()->getParameterList()));
64 TEUCHOS_ASSERT(Teuchos::haveSameValues(appSolverPL, stepperSolverPL));
void testDIRKAccessorsFullConstruction(const RCP< Tempus::StepperDIRK< double >> &stepper)
Unit test utility for ExplicitRK Stepper construction and accessors.
void testFactoryConstruction(std::string stepperType, const Teuchos::RCP< const Thyra::ModelEvaluator< double > > &model)
Unit test utility for Stepper construction through StepperFactory.
Backward Euler Runge-Kutta Butcher Tableau.
Sine-Cosine model problem from Rythmos. This is a canonical Sine-Cosine differential equation with a...
void testRKAppAction(const Teuchos::RCP< Tempus::StepperRKBase< double >> &stepper, const Teuchos::RCP< const Thyra::ModelEvaluator< double >> &model, Teuchos::FancyOStream &out, bool &success)
Unit test utility for Stepper RK AppAction.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
TEUCHOS_UNIT_TEST(BackwardEuler, Default_Construction)
#define TEUCHOS_ASSERT(assertion_test)