Thyra
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
core
src
support
operator_vector
client_support
Thyra_MultiVectorStdOpsTester_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_MULTI_VECTOR_STD_OPS_TESTER_DECL_HPP
11
#define THYRA_MULTI_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>
25
class
MultiVectorStdOpsTester
{
26
public
:
27
29
typedef
typename
Teuchos::ScalarTraits<Scalar>::magnitudeType
ScalarMag
;
30
32
STANDARD_MEMBER_COMPOSITION_MEMBERS
(
ScalarMag
, warning_tol );
33
35
STANDARD_MEMBER_COMPOSITION_MEMBERS
(
ScalarMag
, error_tol );
36
39
STANDARD_MEMBER_COMPOSITION_MEMBERS
(
int
, num_mv_cols );
40
42
MultiVectorStdOpsTester
(
43
const
ScalarMag
&warning_tol = 0
44
,
const
ScalarMag
&error_tol = 0
45
,
const
int
num_mv_cols = 4
46
);
47
59
bool
checkStdOps
(
60
const
VectorSpaceBase<Scalar>
&vecSpc
61
,std::ostream *out = 0
62
,
const
bool
&dumpAll =
false
63
);
64
65
};
66
67
}
// namespace Thyra
68
69
#endif
// THYRA_MULTI_VECTOR_STD_OPS_TESTER_DECL_HPP
Teuchos_StandardMemberCompositionMacros.hpp
Thyra::MultiVectorStdOpsTester::checkStdOps
bool checkStdOps(const VectorSpaceBase< Scalar > &vecSpc, std::ostream *out=0, const bool &dumpAll=false)
Run the tests using a vector space.
Definition
Thyra_MultiVectorStdOpsTester_def.hpp:34
Thyra::MultiVectorStdOpsTester::STANDARD_MEMBER_COMPOSITION_MEMBERS
STANDARD_MEMBER_COMPOSITION_MEMBERS(ScalarMag, error_tol)
Set the maximum relative error before an error is generated.
Thyra::MultiVectorStdOpsTester::MultiVectorStdOpsTester
MultiVectorStdOpsTester(const ScalarMag &warning_tol=0, const ScalarMag &error_tol=0, const int num_mv_cols=4)
Definition
Thyra_MultiVectorStdOpsTester_def.hpp:23
Thyra::MultiVectorStdOpsTester::STANDARD_MEMBER_COMPOSITION_MEMBERS
STANDARD_MEMBER_COMPOSITION_MEMBERS(int, num_mv_cols)
Set the number of columns to use to create test MultiVectorBase objects.
Thyra::MultiVectorStdOpsTester::ScalarMag
Teuchos::ScalarTraits< Scalar >::magnitudeType ScalarMag
Definition
Thyra_MultiVectorStdOpsTester_decl.hpp:29
Thyra::MultiVectorStdOpsTester::STANDARD_MEMBER_COMPOSITION_MEMBERS
STANDARD_MEMBER_COMPOSITION_MEMBERS(ScalarMag, warning_tol)
Set the maximum relative error before a warning is generated.
Thyra::VectorSpaceBase
Abstract interface for objects that represent a space for vectors.
Definition
Thyra_VectorSpaceBase_decl.hpp:267
Teuchos::ScalarTraits::magnitudeType
T magnitudeType
Generated by
1.17.0