12 namespace Tempus_Unit_Test {
16 using Teuchos::rcp_const_cast;
17 using Teuchos::rcp_dynamic_cast;
27 stepper->setModel(model);
28 stepper->initialize();
35 bool useFSAL = stepper->getUseFSAL();
36 std::string ICConsistency = stepper->getICConsistency();
37 bool ICConsistencyCheck = stepper->getICConsistencyCheck();
38 bool useEmbedded = stepper->getUseEmbedded();
79 stepper->setAppAction(modifier);
80 stepper->initialize();
82 stepper->setAppAction(modifierX);
83 stepper->initialize();
85 stepper->setAppAction(observer);
86 stepper->initialize();
88 stepper->setUseFSAL(useFSAL);
89 stepper->initialize();
91 stepper->setICConsistency(ICConsistency);
92 stepper->initialize();
94 stepper->setICConsistencyCheck(ICConsistencyCheck);
95 stepper->initialize();
97 stepper->setUseEmbedded(useEmbedded);
98 stepper->initialize();
101 stepper->setTableau(A, b, c, order, order, order);
102 stepper->initialize();
107 model, useFSAL, ICConsistency, ICConsistencyCheck, useEmbedded, A, b, c,
108 order, order, order, bstar, modifier));
Default observer for StepperRK.
void testFactoryConstruction(std::string stepperType, const Teuchos::RCP< const Thyra::ModelEvaluator< double > > &model)
Unit test utility for Stepper construction through StepperFactory.
General Explicit 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)
Default ModifierX for StepperRK.
Default modifier for StepperRK.
#define TEUCHOS_ASSERT(assertion_test)
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)