10 #ifndef TPETRA_CONFIGDEFS_HPP
11 #define TPETRA_CONFIGDEFS_HPP
13 #include "Tpetra_Details_DefaultTypes.hpp"
14 #include "Teuchos_ConfigDefs.hpp"
25 #ifdef HAVE_TPETRA_PRINT_EFFICIENCY_WARNINGS
26 #define TPETRA_PRINTS_EFFICIENCY_WARNINGS 1
28 #define TPETRA_PRINTS_EFFICIENCY_WARNINGS 0
31 #ifdef HAVE_TPETRA_THROW_ABUSE_WARNINGS
32 #define TPETRA_THROWS_ABUSE_WARNINGS 1
34 #define TPETRA_THROWS_ABUSE_WARNINGS 0
37 #ifdef HAVE_TPETRA_PRINT_ABUSE_WARNINGS
38 #define TPETRA_PRINTS_ABUSE_WARNINGS 1
40 #define TPETRA_PRINTS_ABUSE_WARNINGS 0
48 #include "Teuchos_Array.hpp"
49 #include "Teuchos_RCP.hpp"
50 #include "Teuchos_Tuple.hpp"
52 #include "Teuchos_OrdinalTraits.hpp"
53 #include "Teuchos_ScalarTraits.hpp"
54 #include "Teuchos_TypeNameTraits.hpp"
55 #include "Teuchos_NullIteratorTraits.hpp"
56 #include "Teuchos_SerializationTraits.hpp"
58 #include "Teuchos_CommHelpers.hpp"
60 #include "Teuchos_ParameterList.hpp"
98 enum EPrivateComputeViewConstructor {
99 COMPUTE_VIEW_CONSTRUCTOR
102 enum EPrivateHostViewConstructor {
103 HOST_VIEW_CONSTRUCTOR
122 template<
class Arg1,
class Arg2>
125 typedef Arg1 first_argument_type;
126 typedef Arg2 second_argument_type;
127 typedef Arg1 result_type;
128 Arg1 operator () (
const Arg1& x,
const Arg2& )
const {
148 template<
class Arg1,
class Arg2>
151 typedef Arg1 first_argument_type;
152 typedef Arg2 second_argument_type;
153 typedef Arg2 result_type;
154 Arg2 operator () (
const Arg1& ,
const Arg2& y)
const {
169 namespace TpetraExamples {
182 namespace MatrixMatrix {
190 namespace TripleMatrixMultiply {
209 ACTIVE_OWNED_PLUS_SHARED
222 namespace KokkosClassic {
223 using ::Tpetra::ESweepDirection;
227 #include <Kokkos_Complex.hpp>
233 template<
typename Ordinal>
234 class SerializationTraits<Ordinal, ::Kokkos::complex<float> >
235 :
public DirectSerializationTraits<Ordinal, ::Kokkos::complex<float> >
238 template<
typename Ordinal>
239 class SerializationTraits<Ordinal, ::Kokkos::complex<double> >
240 :
public DirectSerializationTraits<Ordinal, ::Kokkos::complex<double> >
244 #endif // TPETRA_CONFIGDEFS_HPP
LookupStatus
Return status of Map remote index lookup (getRemoteIndexList()).
Teuchos_Ordinal Array_size_type
Size type for Teuchos Array objects.
size_t global_size_t
Global size_t object.
Declaration of Tpetra::CombineMode enum, and a function for setting a Tpetra::CombineMode parameter i...
ESweepDirection
Sweep direction for Gauss-Seidel or Successive Over-Relaxation (SOR).
Binary function that returns its second argument.
LocalGlobal
Enum for local versus global allocation of Map entries.
Binary function that returns its first argument.