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

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, Teuchos::FancyOStream &out)
 
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)
 
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)
 
template<class Scalar >
void Tempus_Test::writeSolution (const std::string filename, Teuchos::RCP< const Tempus::SolutionHistory< Scalar >> solutionHistory)