9#ifndef Tempus_Stepper_ErrorNorm_decl_hpp
10#define Tempus_Stepper_ErrorNorm_decl_hpp
12#include "Tempus_config.hpp"
14#include "Teuchos_RCPDecl.hpp"
15#include "Thyra_VectorBase.hpp"
16#include "Thyra_VectorSpaceFactoryBase.hpp"
78 Teuchos::RCP<Thyra::VectorBase<Scalar>>
u_;
79 Teuchos::RCP<Thyra::VectorBase<Scalar>>
uNext_;
Stepper_ErrorNorm provides error norm calcualtions for variable time stepping.
~Stepper_ErrorNorm()
Destructor.
void setAbsoluteTolerance(const Scalar absTol)
Scalar computeWRMSNorm(const Teuchos::RCP< const Thyra::VectorBase< Scalar > > &x, const Teuchos::RCP< const Thyra::VectorBase< Scalar > > &xNext, const Teuchos::RCP< const Thyra::VectorBase< Scalar > > &err)
Compute the weigthed root mean square norm.
Teuchos::RCP< Thyra::VectorBase< Scalar > > errorWeightVector_
Teuchos::RCP< Thyra::VectorBase< Scalar > > u_
Teuchos::RCP< Thyra::VectorBase< Scalar > > uNext_
Scalar errorNorm(const Teuchos::RCP< const Thyra::VectorBase< Scalar > > &x)
Compute the error Norm.
void setRelativeTolerance(const Scalar relTol)
Stepper_ErrorNorm()
Default Constructor.
Teuchos::RCP< Thyra::VectorBase< Scalar > > scratchVector_