Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Tempus_ConvergenceTestUtils.hpp File Reference
#include <vector>
#include "Teuchos_as.hpp"
#include "Tempus_Stepper.hpp"
#include <fstream>

Go to the source code of this file.

Classes

class  Tempus_Test::LinearRegression< Scalar >
 Linear regression class. Copied and modified from Rythmos. More...
 

Namespaces

 Tempus_Test
 

Functions

template<class Scalar >
Scalar Tempus_Test::computeLinearRegression (std::vector< Scalar > &x, std::vector< Scalar > &y)
 
template<class Scalar >
void Tempus_Test::computeLinearRegression (std::vector< Scalar > &x, std::vector< Scalar > &y, Scalar &slope, Scalar &yIntercept)
 
template<class Scalar >
Scalar Tempus_Test::computeLinearRegressionLogLog (std::vector< Scalar > &x, std::vector< Scalar > &y)
 
template<class Scalar >
Teuchos::RCP< LinearRegression
< Scalar > > 
Tempus_Test::linearRegression ()
 
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)
 
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)
 
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)
 
template<class Scalar >
void Tempus_Test::writeSolution (const std::string filename, Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > solutionHistory)