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
47 #include "Teuchos_Array.hpp"
48 #include "Teuchos_RCP.hpp"
49 #include "Teuchos_Tuple.hpp"
51 #include "Teuchos_OrdinalTraits.hpp"
52 #include "Teuchos_ScalarTraits.hpp"
53 #include "Teuchos_TypeNameTraits.hpp"
54 #include "Teuchos_NullIteratorTraits.hpp"
55 #include "Teuchos_SerializationTraits.hpp"
57 #include "Teuchos_CommHelpers.hpp"
59 #include "Teuchos_ParameterList.hpp"
96 enum EPrivateComputeViewConstructor {
97 COMPUTE_VIEW_CONSTRUCTOR
100 enum EPrivateHostViewConstructor {
101 HOST_VIEW_CONSTRUCTOR
120 template <
class Arg1,
class Arg2>
123 typedef Arg1 first_argument_type;
124 typedef Arg2 second_argument_type;
125 typedef Arg1 result_type;
126 Arg1 operator()(
const Arg1& x,
const Arg2&)
const {
146 template <
class Arg1,
class Arg2>
149 typedef Arg1 first_argument_type;
150 typedef Arg2 second_argument_type;
151 typedef Arg2 result_type;
152 Arg2 operator()(
const Arg1&,
const Arg2& y)
const {
165 namespace TpetraExamples {
178 namespace MatrixMatrix {
186 namespace TripleMatrixMultiply {
204 ACTIVE_OWNED_PLUS_SHARED
207 enum class FillState {
216 namespace KokkosClassic {
217 using ::Tpetra::ESweepDirection;
220 #include <Kokkos_Complex.hpp>
226 template <
typename Ordinal>
227 class SerializationTraits<Ordinal, ::Kokkos::complex<float> >
228 :
public DirectSerializationTraits<Ordinal, ::Kokkos::complex<float> > {};
230 template <
typename Ordinal>
231 class SerializationTraits<Ordinal, ::Kokkos::complex<double> >
232 :
public DirectSerializationTraits<Ordinal, ::Kokkos::complex<double> > {};
235 #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.