Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra_VectorStdOpsTester_decl.hpp
1 // @HEADER
2 // *****************************************************************************
3 // Thyra: Interfaces and Support for Abstract Numerical Algorithms
4 //
5 // Copyright 2004 NTESS and the Thyra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef THYRA_VECTOR_STD_OPS_TESTER_DECL_HPP
11 #define THYRA_VECTOR_STD_OPS_TESTER_DECL_HPP
12 
13 #include "Thyra_OperatorVectorTypes.hpp"
14 #include "Thyra_TestingTools.hpp"
15 #include "Teuchos_StandardMemberCompositionMacros.hpp"
16 
17 namespace Thyra {
18 
24 template <class Scalar>
26 public:
27 
30 
33 
36 
39  const ScalarMag &warning_tol = 0
40  ,const ScalarMag &error_tol = 0
41  );
42 
54  bool checkStdOps(
55  const VectorSpaceBase<Scalar> &vecSpc
56  ,std::ostream *out = 0
57  ,const bool &dumpAll = false
58  );
59 
60 };
61 
62 } // namespace Thyra
63 
64 #endif // THYRA_VECTOR_STD_OPS_TESTER_DECL_HPP
STANDARD_MEMBER_COMPOSITION_MEMBERS(ScalarMag, warning_tol)
Set the maximum relative error before a warning is generated.
VectorStdOpsTester(const ScalarMag &warning_tol=0, const ScalarMag &error_tol=0)
Abstract interface for objects that represent a space for vectors.
Testing class that tests all of the standard vector operations defined in ??? using an arbitrary vect...
Teuchos::ScalarTraits< Scalar >::magnitudeType ScalarMag
bool checkStdOps(const VectorSpaceBase< Scalar > &vecSpc, std::ostream *out=0, const bool &dumpAll=false)
Run the tests using a vector space.