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

Classes

class  Basis
 
class  CDR_Model
 1D CGFEM model for convection/diffusion/reaction More...
 
class  CDR_Model_Tpetra
 1D CGFEM model for convection/diffusion/reaction More...
 
struct  CoordFiller
 
class  DahlquistTestModel
 The classic Dahlquist Test Problem. More...
 
struct  DfDp2EvaluatorFunctor
 
class  HarmonicOscillatorModel
 Consider the ODE: More...
 
struct  JacobianEvaluatorFunctor
 
class  LinearRegression
 Linear regression class. Copied and modified from Rythmos. More...
 
class  ModelEvaluator1DFEM
 
class  PhysicsStateCounter
 PhysicsStateCounter is a simple PhysicsState that counts steps. More...
 
struct  PreconditionerEvaluatorFunctor
 
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  StepperPhysicsStateTest
 This is a Forward Euler time stepper to test the PhysicsState. More...
 
class  TBasis
 
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...
 

Functions

 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_ASA)
 
 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)
 
void test_pseudotransient_fsa (const bool use_dfdp_as_tangent, Teuchos::FancyOStream &out, bool &success)
 
 TEUCHOS_UNIT_TEST (BackwardEuler, SteadyQuadratic_PseudoTransient_FSA)
 
 TEUCHOS_UNIT_TEST (BackwardEuler, SteadyQuadratic_PseudoTransient_FSA_Tangent)
 
 TEUCHOS_UNIT_TEST (BackwardEuler, SteadyQuadratic_PseudoTransient_ASA)
 
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_Staggered_FSA)
 
 TEUCHOS_UNIT_TEST (BackwardEuler, SinCos_Staggered_FSA_Tangent)
 
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_Combined_FSA)
 
 TEUCHOS_UNIT_TEST (BDF2, SinCos_Combined_FSA_Tangent)
 
 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_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_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 (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)
 
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)
 
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/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler  ,
SinCos_ASA   
)

Definition at line 45 of file Tempus_BackwardEuler_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [2/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler  ,
SinCos_Combined_FSA   
)

Definition at line 14 of file Tempus_BackwardEuler_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [3/93]

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/2]

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 46 of file Tempus_BackwardEuler_FSA.hpp.

◆ test_pseudotransient_fsa()

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

Definition at line 38 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [4/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler  ,
SteadyQuadratic_PseudoTransient_FSA   
)

Definition at line 87 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [5/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler  ,
SteadyQuadratic_PseudoTransient_FSA_Tangent   
)

Definition at line 92 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [6/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler  ,
SteadyQuadratic_PseudoTransient_ASA   
)

Definition at line 99 of file Tempus_BackwardEuler_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [7/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler  ,
SinCos_Staggered_FSA   
)

Definition at line 14 of file Tempus_BackwardEuler_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [8/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler  ,
SinCos_Staggered_FSA_Tangent   
)

Definition at line 19 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 56 of file Tempus_Test_BackwardEuler_CDR.cpp.

◆ TEUCHOS_UNIT_TEST() [9/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler  ,
OptInterface   
)

Definition at line 45 of file Tempus_Test_BackwardEuler_OptInterface.cpp.

◆ TEUCHOS_UNIT_TEST() [10/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler  ,
SinCos   
)

Definition at line 42 of file Tempus_Test_BackwardEuler_SinCos.cpp.

◆ TEUCHOS_UNIT_TEST() [11/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BackwardEuler  ,
VanDerPol   
)

Definition at line 42 of file Tempus_Test_BackwardEuler_VanDerPol.cpp.

◆ TEUCHOS_UNIT_TEST() [12/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2  ,
SinCos_ASA   
)

Definition at line 45 of file Tempus_BDF2_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [13/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2  ,
SinCos_Combined_FSA   
)

Definition at line 14 of file Tempus_BDF2_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [14/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2  ,
SinCos_Combined_FSA_Tangent   
)

Definition at line 19 of file Tempus_BDF2_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [15/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2  ,
SteadyQuadratic_PseudoTransient_FSA   
)

Definition at line 87 of file Tempus_BDF2_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [16/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2  ,
SteadyQuadratic_PseudoTransient_FSA_Tangent   
)

Definition at line 92 of file Tempus_BDF2_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [17/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2  ,
SteadyQuadratic_PseudoTransient_ASA   
)

Definition at line 99 of file Tempus_BDF2_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [18/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2  ,
SinCos_Staggered_FSA   
)

Definition at line 14 of file Tempus_BDF2_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [19/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2  ,
SinCos_Staggered_FSA_Tangent   
)

Definition at line 19 of file Tempus_BDF2_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [20/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2  ,
SinCos   
)

Definition at line 42 of file Tempus_Test_BDF2_SinCos.cpp.

◆ TEUCHOS_UNIT_TEST() [21/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2  ,
SinCosAdapt   
)

Definition at line 42 of file Tempus_Test_BDF2_SinCosAdapt.cpp.

◆ TEUCHOS_UNIT_TEST() [22/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( BDF2  ,
VanDerPol   
)

Definition at line 42 of file Tempus_Test_BDF2_VanDerPol.cpp.

◆ TEUCHOS_UNIT_TEST() [23/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
SinCos_ASA   
)

Definition at line 43 of file Tempus_DIRK_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [24/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
SinCos_Combined_FSA   
)

Definition at line 20 of file Tempus_DIRK_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [25/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
SinCos_Combined_FSA_Tangent   
)

Definition at line 25 of file Tempus_DIRK_Combined_FSA.cpp.

◆ test_sincos_fsa() [2/2]

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() [26/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
SteadyQuadratic_PseudoTransient_FSA   
)

Definition at line 87 of file Tempus_DIRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [27/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
SteadyQuadratic_PseudoTransient_FSA_Tangent   
)

Definition at line 92 of file Tempus_DIRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [28/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
SteadyQuadratic_PseudoTransient_ASA   
)

Definition at line 99 of file Tempus_DIRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [29/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
SinCos_Staggered_FSA   
)

Definition at line 20 of file Tempus_DIRK_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [30/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
SinCos_Staggered_FSA_Tangent   
)

Definition at line 25 of file Tempus_DIRK_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [31/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
ParameterList   
)

Definition at line 43 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [32/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
ConstructingFromDefaults   
)

Definition at line 209 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [33/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
useFSAL_false   
)

Definition at line 314 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [34/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
SinCos   
)

Definition at line 404 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [35/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
VanDerPol   
)

Definition at line 582 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [36/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( DIRK  ,
EmbeddedVanDerPol   
)

Definition at line 680 of file Tempus_DIRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [37/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
SinCos_ASA   
)

Definition at line 43 of file Tempus_ExplicitRK_ASA.cpp.

◆ TEUCHOS_UNIT_TEST() [38/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
SinCos_Combined_FSA   
)

Definition at line 20 of file Tempus_ExplicitRK_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [39/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
SinCos_Combined_FSA_Tangent   
)

Definition at line 25 of file Tempus_ExplicitRK_Combined_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [40/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
SteadyQuadratic_PseudoTransient_FSA   
)

Definition at line 84 of file Tempus_ExplicitRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [41/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
SteadyQuadratic_PseudoTransient_FSA_Tangent   
)

Definition at line 89 of file Tempus_ExplicitRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [42/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
SteadyQuadratic_PseudoTransient_ASA   
)

Definition at line 96 of file Tempus_ExplicitRK_PseudoTransient_SA.cpp.

◆ TEUCHOS_UNIT_TEST() [43/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
SinCos_Staggered_FSA   
)

Definition at line 20 of file Tempus_ExplicitRK_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [44/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
SinCos_Staggered_FSA_Tangent   
)

Definition at line 25 of file Tempus_ExplicitRK_Staggered_FSA.cpp.

◆ TEUCHOS_UNIT_TEST() [45/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
ParameterList   
)

Definition at line 43 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [46/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
ConstructingFromDefaults   
)

Definition at line 160 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [47/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
useFSAL_false   
)

Definition at line 265 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [48/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
SinCos   
)

Definition at line 355 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [49/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
EmbeddedVanDerPol   
)

Definition at line 537 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [50/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ExplicitRK  ,
stage_number   
)

Definition at line 647 of file Tempus_ExplicitRKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [51/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler  ,
ParameterList   
)

Definition at line 43 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [52/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler  ,
ConstructingFromDefaults   
)

Definition at line 99 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [53/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler  ,
SinCos   
)

Definition at line 208 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [54/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler  ,
VanDerPol   
)

Definition at line 333 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [55/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler  ,
NumberTimeSteps   
)

Definition at line 415 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [56/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( ForwardEuler  ,
Variable_TimeSteps   
)

Definition at line 455 of file Tempus_ForwardEulerTest.cpp.

◆ TEUCHOS_UNIT_TEST() [57/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha  ,
BallParabolic   
)

Definition at line 41 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [58/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha  ,
ConstructingFromDefaults   
)

Definition at line 105 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [59/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha  ,
SinCos_SecondOrder   
)

Definition at line 193 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [60/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha  ,
SinCos_FirstOrder   
)

Definition at line 342 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [61/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( HHTAlpha  ,
SinCos_CD   
)

Definition at line 490 of file Tempus_HHTAlphaTest.cpp.

◆ TEUCHOS_UNIT_TEST() [62/93]

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() [63/93]

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() [64/93]

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() [65/93]

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() [66/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK  ,
ConstructingFromDefaults   
)

Definition at line 42 of file Tempus_IMEX_RKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [67/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK  ,
VanDerPol   
)

Definition at line 128 of file Tempus_IMEX_RKTest.cpp.

◆ TEUCHOS_UNIT_TEST() [68/93]

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() [69/93]

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() [70/93]

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() [71/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK_Partitioned  ,
VanDerPol_Staggered_FSA_Tangent   
)

◆ TEUCHOS_UNIT_TEST() [72/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK_Partitioned  ,
ConstructingFromDefaults   
)

Definition at line 42 of file Tempus_IMEX_RK_PartitionedTest.cpp.

◆ TEUCHOS_UNIT_TEST() [73/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( IMEX_RK_Partitioned  ,
VanDerPol   
)

Definition at line 134 of file Tempus_IMEX_RK_PartitionedTest.cpp.

◆ TEUCHOS_UNIT_TEST() [74/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( Leapfrog  ,
ConstructingFromDefaults   
)

Definition at line 43 of file Tempus_LeapfrogTest.cpp.

◆ TEUCHOS_UNIT_TEST() [75/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( Leapfrog  ,
SinCos   
)

Definition at line 146 of file Tempus_LeapfrogTest.cpp.

◆ TEUCHOS_UNIT_TEST() [76/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkExplicitAForm  ,
BallParabolic   
)

◆ TEUCHOS_UNIT_TEST() [77/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkExplicitAForm  ,
HarmonicOscillatorDamped   
)

◆ TEUCHOS_UNIT_TEST() [78/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkExplicitAForm  ,
SinCos   
)

Definition at line 43 of file Tempus_Test_NewmarkExplicitAForm_SinCos.cpp.

◆ TEUCHOS_UNIT_TEST() [79/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkImplicitAForm  ,
HarmonicOscillatorDamped_FirstOrder   
)

◆ TEUCHOS_UNIT_TEST() [80/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkImplicitAForm  ,
HarmonicOscillatorDamped_SecondOrder   
)

◆ TEUCHOS_UNIT_TEST() [81/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( NewmarkImplicitDForm  ,
HarmonicOscillatorDamped_SecondOrder   
)

◆ TEUCHOS_UNIT_TEST() [82/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( OperatorSplit  ,
ConstructingFromDefaults   
)

Definition at line 44 of file Tempus_OperatorSplitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [83/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( OperatorSplit  ,
VanDerPol   
)

Definition at line 137 of file Tempus_OperatorSplitTest.cpp.

◆ TEUCHOS_UNIT_TEST() [84/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( PhysicsState  ,
SinCos   
)

Definition at line 40 of file Tempus_PhysicsStateTest.cpp.

◆ TEUCHOS_UNIT_TEST() [85/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( Subcycling  ,
ParameterList   
)

Definition at line 51 of file Tempus_SubcyclingTest.cpp.

◆ TEUCHOS_UNIT_TEST() [86/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( Subcycling  ,
ConstructingFromDefaults   
)

Definition at line 111 of file Tempus_SubcyclingTest.cpp.

◆ TEUCHOS_UNIT_TEST() [87/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( Subcycling  ,
SinCosAdapt   
)

Definition at line 218 of file Tempus_SubcyclingTest.cpp.

◆ TEUCHOS_UNIT_TEST() [88/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( Subcycling  ,
VanDerPolOperatorSplit   
)

Definition at line 381 of file Tempus_SubcyclingTest.cpp.

◆ 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()

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.

◆ 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() [89/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( Trapezoidal  ,
ParameterList   
)

Definition at line 43 of file Tempus_TrapezoidalTest.cpp.

◆ TEUCHOS_UNIT_TEST() [90/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( Trapezoidal  ,
ConstructingFromDefaults   
)

Definition at line 99 of file Tempus_TrapezoidalTest.cpp.

◆ TEUCHOS_UNIT_TEST() [91/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( Trapezoidal  ,
SinCos   
)

Definition at line 215 of file Tempus_TrapezoidalTest.cpp.

◆ TEUCHOS_UNIT_TEST() [92/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( Trapezoidal  ,
VanDerPol   
)

Definition at line 331 of file Tempus_TrapezoidalTest.cpp.

◆ TEUCHOS_UNIT_TEST() [93/93]

Tempus_Test::TEUCHOS_UNIT_TEST ( version  ,
default   
)

Definition at line 15 of file version.cpp.