9 #ifndef Tempus_StepperIMEX_RK_impl_hpp
10 #define Tempus_StepperIMEX_RK_impl_hpp
12 #include "Tempus_RKButcherTableauBuilder.hpp"
13 #include "Tempus_config.hpp"
15 #include "Tempus_WrapperModelEvaluatorPairIMEX_Basic.hpp"
16 #include "Teuchos_VerboseObjectParameterListHelpers.hpp"
17 #include "Thyra_VectorStdOps.hpp"
18 #include "NOX_Thyra.H"
24 template<
class Scalar>
class StepperFactory;
27 template<
class Scalar>
29 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel,
30 std::string stepperType)
32 this->setTableaus(Teuchos::null, stepperType);
33 this->setParameterList(Teuchos::null);
34 this->setModel(appModel);
39 template<
class Scalar>
41 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel,
42 Teuchos::RCP<Teuchos::ParameterList> pList)
44 this->setTableaus(pList,
"IMEX RK SSP2");
45 this->setParameterList(pList);
46 this->setModel(appModel);
51 template<
class Scalar>
53 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel,
54 std::string stepperType,
55 Teuchos::RCP<Teuchos::ParameterList> pList)
57 this->setTableaus(pList, stepperType);
58 this->setParameterList(pList);
59 this->setModel(appModel);
64 template<
class Scalar>
66 Teuchos::RCP<Teuchos::ParameterList> pList,
67 std::string stepperType)
69 if (stepperType ==
"") {
70 if (pList == Teuchos::null)
71 stepperType =
"IMEX RK SSP2";
73 stepperType = pList->get<std::string>(
"Stepper Type",
"IMEX RK SSP2");
76 if (stepperType ==
"IMEX RK 1st order") {
79 Teuchos::RCP<Teuchos::ParameterList> pl = Teuchos::parameterList();
80 pl->setName(
"IMEX-RK Explicit Stepper");
81 pl->set<std::string>(
"Stepper Type",
"General ERK");
84 Teuchos::RCP<Teuchos::ParameterList> tableauPL = Teuchos::parameterList();
85 tableauPL->set<std::string>(
"A",
"0.0 0.0; 1.0 0.0");
86 tableauPL->set<std::string>(
"b",
"1.0 0.0");
87 tableauPL->set<std::string>(
"c",
"0.0 1.0");
88 tableauPL->set<
int>(
"order", 1);
89 pl->set(
"Tableau", *tableauPL);
91 this->setExplicitTableau(
"General ERK", pl);
95 Teuchos::RCP<Teuchos::ParameterList> pl = Teuchos::parameterList();
96 pl->setName(
"IMEX-RK Implicit Stepper");
97 pl->set<std::string>(
"Stepper Type",
"General DIRK");
98 pl->set(
"Solver Name",
"");
101 Teuchos::RCP<Teuchos::ParameterList> tableauPL = Teuchos::parameterList();
102 tableauPL->set<std::string>(
"A",
"0.0 0.0; 0.0 1.0");
103 tableauPL->set<std::string>(
"b",
"0.0 1.0");
104 tableauPL->set<std::string>(
"c",
"0.0 1.0");
105 tableauPL->set<
int>(
"order", 1);
106 pl->set(
"Tableau", *tableauPL);
108 this->setImplicitTableau(
"General DIRK", pl);
110 description_ = stepperType;
113 }
else if (stepperType ==
"IMEX RK SSP2") {
114 typedef Teuchos::ScalarTraits<Scalar> ST;
116 this->setExplicitTableau(
"RK Explicit Trapezoidal", Teuchos::null);
119 Teuchos::RCP<Teuchos::ParameterList> pl = Teuchos::parameterList();
120 pl->set<std::string>(
"Stepper Type",
"SDIRK 2 Stage 3rd order");
121 pl->set(
"Solver Name",
"");
122 Scalar gamma = 1.0 - 1.0/ST::squareroot(2.0);
123 pl->set<
double>(
"gamma",gamma);
124 this->setImplicitTableau(
"SDIRK 2 Stage 3rd order", pl);
126 description_ = stepperType;
128 }
else if (stepperType ==
"IMEX RK ARS 233") {
129 using std::to_string;
130 typedef Teuchos::ScalarTraits<Scalar> ST;
131 const Scalar gammaN = (3.0+ST::squareroot(3.0))/(6.0);
132 std::string gamma = to_string( gammaN);
133 std::string one_gamma = to_string(1.0- gammaN);
134 std::string one_2gamma = to_string(1.0-2.0*gammaN);
135 std::string two_2gamma = to_string(2.0-2.0*gammaN);
136 std::string gamma_one = to_string( gammaN-1.0);
139 Teuchos::RCP<Teuchos::ParameterList> pl = Teuchos::parameterList();
140 pl->setName(
"IMEX-RK Explicit Stepper");
141 pl->set<std::string>(
"Stepper Type",
"General ERK");
144 Teuchos::RCP<Teuchos::ParameterList> tableauPL = Teuchos::parameterList();
145 tableauPL->set<std::string>(
"A",
146 "0.0 0.0 0.0; "+gamma+
" 0.0 0.0; "+gamma_one+
" "+two_2gamma+
" 0.0");
147 tableauPL->set<std::string>(
"b",
"0.0 0.5 0.5");
148 tableauPL->set<std::string>(
"c",
"0.0 "+gamma+
" "+one_gamma);
149 tableauPL->set<
int>(
"order", 2);
150 pl->set(
"Tableau", *tableauPL);
152 this->setExplicitTableau(
"General ERK", pl);
156 Teuchos::RCP<Teuchos::ParameterList> pl = Teuchos::parameterList();
157 pl->setName(
"IMEX-RK Implicit Stepper");
158 pl->set<std::string>(
"Stepper Type",
"General DIRK");
159 pl->set(
"Solver Name",
"");
162 Teuchos::RCP<Teuchos::ParameterList> tableauPL = Teuchos::parameterList();
163 tableauPL->set<std::string>(
"A",
164 "0.0 0.0 0.0; 0.0 "+gamma+
" 0.0; 0.0 "+one_2gamma+
" "+gamma);
165 tableauPL->set<std::string>(
"b",
"0.0 0.5 0.5");
166 tableauPL->set<std::string>(
"c",
"0.0 "+gamma+
" "+one_gamma);
167 tableauPL->set<
int>(
"order", 3);
168 pl->set(
"Tableau", *tableauPL);
170 this->setImplicitTableau(
"General DIRK", pl);
172 description_ = stepperType;
175 }
else if (stepperType ==
"General IMEX RK") {
176 Teuchos::RCP<Teuchos::ParameterList> explicitPL = Teuchos::rcp(
177 new Teuchos::ParameterList(pList->sublist(
"IMEX-RK Explicit Stepper")));
179 Teuchos::RCP<Teuchos::ParameterList> implicitPL = Teuchos::rcp(
180 new Teuchos::ParameterList(pList->sublist(
"IMEX-RK Implicit Stepper")));
183 this->setExplicitTableau(
"General ERK", explicitPL);
184 this->setImplicitTableau(
"General DIRK", implicitPL);
185 description_ = stepperType;
186 order_ = pList->get<
int>(
"overall order", 0);
189 TEUCHOS_TEST_FOR_EXCEPTION(
true, std::logic_error,
190 "Error - Not a valid StepperIMEX_RK type! Stepper Type = "
191 << stepperType <<
"\n"
192 <<
" Current valid types are: " <<
"\n"
193 <<
" 'IMEX RK 1st order'" <<
"\n"
194 <<
" 'IMEX RK SSP2'" <<
"\n"
195 <<
" 'IMEX RK ARS 233'" <<
"\n"
196 <<
" 'General IMEX RK'" <<
"\n");
199 TEUCHOS_TEST_FOR_EXCEPTION(explicitTableau_==Teuchos::null,
201 "Error - StepperIMEX_RK - Explicit tableau is null!");
202 TEUCHOS_TEST_FOR_EXCEPTION(implicitTableau_==Teuchos::null,
204 "Error - StepperIMEX_RK - Implicit tableau is null!");
205 TEUCHOS_TEST_FOR_EXCEPTION(
206 explicitTableau_->numStages()!=implicitTableau_->numStages(),
208 "Error - StepperIMEX_RK - Number of stages do not match!\n"
209 <<
" Explicit tableau = " << explicitTableau_->description() <<
"\n"
210 <<
" number of stages = " << explicitTableau_->numStages() <<
"\n"
211 <<
" Implicit tableau = " << implicitTableau_->description() <<
"\n"
212 <<
" number of stages = " << implicitTableau_->numStages() <<
"\n");
216 template<
class Scalar>
218 std::string stepperType,
219 Teuchos::RCP<Teuchos::ParameterList> pList)
221 explicitTableau_ = createRKBT<Scalar>(stepperType,pList);
222 TEUCHOS_TEST_FOR_EXCEPTION(explicitTableau_->isImplicit() ==
true,
224 "Error - Received an implicit Tableau for setExplicitTableau()!\n"
225 <<
" Stepper Type = " << stepperType <<
"\n");
229 template<
class Scalar>
233 TEUCHOS_TEST_FOR_EXCEPTION(explicitTableau->isImplicit() ==
true,
235 "Error - Received an implicit Tableau for setExplicitTableau()!\n"
236 <<
" explicitTableau = " << explicitTableau->description() <<
"\n");
237 explicitTableau_ = explicitTableau;
241 template<
class Scalar>
243 std::string stepperType,
244 Teuchos::RCP<Teuchos::ParameterList> pList)
246 implicitTableau_ = createRKBT<Scalar>(stepperType,pList);
250 TEUCHOS_TEST_FOR_EXCEPTION( implicitTableau_->isDIRK() !=
true,
252 "Error - Did not receive a DIRK Tableau for setImplicitTableau()!\n"
253 <<
" Stepper Type = " << stepperType <<
"\n");
257 template<
class Scalar>
261 TEUCHOS_TEST_FOR_EXCEPTION( implicitTableau_->isDIRK() !=
true,
263 "Error - Did not receive a DIRK Tableau for setImplicitTableau()!\n"
264 <<
" implicitTableau = " << implicitTableau->description() <<
"\n");
265 implicitTableau_ = implicitTableau;
268 template<
class Scalar>
270 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel)
273 using Teuchos::rcp_const_cast;
274 using Teuchos::rcp_dynamic_cast;
275 RCP<Thyra::ModelEvaluator<Scalar> > ncModel =
276 rcp_const_cast<Thyra::ModelEvaluator<Scalar> > (appModel);
277 RCP<WrapperModelEvaluatorPairIMEX_Basic<Scalar> > modelPairIMEX =
279 TEUCHOS_TEST_FOR_EXCEPTION( modelPairIMEX == Teuchos::null, std::logic_error,
280 "Error - StepperIMEX_RK::setModel() was given a ModelEvaluator that\n"
281 " could not be cast to a WrapperModelEvaluatorPairIMEX_Basic!\n"
282 " From: " << appModel <<
"\n"
283 " To : " << modelPairIMEX <<
"\n"
284 " Likely have given the wrong ModelEvaluator to this Stepper.\n");
286 setModelPair(modelPairIMEX);
295 template<
class Scalar>
300 Teuchos::RCP<WrapperModelEvaluatorPairIMEX<Scalar> > wrapperModelPairIMEX =
302 this->wrapperModel_);
303 this->validExplicitODE (modelPairIMEX->getExplicitModel());
304 this->validImplicitODE_DAE(modelPairIMEX->getImplicitModel());
305 wrapperModelPairIMEX = modelPairIMEX;
307 int expXDim = wrapperModelPairIMEX->getExplicitModel()->get_x_space()->dim();
308 int impXDim = wrapperModelPairIMEX->getImplicitModel()->get_x_space()->dim();
309 TEUCHOS_TEST_FOR_EXCEPTION( expXDim != impXDim, std::logic_error,
311 " Explicit and Implicit x vectors are incompatible!\n"
312 " Explicit vector dim = " << expXDim <<
"\n"
313 " Implicit vector dim = " << impXDim <<
"\n");
315 this->wrapperModel_ = wrapperModelPairIMEX;
323 template<
class Scalar>
325 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& explicitModel,
326 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& implicitModel)
328 this->validExplicitODE (explicitModel);
329 this->validImplicitODE_DAE(implicitModel);
330 this->wrapperModel_ = Teuchos::rcp(
332 explicitModel, implicitModel));
336 template<
class Scalar>
340 if (obs == Teuchos::null) {
342 if (stepperObserver_ == Teuchos::null) {
343 stepperIMEX_RKObserver_ =
347 (stepperIMEX_RKObserver_);
350 stepperObserver_ = obs;
351 stepperIMEX_RKObserver_ =
358 template<
class Scalar>
361 TEUCHOS_TEST_FOR_EXCEPTION(
362 (explicitTableau_ == Teuchos::null) || (implicitTableau_ == Teuchos::null),
364 "Error - Need to set the Butcher Tableaus, setTableaus(), before calling "
365 "StepperIMEX_RK::initialize()\n");
367 TEUCHOS_TEST_FOR_EXCEPTION( this->wrapperModel_ == Teuchos::null,
369 "Error - Need to set the model, setModel(), before calling "
370 "StepperIMEX_RK::initialize()\n");
372 this->setTableaus(this->stepperPL_);
373 this->setParameterList(this->stepperPL_);
378 const int numStages = explicitTableau_->numStages();
379 stageF_.resize(numStages);
380 stageG_.resize(numStages);
381 for(
int i=0; i < numStages; i++) {
382 stageF_[i] = Thyra::createMember(this->wrapperModel_->get_f_space());
383 stageG_[i] = Thyra::createMember(this->wrapperModel_->get_f_space());
384 assign(stageF_[i].ptr(), Teuchos::ScalarTraits<Scalar>::zero());
385 assign(stageG_[i].ptr(), Teuchos::ScalarTraits<Scalar>::zero());
388 xTilde_ = Thyra::createMember(this->wrapperModel_->get_x_space());
389 assign(xTilde_.ptr(), Teuchos::ScalarTraits<Scalar>::zero());
393 template <
typename Scalar>
395 const Teuchos::RCP<
const Thyra::VectorBase<Scalar> > & X,
396 Scalar time, Scalar stepSize, Scalar stageNumber,
397 const Teuchos::RCP<Thyra::VectorBase<Scalar> > & G)
const
399 typedef Thyra::ModelEvaluatorBase MEB;
400 Teuchos::RCP<WrapperModelEvaluatorPairIMEX<Scalar> > wrapperModelPairIMEX =
402 this->wrapperModel_);
403 MEB::InArgs<Scalar> inArgs = wrapperModelPairIMEX->
getInArgs();
405 if (inArgs.supports(MEB::IN_ARG_t)) inArgs.set_t(time);
406 if (inArgs.supports(MEB::IN_ARG_step_size)) inArgs.set_step_size(stepSize);
407 if (inArgs.supports(MEB::IN_ARG_stage_number))
408 inArgs.set_stage_number(stageNumber);
415 if (inArgs.supports(MEB::IN_ARG_x_dot)) inArgs.set_x_dot(Teuchos::null);
417 MEB::OutArgs<Scalar> outArgs = wrapperModelPairIMEX->getOutArgs();
420 wrapperModelPairIMEX->getImplicitModel()->evalModel(inArgs,outArgs);
421 Thyra::Vt_S(G.ptr(), -1.0);
425 template <
typename Scalar>
427 const Teuchos::RCP<
const Thyra::VectorBase<Scalar> > & X,
428 Scalar time, Scalar stepSize, Scalar stageNumber,
429 const Teuchos::RCP<Thyra::VectorBase<Scalar> > & F)
const
431 typedef Thyra::ModelEvaluatorBase MEB;
433 Teuchos::RCP<WrapperModelEvaluatorPairIMEX<Scalar> > wrapperModelPairIMEX =
435 this->wrapperModel_);
436 MEB::InArgs<Scalar> inArgs =
439 if (inArgs.supports(MEB::IN_ARG_t)) inArgs.set_t(time);
440 if (inArgs.supports(MEB::IN_ARG_step_size)) inArgs.set_step_size(stepSize);
441 if (inArgs.supports(MEB::IN_ARG_stage_number))
442 inArgs.set_stage_number(stageNumber);
449 if (inArgs.supports(MEB::IN_ARG_x_dot)) inArgs.set_x_dot(Teuchos::null);
451 MEB::OutArgs<Scalar> outArgs =
452 wrapperModelPairIMEX->getExplicitModel()->createOutArgs();
455 wrapperModelPairIMEX->getExplicitModel()->evalModel(inArgs, outArgs);
456 Thyra::Vt_S(F.ptr(), -1.0);
460 template<
class Scalar>
465 using Teuchos::SerialDenseMatrix;
466 using Teuchos::SerialDenseVector;
468 TEMPUS_FUNC_TIME_MONITOR(
"Tempus::StepperIMEX_RK::takeStep()");
472 "Error - StepperIMEX_RK<Scalar>::takeStep(...)\n"
473 "Need at least two SolutionStates for IMEX_RK.\n"
475 "Try setting in \"Solution History\" \"Storage Type\" = \"Undo\"\n"
476 " or \"Storage Type\" = \"Static\" and \"Storage Limit\" = \"2\"\n");
479 RCP<SolutionState<Scalar> > currentState=
solutionHistory->getCurrentState();
480 RCP<SolutionState<Scalar> > workingState=
solutionHistory->getWorkingState();
481 const Scalar dt = workingState->getTimeStep();
482 const Scalar time = currentState->getTime();
484 const int numStages = explicitTableau_->numStages();
485 const SerialDenseMatrix<int,Scalar> & AHat = explicitTableau_->A();
486 const SerialDenseVector<int,Scalar> & bHat = explicitTableau_->b();
487 const SerialDenseVector<int,Scalar> & cHat = explicitTableau_->c();
488 const SerialDenseMatrix<int,Scalar> & A = implicitTableau_->A();
489 const SerialDenseVector<int,Scalar> & b = implicitTableau_->b();
490 const SerialDenseVector<int,Scalar> & c = implicitTableau_->c();
493 Thyra::SolveStatus<Scalar> sStatus;
494 stageX_ = workingState->getX();
495 Thyra::assign(stageX_.ptr(), *(currentState->getX()));
498 for (
int i = 0; i < numStages; ++i) {
499 if (!Teuchos::is_null(stepperIMEX_RKObserver_))
501 Thyra::assign(xTilde_.ptr(), *(currentState->getX()));
502 for (
int j = 0; j < i; ++j) {
503 if (AHat(i,j) != Teuchos::ScalarTraits<Scalar>::zero())
504 Thyra::Vp_StV(xTilde_.ptr(), -dt*AHat(i,j), *(stageF_[j]));
505 if (A (i,j) != Teuchos::ScalarTraits<Scalar>::zero())
506 Thyra::Vp_StV(xTilde_.ptr(), -dt*A (i,j), *(stageG_[j]));
509 Scalar ts = time + c(i)*dt;
510 Scalar tHats = time + cHat(i)*dt;
511 if (A(i,i) == Teuchos::ScalarTraits<Scalar>::zero()) {
513 bool isNeeded =
false;
514 for (
int k=i+1; k<numStages; ++k)
if (A(k,i) != 0.0) isNeeded =
true;
515 if (b(i) != 0.0) isNeeded =
true;
516 if (isNeeded ==
false) {
518 assign(stageG_[i].ptr(), Teuchos::ScalarTraits<Scalar>::zero());
520 Thyra::assign(stageX_.ptr(), *xTilde_);
521 if (!Teuchos::is_null(stepperIMEX_RKObserver_))
522 stepperIMEX_RKObserver_->
524 evalImplicitModelExplicitly(stageX_, ts, dt, i, stageG_[i]);
528 Scalar alpha = 1.0/(dt*A(i,i));
531 Teuchos::RCP<TimeDerivative<Scalar> > timeDer =
533 alpha, xTilde_.getConst()));
536 typedef Thyra::ModelEvaluatorBase MEB;
537 MEB::InArgs<Scalar> inArgs = this->wrapperModel_->getInArgs();
538 MEB::OutArgs<Scalar> outArgs = this->wrapperModel_->getOutArgs();
539 inArgs.set_x(stageX_);
540 if (inArgs.supports(MEB::IN_ARG_x_dot)) inArgs.set_x_dot(stageG_[i]);
541 if (inArgs.supports(MEB::IN_ARG_t )) inArgs.set_t (ts);
542 if (inArgs.supports(MEB::IN_ARG_step_size)) inArgs.set_step_size(dt);
543 if (inArgs.supports(MEB::IN_ARG_alpha )) inArgs.set_alpha (alpha);
544 if (inArgs.supports(MEB::IN_ARG_beta )) inArgs.set_beta (1.0);
545 if (inArgs.supports(MEB::IN_ARG_stage_number))
546 inArgs.set_stage_number(i);
548 this->wrapperModel_->setForSolve(timeDer, inArgs, outArgs);
550 if (!Teuchos::is_null(stepperIMEX_RKObserver_))
553 sStatus = this->solveImplicitODE(stageX_);
555 if (sStatus.solveStatus != Thyra::SOLVE_STATUS_CONVERGED) pass =
false;
557 if (!Teuchos::is_null(stepperIMEX_RKObserver_))
561 Thyra::V_StVpStV(stageG_[i].ptr(), -alpha, *stageX_, alpha, *xTilde_);
564 if (!Teuchos::is_null(stepperIMEX_RKObserver_))
565 stepperIMEX_RKObserver_->observeBeforeExplicit(
solutionHistory, *
this);
566 evalExplicitModel(stageX_, tHats, dt, i, stageF_[i]);
567 if (!Teuchos::is_null(stepperIMEX_RKObserver_))
572 Thyra::assign((workingState->getX()).ptr(), *(currentState->getX()));
573 for (
int i=0; i < numStages; ++i) {
574 if (bHat(i) != Teuchos::ScalarTraits<Scalar>::zero())
575 Thyra::Vp_StV((workingState->getX()).ptr(), -dt*bHat(i), *(stageF_[i]));
576 if (b (i) != Teuchos::ScalarTraits<Scalar>::zero())
577 Thyra::Vp_StV((workingState->getX()).ptr(), -dt*b (i), *(stageG_[i]));
580 if (pass ==
true) workingState->setSolutionStatus(
Status::PASSED);
582 workingState->setOrder(this->getOrder());
594 template<
class Scalar>
595 Teuchos::RCP<Tempus::StepperState<Scalar> >
599 Teuchos::RCP<Tempus::StepperState<Scalar> > stepperState =
605 template<
class Scalar>
608 return(description_);
612 template<
class Scalar>
614 Teuchos::FancyOStream &out,
615 const Teuchos::EVerbosityLevel verbLevel)
const
617 Teuchos::RCP<WrapperModelEvaluatorPairIMEX<Scalar> > wrapperModelPairIMEX =
619 this->wrapperModel_);
620 out << description() <<
"::describe:" << std::endl
621 <<
"wrapperModelPairIMEX = " << wrapperModelPairIMEX->description()
626 template <
class Scalar>
628 const Teuchos::RCP<Teuchos::ParameterList> & pList)
630 if (pList == Teuchos::null) {
632 if (this->stepperPL_ == Teuchos::null) this->stepperPL_ = this->getDefaultParameters();
634 this->stepperPL_ = pList;
641 template<
class Scalar>
642 Teuchos::RCP<const Teuchos::ParameterList>
645 Teuchos::RCP<Teuchos::ParameterList> pl = Teuchos::parameterList();
646 pl->setName(
"Default Stepper - IMEX RK SSP2");
647 pl->set(
"Stepper Type",
"IMEX RK SSP2");
648 pl->set(
"Zero Initial Guess",
false);
649 pl->set(
"Solver Name",
"",
650 "Name of ParameterList containing the solver specifications.");
655 template <
class Scalar>
656 Teuchos::RCP<Teuchos::ParameterList>
659 Teuchos::RCP<Teuchos::ParameterList> pl = Teuchos::parameterList();
660 pl->setName(
"Default Stepper - IMEX RK SSP2");
661 pl->set<std::string>(
"Stepper Type",
"IMEX RK SSP2");
662 pl->set<
bool> (
"Zero Initial Guess",
false);
663 pl->set<std::string>(
"Solver Name",
"Default Solver");
664 Teuchos::RCP<Teuchos::ParameterList> solverPL=this->defaultSolverParameters();
665 pl->set(
"Default Solver", *solverPL);
670 template <
class Scalar>
671 Teuchos::RCP<Teuchos::ParameterList>
674 return(this->stepperPL_);
678 template <
class Scalar>
679 Teuchos::RCP<Teuchos::ParameterList>
682 Teuchos::RCP<Teuchos::ParameterList> temp_plist = this->stepperPL_;
683 this->stepperPL_ = Teuchos::null;
689 #endif // Tempus_StepperIMEX_RK_impl_hpp