Tempus Version of the Day
Time Integration
Loading...
Searching...
No Matches
Tempus_Test Namespace Reference

Classes

class  PhysicsStateCounter
 PhysicsStateCounter is a simple PhysicsState that counts steps. More...
class  StepperPhysicsStateTest
 This is a Forward Euler time stepper to test the PhysicsState. More...
struct  CoordFiller
class  TBasis
struct  JacobianEvaluatorFunctor
struct  PreconditionerEvaluatorFunctor
struct  DfDp2EvaluatorFunctor
class  CDR_Model_Tpetra
 1D CGFEM model for convection/diffusion/reaction More...
class  DahlquistTestModel
 The classic Dahlquist Test Problem. More...
class  HarmonicOscillatorModel
 Consider the ODE: More...
class  SinCosModel
 Sine-Cosine model problem from Rythmos. This is a canonical Sine-Cosine differential equation. More...
class  SinCosModelAdjoint
 Non-member constructor. More...
class  SteadyQuadraticModel
 Simple quadratic equation with a stable steady-state. More...
class  VanDerPol_IMEX_ExplicitModel
 van der Pol model formulated for IMEX. More...
class  VanDerPol_IMEX_ImplicitModel
 van der Pol model formulated for IMEX-RK. More...
class  VanDerPol_IMEXPart_ImplicitModel
 van der Pol model formulated for the partitioned IMEX-RK. More...
class  VanDerPolModel
 van der Pol model problem for nonlinear electrical circuit. More...
class  LinearRegression
 Linear regression class. Copied and modified from Rythmos. More...
class  IntegratorBasic
 Basic time integrator. More...
class  SolutionHistory
 SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of SolutionStates for later retrival and reuse, such as checkpointing, restart, and undo operations. More...
class  SolutionState
 Solution state for integrators and steppers. More...

Functions

 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_ASA)
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_ASA_TimeIntegral)
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_ASA_SumOverTimes)
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_ASA_SumOverTimes_Variable)
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_ASA_SumOverTimes_OffGrid)
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_ASA_RowSumScaling)
RCP< ParameterList > getTempusParameters (const double dt)
 Tempus parameters: Backward Euler with a constant time step dt on [0, 1].
RCP< const Thyra::VectorBase< double > > createMask (const AlgebraicDAEModel &model, const double m0, const double m1)
 Mask of the algebraic equations.
RCP< Thyra::MultiVectorBase< double > > runAdjoint (const RCP< AlgebraicDAEModel > &model, const std::string &responseType, const std::string &responseTimes, const double dt, const RCP< const Thyra::VectorBase< double > > &mask, bool &status)
 Run the adjoint sensitivity analysis; returns dg/dp (Jacobian form).
void checkConvergence (const std::string &responseType, Teuchos::FancyOStream &out, bool &success)
 Convergence of the adjoint sensitivities to the exact ones (order 1).
 TEUCHOS_UNIT_TEST (BackwardEuler, ASA_AlgebraicEquations_FinalTime)
 TEUCHOS_UNIT_TEST (BackwardEuler, ASA_AlgebraicEquations_SumOverTimes)
 TEUCHOS_UNIT_TEST (BackwardEuler, ASA_AlgebraicEquations_TimeIntegral)
 TEUCHOS_UNIT_TEST (BackwardEuler, ASA_AlgebraicEquations_AlgebraicJump)
 TEUCHOS_UNIT_TEST (BackwardEuler, ASA_AlgebraicEquations_InvalidMask)
 TEUCHOS_UNIT_TEST (BackwardEuler, ASA_AlgebraicEquations_DAEStructure)
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_Combined_FSA)
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_Combined_FSA_Tangent)
void test_sincos_fsa (const bool use_combined_method, const bool use_dfdp_as_tangent, Teuchos::FancyOStream &out, bool &success, const bool use_row_sum_scaling=false)
void setRowSumScaling (ParameterList &pl)
void test_pseudotransient_fsa (const bool use_dfdp_as_tangent, Teuchos::FancyOStream &out, bool &success, const bool use_row_sum_scaling=false)
 TEUCHOS_UNIT_TEST (BackwardEuler, SteadyQuadratic_PseudoTransient_FSA)
 TEUCHOS_UNIT_TEST (BackwardEuler, SteadyQuadratic_PseudoTransient_FSA_Tangent)
 TEUCHOS_UNIT_TEST (BackwardEuler, SteadyQuadratic_PseudoTransient_FSA_RowSumScaling)
void test_pseudotransient_asa (Teuchos::FancyOStream &out, bool &success, const bool use_row_sum_scaling=false)
 TEUCHOS_UNIT_TEST (BackwardEuler, SteadyQuadratic_PseudoTransient_ASA)
 TEUCHOS_UNIT_TEST (BackwardEuler, SteadyQuadratic_PseudoTransient_ASA_RowSumScaling)
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_Staggered_FSA)
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_Staggered_FSA_Tangent)
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_Staggered_FSA_RowSumScaling)
template<typename SC, typename Model, typename Comm>
void CDR_Test (const Comm &comm, const int commSize, Teuchos::FancyOStream &out, bool &success)
 TEUCHOS_UNIT_TEST (BackwardEuler, OptInterface)
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos)
 TEUCHOS_UNIT_TEST (BackwardEuler, VanDerPol)
 TEUCHOS_UNIT_TEST (BDF2, SinCos_ASA)
 TEUCHOS_UNIT_TEST (BDF2, SinCos_ASA_TimeIntegral)
 TEUCHOS_UNIT_TEST (BDF2, SinCos_ASA_SumOverTimes)
 TEUCHOS_UNIT_TEST (BDF2, SinCos_Combined_FSA)
 TEUCHOS_UNIT_TEST (BDF2, SinCos_Combined_FSA_Tangent)
void test_sincos_fsa (const bool use_combined_method, const bool use_dfdp_as_tangent, Teuchos::FancyOStream &out, bool &success)
void test_pseudotransient_fsa (const bool use_dfdp_as_tangent, Teuchos::FancyOStream &out, bool &success)
 TEUCHOS_UNIT_TEST (BDF2, SteadyQuadratic_PseudoTransient_FSA)
 TEUCHOS_UNIT_TEST (BDF2, SteadyQuadratic_PseudoTransient_FSA_Tangent)
 TEUCHOS_UNIT_TEST (BDF2, SteadyQuadratic_PseudoTransient_ASA)
 TEUCHOS_UNIT_TEST (BDF2, SinCos_Staggered_FSA)
 TEUCHOS_UNIT_TEST (BDF2, SinCos_Staggered_FSA_Tangent)
 TEUCHOS_UNIT_TEST (BDF2, SinCos)
 TEUCHOS_UNIT_TEST (BDF2, SinCosAdapt)
 TEUCHOS_UNIT_TEST (BDF2, VanDerPol)
 TEUCHOS_UNIT_TEST (DIRK, SinCos_ASA)
 TEUCHOS_UNIT_TEST (DIRK, SinCos_ASA_TimeIntegral)
 TEUCHOS_UNIT_TEST (DIRK, SinCos_ASA_SumOverTimes)
 TEUCHOS_UNIT_TEST (DIRK, SinCos_Combined_FSA)
 TEUCHOS_UNIT_TEST (DIRK, SinCos_Combined_FSA_Tangent)
void test_sincos_fsa (const std::string &method_name, const bool use_combined_method, const bool use_dfdp_as_tangent, Teuchos::FancyOStream &out, bool &success)
 TEUCHOS_UNIT_TEST (DIRK, SteadyQuadratic_PseudoTransient_FSA)
 TEUCHOS_UNIT_TEST (DIRK, SteadyQuadratic_PseudoTransient_FSA_Tangent)
 TEUCHOS_UNIT_TEST (DIRK, SteadyQuadratic_PseudoTransient_ASA)
 TEUCHOS_UNIT_TEST (DIRK, SinCos_Staggered_FSA)
 TEUCHOS_UNIT_TEST (DIRK, SinCos_Staggered_FSA_Tangent)
 TEUCHOS_UNIT_TEST (DIRK, ParameterList)
 TEUCHOS_UNIT_TEST (DIRK, ConstructingFromDefaults)
 TEUCHOS_UNIT_TEST (DIRK, useFSAL_false)
 TEUCHOS_UNIT_TEST (DIRK, SinCos)
 TEUCHOS_UNIT_TEST (DIRK, VanDerPol)
 TEUCHOS_UNIT_TEST (DIRK, EmbeddedVanDerPol)
 TEUCHOS_UNIT_TEST (ExplicitRK, SinCos_ASA)
 TEUCHOS_UNIT_TEST (ExplicitRK, SinCos_ASA_TimeIntegral)
 TEUCHOS_UNIT_TEST (ExplicitRK, SinCos_ASA_SumOverTimes)
 TEUCHOS_UNIT_TEST (ExplicitRK, SinCos_Combined_FSA)
 TEUCHOS_UNIT_TEST (ExplicitRK, SinCos_Combined_FSA_Tangent)
 TEUCHOS_UNIT_TEST (ExplicitRK, SteadyQuadratic_PseudoTransient_FSA)
 TEUCHOS_UNIT_TEST (ExplicitRK, SteadyQuadratic_PseudoTransient_FSA_Tangent)
 TEUCHOS_UNIT_TEST (ExplicitRK, SteadyQuadratic_PseudoTransient_ASA)
 TEUCHOS_UNIT_TEST (ExplicitRK, SinCos_Staggered_FSA)
 TEUCHOS_UNIT_TEST (ExplicitRK, SinCos_Staggered_FSA_Tangent)
 TEUCHOS_UNIT_TEST (ExplicitRK, ParameterList)
 TEUCHOS_UNIT_TEST (ExplicitRK, ConstructingFromDefaults)
 TEUCHOS_UNIT_TEST (ExplicitRK, useFSAL_false)
 TEUCHOS_UNIT_TEST (ExplicitRK, SinCos)
 TEUCHOS_UNIT_TEST (ExplicitRK, EmbeddedVanDerPol)
 TEUCHOS_UNIT_TEST (ExplicitRK, stage_number)
 TEUCHOS_UNIT_TEST (ForwardEuler, ParameterList)
 TEUCHOS_UNIT_TEST (ForwardEuler, ConstructingFromDefaults)
 TEUCHOS_UNIT_TEST (ForwardEuler, SinCos)
 TEUCHOS_UNIT_TEST (ForwardEuler, VanDerPol)
 TEUCHOS_UNIT_TEST (ForwardEuler, NumberTimeSteps)
 TEUCHOS_UNIT_TEST (ForwardEuler, Variable_TimeSteps)
 TEUCHOS_UNIT_TEST (HHTAlpha, BallParabolic)
 TEUCHOS_UNIT_TEST (HHTAlpha, ConstructingFromDefaults)
 TEUCHOS_UNIT_TEST (HHTAlpha, SinCos_SecondOrder)
 TEUCHOS_UNIT_TEST (HHTAlpha, SinCos_FirstOrder)
 TEUCHOS_UNIT_TEST (HHTAlpha, SinCos_CD)
 TEUCHOS_UNIT_TEST (HHTAlpha, SinCos_SecondOrder_NonzeroAlpha_Converges)
 TEUCHOS_UNIT_TEST (HHTAlpha, ZeroAlphaMatchesExplicitZeroSettings)
 TEUCHOS_UNIT_TEST (IMEX_RK, VanDerPol_Combined_FSA)
 TEUCHOS_UNIT_TEST (IMEX_RK, VanDerPol_Combined_FSA_Tangent)
void test_vdp_fsa (const bool use_combined_method, const bool use_dfdp_as_tangent, Teuchos::FancyOStream &out, bool &success)
 TEUCHOS_UNIT_TEST (IMEX_RK, VanDerPol_Staggered_FSA)
 TEUCHOS_UNIT_TEST (IMEX_RK, VanDerPol_Staggered_FSA_Tangent)
 TEUCHOS_UNIT_TEST (IMEX_RK, ConstructingFromDefaults)
 TEUCHOS_UNIT_TEST (IMEX_RK, VanDerPol)
 TEUCHOS_UNIT_TEST (IMEX_RK_Partitioned, VanDerPol_Combined_FSA)
 TEUCHOS_UNIT_TEST (IMEX_RK_Partitioned, VanDerPol_Combined_FSA_Tangent)
void test_vdp_fsa (const std::string &method_name, const bool use_combined_method, const bool use_dfdp_as_tangent, Teuchos::FancyOStream &out, bool &success)
 TEUCHOS_UNIT_TEST (IMEX_RK_Partitioned, VanDerPol_Staggered_FSA)
 TEUCHOS_UNIT_TEST (IMEX_RK_Partitioned, VanDerPol_Staggered_FSA_Tangent)
 TEUCHOS_UNIT_TEST (IMEX_RK_Partitioned, ConstructingFromDefaults)
 TEUCHOS_UNIT_TEST (IMEX_RK_Partitioned, VanDerPol)
 TEUCHOS_UNIT_TEST (Leapfrog, ConstructingFromDefaults)
 TEUCHOS_UNIT_TEST (Leapfrog, SinCos)
 TEUCHOS_UNIT_TEST (NewmarkExplicitAForm, BallParabolic)
 TEUCHOS_UNIT_TEST (NewmarkExplicitAForm, HarmonicOscillatorDamped)
 TEUCHOS_UNIT_TEST (NewmarkExplicitAForm, SinCos)
 TEUCHOS_UNIT_TEST (NewmarkImplicitAForm, HarmonicOscillatorDamped_FirstOrder)
 TEUCHOS_UNIT_TEST (NewmarkImplicitAForm, HarmonicOscillatorDamped_SecondOrder)
 TEUCHOS_UNIT_TEST (NewmarkImplicitDForm, HarmonicOscillatorDamped_SecondOrder)
 TEUCHOS_UNIT_TEST (OperatorSplit, ConstructingFromDefaults)
 TEUCHOS_UNIT_TEST (OperatorSplit, VanDerPol)
 TEUCHOS_UNIT_TEST (PhysicsState, SinCos)
 TEUCHOS_UNIT_TEST (Subcycling, ParameterList)
 TEUCHOS_UNIT_TEST (Subcycling, ConstructingFromDefaults)
 TEUCHOS_UNIT_TEST (Subcycling, SinCosAdapt)
 TEUCHOS_UNIT_TEST (Subcycling, VanDerPolOperatorSplit)
Teuchos::RCP< Thyra::MultiVectorBase< double > > sinCosExactResponseSensitivity (const SinCosModel< double > &model, const std::string &responseType, const double t0, const double tf, const std::vector< double > &responseTimes)
 Exact sensitivity dJ/dp (Jacobian form, x_space x num_p) of the "Time Integral" or "Sum Over Times" response of the SinCos model, whose response is g(x) = x.
void computeSinCosAdjointResponseErrors (const std::string &xmlFile, const std::function< void(Teuchos::ParameterList &)> &configure, const std::string &responseType, const std::vector< double > &responseTimes, const int nTimeStepSizes, const double dt0, const bool useAdjointModel, std::vector< double > &stepSizes, std::vector< double > &errors, double &stepperOrder, Teuchos::FancyOStream &out, bool &success)
 Solve the SinCos adjoint problem with the "Time Integral" or "Sum Over Times" response for a sequence of time step sizes, and return the time step sizes and the errors of dJ/dp.
template<class Scalar>
Scalar computeLinearRegression (std::vector< Scalar > &x, std::vector< Scalar > &y)
template<class Scalar>
void computeLinearRegression (std::vector< Scalar > &x, std::vector< Scalar > &y, Scalar &slope, Scalar &yIntercept)
template<class Scalar>
Scalar computeLinearRegressionLogLog (std::vector< Scalar > &x, std::vector< Scalar > &y)
template<class Scalar>
Teuchos::RCP< LinearRegression< Scalar > > linearRegression ()
template<class Scalar>
void writeOrderError (const std::string filename, Teuchos::RCP< Tempus::Stepper< Scalar > > stepper, std::vector< Scalar > &StepSize, std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > &solutions, std::vector< Scalar > &xErrorNorm, Scalar &xSlope, std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > &solutionsDot, std::vector< Scalar > &xDotErrorNorm, Scalar &xDotSlope, std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > &solutionsDotDot, std::vector< Scalar > &xDotDotErrorNorm, Scalar &xDotDotSlope, Teuchos::FancyOStream &out)
template<class Scalar>
void writeOrderError (const std::string filename, Teuchos::RCP< Tempus::Stepper< Scalar > > stepper, std::vector< Scalar > &StepSize, std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > &solutions, std::vector< Scalar > &xErrorNorm, Scalar &xSlope, std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > &solutionsDot, std::vector< Scalar > &xDotErrorNorm, Scalar &xDotSlope, Teuchos::FancyOStream &out)
template<class Scalar>
void writeOrderError (const std::string filename, Teuchos::RCP< Tempus::Stepper< Scalar > > stepper, std::vector< Scalar > &StepSize, std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > &solutions, std::vector< Scalar > &xErrorNorm, Scalar &xSlope, Teuchos::FancyOStream &out)
template<class Scalar>
void writeSolution (const std::string filename, Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > solutionHistory)
template<class Scalar>
void writeSolution (const std::string filename, Teuchos::RCP< Tempus::SolutionHistory< Scalar > > solutionHistory)
void enableFPE (bool enableFPE)
 Enable Floating Point Exceptions.
 TEUCHOS_UNIT_TEST (Trapezoidal, ParameterList)
 TEUCHOS_UNIT_TEST (Trapezoidal, ConstructingFromDefaults)
 TEUCHOS_UNIT_TEST (Trapezoidal, SinCos)
 TEUCHOS_UNIT_TEST (Trapezoidal, VanDerPol)
 TEUCHOS_UNIT_TEST (version, default)

Function Documentation

◆ TEUCHOS_UNIT_TEST() [1/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos_ASA  )

Definition at line 47 of file Tempus_BackwardEuler_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [2/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos_ASA_TimeIntegral  )

Definition at line 224 of file Tempus_BackwardEuler_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [3/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos_ASA_SumOverTimes  )

Definition at line 245 of file Tempus_BackwardEuler_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [4/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos_ASA_SumOverTimes_Variable  )

Definition at line 266 of file Tempus_BackwardEuler_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [5/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos_ASA_SumOverTimes_OffGrid  )

Definition at line 296 of file Tempus_BackwardEuler_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [6/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos_ASA_RowSumScaling  )

Definition at line 321 of file Tempus_BackwardEuler_ASA.cpp.

◆ getTempusParameters()

RCP< ParameterList > Tempus_Test::getTempusParameters ( const double dt)

Tempus parameters: Backward Euler with a constant time step dt on [0, 1].

Definition at line 256 of file Tempus_BackwardEuler_ASA_AlgebraicEquations.cpp.

◆ createMask()

RCP< const Thyra::VectorBase< double > > Tempus_Test::createMask ( const AlgebraicDAEModel & model,
const double m0,
const double m1 )

Mask of the algebraic equations.

Definition at line 340 of file Tempus_BackwardEuler_ASA_AlgebraicEquations.cpp.

◆ runAdjoint()

RCP< Thyra::MultiVectorBase< double > > Tempus_Test::runAdjoint ( const RCP< AlgebraicDAEModel > & model,
const std::string & responseType,
const std::string & responseTimes,
const double dt,
const RCP< const Thyra::VectorBase< double > > & mask,
bool & status )

Run the adjoint sensitivity analysis; returns dg/dp (Jacobian form).

Definition at line 351 of file Tempus_BackwardEuler_ASA_AlgebraicEquations.cpp.

◆ checkConvergence()

void Tempus_Test::checkConvergence ( const std::string & responseType,
Teuchos::FancyOStream & out,
bool & success )

Convergence of the adjoint sensitivities to the exact ones (order 1).

Definition at line 382 of file Tempus_BackwardEuler_ASA_AlgebraicEquations.cpp.

◆ TEUCHOS_UNIT_TEST() [7/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
ASA_AlgebraicEquations_FinalTime  )

◆ TEUCHOS_UNIT_TEST() [8/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
ASA_AlgebraicEquations_SumOverTimes  )

◆ TEUCHOS_UNIT_TEST() [9/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
ASA_AlgebraicEquations_TimeIntegral  )

◆ TEUCHOS_UNIT_TEST() [10/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
ASA_AlgebraicEquations_AlgebraicJump  )

◆ TEUCHOS_UNIT_TEST() [11/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
ASA_AlgebraicEquations_InvalidMask  )

◆ TEUCHOS_UNIT_TEST() [12/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
ASA_AlgebraicEquations_DAEStructure  )

◆ TEUCHOS_UNIT_TEST() [13/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos_Combined_FSA  )

Definition at line 14 of file Tempus_BackwardEuler_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [14/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos_Combined_FSA_Tangent  )

Definition at line 19 of file Tempus_BackwardEuler_Combined_FSA.cpp.

◆ test_sincos_fsa() [1/3]

void Tempus_Test::test_sincos_fsa ( const bool use_combined_method,
const bool use_dfdp_as_tangent,
Teuchos::FancyOStream & out,
bool & success,
const bool use_row_sum_scaling = false )

Definition at line 46 of file Tempus_BackwardEuler_FSA.hpp.

◆ setRowSumScaling()

void Tempus_Test::setRowSumScaling ( ParameterList & pl)

Definition at line 37 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ test_pseudotransient_fsa() [1/2]

void Tempus_Test::test_pseudotransient_fsa ( const bool use_dfdp_as_tangent,
Teuchos::FancyOStream & out,
bool & success,
const bool use_row_sum_scaling = false )

Definition at line 48 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [15/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SteadyQuadratic_PseudoTransient_FSA  )

Definition at line 100 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [16/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SteadyQuadratic_PseudoTransient_FSA_Tangent  )

Definition at line 105 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [17/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SteadyQuadratic_PseudoTransient_FSA_RowSumScaling  )

Definition at line 114 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ test_pseudotransient_asa()

void Tempus_Test::test_pseudotransient_asa ( Teuchos::FancyOStream & out,
bool & success,
const bool use_row_sum_scaling = false )

Definition at line 121 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [18/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SteadyQuadratic_PseudoTransient_ASA  )

Definition at line 171 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [19/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SteadyQuadratic_PseudoTransient_ASA_RowSumScaling  )

Definition at line 180 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [20/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos_Staggered_FSA  )

Definition at line 14 of file Tempus_BackwardEuler_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [21/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos_Staggered_FSA_Tangent  )

Definition at line 19 of file Tempus_BackwardEuler_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [22/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos_Staggered_FSA_RowSumScaling  )

Definition at line 28 of file Tempus_BackwardEuler_Staggered_FSA.cpp.

◆ CDR_Test()

template<typename SC, typename Model, typename Comm>
void Tempus_Test::CDR_Test ( const Comm & comm,
const int commSize,
Teuchos::FancyOStream & out,
bool & success )

Definition at line 48 of file Tempus_Test_BackwardEuler_CDR.cpp.

◆ TEUCHOS_UNIT_TEST() [23/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
OptInterface  )

Definition at line 45 of file Tempus_Test_BackwardEuler_OptInterface.cpp.

◆ TEUCHOS_UNIT_TEST() [24/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
SinCos  )

Definition at line 42 of file Tempus_Test_BackwardEuler_SinCos.cpp.

◆ TEUCHOS_UNIT_TEST() [25/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler ,
VanDerPol  )

Definition at line 42 of file Tempus_Test_BackwardEuler_VanDerPol.cpp.

◆ TEUCHOS_UNIT_TEST() [26/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SinCos_ASA  )

Definition at line 46 of file Tempus_BDF2_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [27/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SinCos_ASA_TimeIntegral  )

Definition at line 210 of file Tempus_BDF2_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [28/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SinCos_ASA_SumOverTimes  )

Definition at line 237 of file Tempus_BDF2_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [29/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SinCos_Combined_FSA  )

Definition at line 14 of file Tempus_BDF2_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [30/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SinCos_Combined_FSA_Tangent  )

Definition at line 19 of file Tempus_BDF2_Combined_FSA.cpp.

◆ test_sincos_fsa() [2/3]

void Tempus_Test::test_sincos_fsa ( const bool use_combined_method,
const bool use_dfdp_as_tangent,
Teuchos::FancyOStream & out,
bool & success )

Definition at line 45 of file Tempus_BDF2_FSA.hpp.

◆ test_pseudotransient_fsa() [2/2]

void Tempus_Test::test_pseudotransient_fsa ( const bool use_dfdp_as_tangent,
Teuchos::FancyOStream & out,
bool & success )

Definition at line 38 of file Tempus_BDF2_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [31/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SteadyQuadratic_PseudoTransient_FSA  )

Definition at line 87 of file Tempus_BDF2_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [32/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SteadyQuadratic_PseudoTransient_FSA_Tangent  )

Definition at line 92 of file Tempus_BDF2_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [33/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SteadyQuadratic_PseudoTransient_ASA  )

Definition at line 99 of file Tempus_BDF2_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [34/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SinCos_Staggered_FSA  )

Definition at line 14 of file Tempus_BDF2_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [35/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SinCos_Staggered_FSA_Tangent  )

Definition at line 19 of file Tempus_BDF2_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [36/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SinCos  )

Definition at line 42 of file Tempus_Test_BDF2_SinCos.cpp.

◆ TEUCHOS_UNIT_TEST() [37/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
SinCosAdapt  )

Definition at line 42 of file Tempus_Test_BDF2_SinCosAdapt.cpp.

◆ TEUCHOS_UNIT_TEST() [38/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2 ,
VanDerPol  )

Definition at line 42 of file Tempus_Test_BDF2_VanDerPol.cpp.

◆ TEUCHOS_UNIT_TEST() [39/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
SinCos_ASA  )

Definition at line 44 of file Tempus_DIRK_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [40/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
SinCos_ASA_TimeIntegral  )

Definition at line 271 of file Tempus_DIRK_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [41/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
SinCos_ASA_SumOverTimes  )

Definition at line 306 of file Tempus_DIRK_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [42/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
SinCos_Combined_FSA  )

Definition at line 20 of file Tempus_DIRK_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [43/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
SinCos_Combined_FSA_Tangent  )

Definition at line 25 of file Tempus_DIRK_Combined_FSA.cpp.

◆ test_sincos_fsa() [3/3]

void Tempus_Test::test_sincos_fsa ( const std::string & method_name,
const bool use_combined_method,
const bool use_dfdp_as_tangent,
Teuchos::FancyOStream & out,
bool & success )

Definition at line 43 of file Tempus_DIRK_FSA.hpp.

◆ TEUCHOS_UNIT_TEST() [44/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
SteadyQuadratic_PseudoTransient_FSA  )

Definition at line 87 of file Tempus_DIRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [45/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
SteadyQuadratic_PseudoTransient_FSA_Tangent  )

Definition at line 92 of file Tempus_DIRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [46/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
SteadyQuadratic_PseudoTransient_ASA  )

Definition at line 99 of file Tempus_DIRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [47/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
SinCos_Staggered_FSA  )

Definition at line 20 of file Tempus_DIRK_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [48/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
SinCos_Staggered_FSA_Tangent  )

Definition at line 25 of file Tempus_DIRK_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [49/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
ParameterList  )

Definition at line 43 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [50/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
ConstructingFromDefaults  )

Definition at line 209 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [51/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
useFSAL_false  )

Definition at line 314 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [52/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
SinCos  )

Definition at line 404 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [53/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
VanDerPol  )

Definition at line 582 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [54/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK ,
EmbeddedVanDerPol  )

Definition at line 680 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [55/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
SinCos_ASA  )

Definition at line 44 of file Tempus_ExplicitRK_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [56/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
SinCos_ASA_TimeIntegral  )

Definition at line 266 of file Tempus_ExplicitRK_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [57/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
SinCos_ASA_SumOverTimes  )

Definition at line 297 of file Tempus_ExplicitRK_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [58/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
SinCos_Combined_FSA  )

Definition at line 20 of file Tempus_ExplicitRK_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [59/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
SinCos_Combined_FSA_Tangent  )

Definition at line 25 of file Tempus_ExplicitRK_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [60/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
SteadyQuadratic_PseudoTransient_FSA  )

Definition at line 84 of file Tempus_ExplicitRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [61/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
SteadyQuadratic_PseudoTransient_FSA_Tangent  )

Definition at line 89 of file Tempus_ExplicitRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [62/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
SteadyQuadratic_PseudoTransient_ASA  )

Definition at line 96 of file Tempus_ExplicitRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [63/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
SinCos_Staggered_FSA  )

Definition at line 20 of file Tempus_ExplicitRK_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [64/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
SinCos_Staggered_FSA_Tangent  )

Definition at line 25 of file Tempus_ExplicitRK_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [65/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
ParameterList  )

Definition at line 43 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [66/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
ConstructingFromDefaults  )

Definition at line 160 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [67/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
useFSAL_false  )

Definition at line 265 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [68/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
SinCos  )

Definition at line 355 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [69/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
EmbeddedVanDerPol  )

Definition at line 537 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [70/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK ,
stage_number  )

Definition at line 647 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [71/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler ,
ParameterList  )

Definition at line 43 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [72/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler ,
ConstructingFromDefaults  )

Definition at line 99 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [73/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler ,
SinCos  )

Definition at line 208 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [74/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler ,
VanDerPol  )

Definition at line 333 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [75/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler ,
NumberTimeSteps  )

Definition at line 415 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [76/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler ,
Variable_TimeSteps  )

Definition at line 455 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [77/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha ,
BallParabolic  )

Definition at line 41 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [78/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha ,
ConstructingFromDefaults  )

Definition at line 105 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [79/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha ,
SinCos_SecondOrder  )

Definition at line 193 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [80/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha ,
SinCos_FirstOrder  )

Definition at line 342 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [81/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha ,
SinCos_CD  )

Definition at line 490 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [82/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha ,
SinCos_SecondOrder_NonzeroAlpha_Converges  )

Definition at line 638 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [83/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha ,
ZeroAlphaMatchesExplicitZeroSettings  )

Definition at line 750 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [84/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK ,
VanDerPol_Combined_FSA  )

Definition at line 14 of file Tempus_IMEX_RK_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [85/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK ,
VanDerPol_Combined_FSA_Tangent  )

Definition at line 14 of file Tempus_IMEX_RK_Combined_FSA_Tangent.cpp.

◆ test_vdp_fsa() [1/2]

void Tempus_Test::test_vdp_fsa ( const bool use_combined_method,
const bool use_dfdp_as_tangent,
Teuchos::FancyOStream & out,
bool & success )

Definition at line 45 of file Tempus_IMEX_RK_FSA.hpp.

◆ TEUCHOS_UNIT_TEST() [86/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK ,
VanDerPol_Staggered_FSA  )

Definition at line 14 of file Tempus_IMEX_RK_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [87/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK ,
VanDerPol_Staggered_FSA_Tangent  )

Definition at line 14 of file Tempus_IMEX_RK_Staggered_FSA_Tangent.cpp.

◆ TEUCHOS_UNIT_TEST() [88/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK ,
ConstructingFromDefaults  )

Definition at line 42 of file Tempus_IMEX_RKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [89/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK ,
VanDerPol  )

Definition at line 128 of file Tempus_IMEX_RKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [90/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK_Partitioned ,
VanDerPol_Combined_FSA  )

Definition at line 20 of file Tempus_IMEX_RK_Partitioned_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [91/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK_Partitioned ,
VanDerPol_Combined_FSA_Tangent  )

◆ test_vdp_fsa() [2/2]

void Tempus_Test::test_vdp_fsa ( const std::string & method_name,
const bool use_combined_method,
const bool use_dfdp_as_tangent,
Teuchos::FancyOStream & out,
bool & success )

Definition at line 44 of file Tempus_IMEX_RK_Partitioned_FSA.hpp.

◆ TEUCHOS_UNIT_TEST() [92/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK_Partitioned ,
VanDerPol_Staggered_FSA  )

Definition at line 20 of file Tempus_IMEX_RK_Partitioned_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [93/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK_Partitioned ,
VanDerPol_Staggered_FSA_Tangent  )

◆ TEUCHOS_UNIT_TEST() [94/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK_Partitioned ,
ConstructingFromDefaults  )

Definition at line 42 of file Tempus_IMEX_RK_PartitionedTest.cpp.

◆ TEUCHOS_UNIT_TEST() [95/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK_Partitioned ,
VanDerPol  )

Definition at line 134 of file Tempus_IMEX_RK_PartitionedTest.cpp.

◆ TEUCHOS_UNIT_TEST() [96/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( Leapfrog ,
ConstructingFromDefaults  )

Definition at line 43 of file Tempus_LeapfrogTest.cpp.

◆ TEUCHOS_UNIT_TEST() [97/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( Leapfrog ,
SinCos  )

Definition at line 146 of file Tempus_LeapfrogTest.cpp.

◆ TEUCHOS_UNIT_TEST() [98/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkExplicitAForm ,
BallParabolic  )

◆ TEUCHOS_UNIT_TEST() [99/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkExplicitAForm ,
HarmonicOscillatorDamped  )

◆ TEUCHOS_UNIT_TEST() [100/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkExplicitAForm ,
SinCos  )

Definition at line 43 of file Tempus_Test_NewmarkExplicitAForm_SinCos.cpp.

◆ TEUCHOS_UNIT_TEST() [101/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkImplicitAForm ,
HarmonicOscillatorDamped_FirstOrder  )

◆ TEUCHOS_UNIT_TEST() [102/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkImplicitAForm ,
HarmonicOscillatorDamped_SecondOrder  )

◆ TEUCHOS_UNIT_TEST() [103/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkImplicitDForm ,
HarmonicOscillatorDamped_SecondOrder  )

◆ TEUCHOS_UNIT_TEST() [104/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( OperatorSplit ,
ConstructingFromDefaults  )

Definition at line 44 of file Tempus_OperatorSplitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [105/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( OperatorSplit ,
VanDerPol  )

Definition at line 137 of file Tempus_OperatorSplitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [106/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( PhysicsState ,
SinCos  )

Definition at line 40 of file Tempus_PhysicsStateTest.cpp.

◆ TEUCHOS_UNIT_TEST() [107/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( Subcycling ,
ParameterList  )

Definition at line 51 of file Tempus_SubcyclingTest.cpp.

◆ TEUCHOS_UNIT_TEST() [108/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( Subcycling ,
ConstructingFromDefaults  )

Definition at line 111 of file Tempus_SubcyclingTest.cpp.

◆ TEUCHOS_UNIT_TEST() [109/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( Subcycling ,
SinCosAdapt  )

Definition at line 218 of file Tempus_SubcyclingTest.cpp.

◆ TEUCHOS_UNIT_TEST() [110/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( Subcycling ,
VanDerPolOperatorSplit  )

Definition at line 381 of file Tempus_SubcyclingTest.cpp.

◆ sinCosExactResponseSensitivity()

Teuchos::RCP< Thyra::MultiVectorBase< double > > Tempus_Test::sinCosExactResponseSensitivity ( const SinCosModel< double > & model,
const std::string & responseType,
const double t0,
const double tf,
const std::vector< double > & responseTimes )
inline

Exact sensitivity dJ/dp (Jacobian form, x_space x num_p) of the "Time Integral" or "Sum Over Times" response of the SinCos model, whose response is g(x) = x.

For "Time Integral", J = int_{t0}^{tf} x(t) dt and dJ/dp is computed with composite 5-point Gauss-Legendre quadrature of the exact sensitivities. For "Sum Over Times", J = sum_k x(t_k) and dJ/dp = sum_k dx/dp(t_k).

Definition at line 42 of file Tempus_AdjointResponseTestUtils.hpp.

◆ computeSinCosAdjointResponseErrors()

void Tempus_Test::computeSinCosAdjointResponseErrors ( const std::string & xmlFile,
const std::function< void(Teuchos::ParameterList &)> & configure,
const std::string & responseType,
const std::vector< double > & responseTimes,
const int nTimeStepSizes,
const double dt0,
const bool useAdjointModel,
std::vector< double > & stepSizes,
std::vector< double > & errors,
double & stepperOrder,
Teuchos::FancyOStream & out,
bool & success )
inline

Solve the SinCos adjoint problem with the "Time Integral" or "Sum Over Times" response for a sequence of time step sizes, and return the time step sizes and the errors of dJ/dp.

Parameters
xmlFileInput file with "SinCosModel" and "Tempus" sublists
configureCalled with the "Tempus" sublist to set the stepper, interpolator, ...
responseType"Time Integral" or "Sum Over Times"
responseTimesTimes of the "Sum Over Times" response
dt0Largest time step size
useAdjointModelUse SinCosModelAdjoint as explicit adjoint model

Definition at line 93 of file Tempus_AdjointResponseTestUtils.hpp.

◆ computeLinearRegression() [1/2]

template<class Scalar>
Scalar Tempus_Test::computeLinearRegression ( std::vector< Scalar > & x,
std::vector< Scalar > & y )

Definition at line 140 of file Tempus_ConvergenceTestUtils.hpp.

◆ computeLinearRegression() [2/2]

template<class Scalar>
void Tempus_Test::computeLinearRegression ( std::vector< Scalar > & x,
std::vector< Scalar > & y,
Scalar & slope,
Scalar & yIntercept )

Definition at line 148 of file Tempus_ConvergenceTestUtils.hpp.

◆ computeLinearRegressionLogLog()

template<class Scalar>
Scalar Tempus_Test::computeLinearRegressionLogLog ( std::vector< Scalar > & x,
std::vector< Scalar > & y )

Definition at line 159 of file Tempus_ConvergenceTestUtils.hpp.

◆ linearRegression()

template<class Scalar>
Teuchos::RCP< LinearRegression< Scalar > > Tempus_Test::linearRegression ( )

Definition at line 180 of file Tempus_ConvergenceTestUtils.hpp.

◆ writeOrderError() [1/3]

template<class Scalar>
void Tempus_Test::writeOrderError ( const std::string filename,
Teuchos::RCP< Tempus::Stepper< Scalar > > stepper,
std::vector< Scalar > & StepSize,
std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > & solutions,
std::vector< Scalar > & xErrorNorm,
Scalar & xSlope,
std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > & solutionsDot,
std::vector< Scalar > & xDotErrorNorm,
Scalar & xDotSlope,
std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > & solutionsDotDot,
std::vector< Scalar > & xDotDotErrorNorm,
Scalar & xDotDotSlope,
Teuchos::FancyOStream & out )

Definition at line 188 of file Tempus_ConvergenceTestUtils.hpp.

◆ writeOrderError() [2/3]

template<class Scalar>
void Tempus_Test::writeOrderError ( const std::string filename,
Teuchos::RCP< Tempus::Stepper< Scalar > > stepper,
std::vector< Scalar > & StepSize,
std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > & solutions,
std::vector< Scalar > & xErrorNorm,
Scalar & xSlope,
std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > & solutionsDot,
std::vector< Scalar > & xDotErrorNorm,
Scalar & xDotSlope,
Teuchos::FancyOStream & out )

Definition at line 266 of file Tempus_ConvergenceTestUtils.hpp.

◆ writeOrderError() [3/3]

template<class Scalar>
void Tempus_Test::writeOrderError ( const std::string filename,
Teuchos::RCP< Tempus::Stepper< Scalar > > stepper,
std::vector< Scalar > & StepSize,
std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > & solutions,
std::vector< Scalar > & xErrorNorm,
Scalar & xSlope,
Teuchos::FancyOStream & out )

Definition at line 284 of file Tempus_ConvergenceTestUtils.hpp.

◆ writeSolution() [1/2]

template<class Scalar>
void Tempus_Test::writeSolution ( const std::string filename,
Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > solutionHistory )

Definition at line 302 of file Tempus_ConvergenceTestUtils.hpp.

◆ writeSolution() [2/2]

template<class Scalar>
void Tempus_Test::writeSolution ( const std::string filename,
Teuchos::RCP< Tempus::SolutionHistory< Scalar > > solutionHistory )

Definition at line 331 of file Tempus_ConvergenceTestUtils.hpp.

◆ enableFPE()

void Tempus_Test::enableFPE ( bool enableFPE)

Enable Floating Point Exceptions.

This enables/disables float point exceptions, Divide-by-Zero, Overflow, and Invalid for Linux platforms with GCC and Mac OS with GCC. Otherwise, floating point exceptions are not used.

Definition at line 28 of file Tempus_UnitTestMainUtils.hpp.

◆ TEUCHOS_UNIT_TEST() [111/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( Trapezoidal ,
ParameterList  )

Definition at line 43 of file Tempus_TrapezoidalTest.cpp.

◆ TEUCHOS_UNIT_TEST() [112/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( Trapezoidal ,
ConstructingFromDefaults  )

Definition at line 99 of file Tempus_TrapezoidalTest.cpp.

◆ TEUCHOS_UNIT_TEST() [113/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( Trapezoidal ,
SinCos  )

Definition at line 215 of file Tempus_TrapezoidalTest.cpp.

◆ TEUCHOS_UNIT_TEST() [114/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( Trapezoidal ,
VanDerPol  )

Definition at line 331 of file Tempus_TrapezoidalTest.cpp.

◆ TEUCHOS_UNIT_TEST() [115/115]

Tempus_Test::TEUCHOS_UNIT_TEST ( version ,
default  )

Definition at line 15 of file version.cpp.