Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Thyra_EpetraTypes.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_EPETRA_TYPES_HPP
11 #define THYRA_EPETRA_TYPES_HPP
12 
13 #include "Thyra_OperatorVectorTypes.hpp"
14 
15 // Define this to see selected timers
16 //#define EPETRA_THYRA_TEUCHOS_TIMERS
17 
18 class Epetra_Comm;
19 class Epetra_Map;
20 class Epetra_MultiVector;
21 class Epetra_Vector;
22 class Epetra_Operator;
23 
24 
25 namespace Thyra {
26 
27 
35 };
36 
37 
42 inline
43 const std::string toString(const EAdjointEpetraOp adjointEpetraOp)
44 {
45  switch(adjointEpetraOp) {
47  return "EPETRA_OP_ADJOINT_SUPPORTED";
49  return "EPETRA_OP_ADJOINT_UNSUPPORTED";
50  default:
52  }
54 }
55 
56 
64 };
65 
66 
71 inline
72 const std::string toString(const EApplyEpetraOpAs applyEpetraOpAs)
73 {
74  switch(applyEpetraOpAs) {
76  return "EPETRA_OP_APPLY_APPLY";
78  return "EPETRA_OP_APPLY_APPLY_INVERSE";
79  default:
81  }
83 }
84 
85 
87 class EpetraLinearOp;
88 
89 
90 } // namespace Thyra
91 
92 #endif // THYRA_EPETRA_TYPES_HPP
93 
94 #if defined(Thyra_SHOW_DEPRECATED_WARNINGS)
95 #ifdef __GNUC__
96 #warning "The ThyraEpetraAdapters package is deprecated"
97 #endif
98 #endif
99 
Apply using Epetra_Operator::ApplyInverse(...)
EAdjointEpetraOp
Determine if adjoints are supported on Epetra_Opeator or not.
TEUCHOSCORE_LIB_DLL_EXPORT std::string toString(const EVerbosityLevel verbLevel)
#define TEUCHOS_UNREACHABLE_RETURN(dummyReturnVal)
EApplyEpetraOpAs
Determine how the apply an Epetra_Operator as a linear operator.
Apply using Epetra_Operator::Apply(...)
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)