40 #ifndef TPETRA_CONFIGDEFS_HPP
41 #define TPETRA_CONFIGDEFS_HPP
43 #include "Tpetra_Details_DefaultTypes.hpp"
44 #include "Teuchos_ConfigDefs.hpp"
55 #ifdef HAVE_TPETRA_PRINT_EFFICIENCY_WARNINGS
56 #define TPETRA_PRINTS_EFFICIENCY_WARNINGS 1
58 #define TPETRA_PRINTS_EFFICIENCY_WARNINGS 0
61 #ifdef HAVE_TPETRA_THROW_ABUSE_WARNINGS
62 #define TPETRA_THROWS_ABUSE_WARNINGS 1
64 #define TPETRA_THROWS_ABUSE_WARNINGS 0
67 #ifdef HAVE_TPETRA_PRINT_ABUSE_WARNINGS
68 #define TPETRA_PRINTS_ABUSE_WARNINGS 1
70 #define TPETRA_PRINTS_ABUSE_WARNINGS 0
78 #include "Teuchos_Array.hpp"
79 #include "Teuchos_RCP.hpp"
80 #include "Teuchos_Tuple.hpp"
82 #include "Teuchos_OrdinalTraits.hpp"
83 #include "Teuchos_ScalarTraits.hpp"
84 #include "Teuchos_TypeNameTraits.hpp"
85 #include "Teuchos_NullIteratorTraits.hpp"
86 #include "Teuchos_SerializationTraits.hpp"
88 #include "Teuchos_CommHelpers.hpp"
90 #include "Teuchos_ParameterList.hpp"
128 enum EPrivateComputeViewConstructor {
129 COMPUTE_VIEW_CONSTRUCTOR
132 enum EPrivateHostViewConstructor {
133 HOST_VIEW_CONSTRUCTOR
152 template<
class Arg1,
class Arg2>
155 typedef Arg1 first_argument_type;
156 typedef Arg2 second_argument_type;
157 typedef Arg1 result_type;
158 Arg1 operator () (
const Arg1& x,
const Arg2& )
const {
178 template<
class Arg1,
class Arg2>
181 typedef Arg1 first_argument_type;
182 typedef Arg2 second_argument_type;
183 typedef Arg2 result_type;
184 Arg2 operator () (
const Arg1& ,
const Arg2& y)
const {
199 namespace TpetraExamples {
212 namespace MatrixMatrix {
220 namespace TripleMatrixMultiply {
234 namespace KokkosClassic {
235 using ::Tpetra::ESweepDirection;
239 #include <Kokkos_Complex.hpp>
245 template<
typename Ordinal>
246 class SerializationTraits<Ordinal, ::Kokkos::complex<float> >
247 :
public DirectSerializationTraits<Ordinal, ::Kokkos::complex<float> >
250 template<
typename Ordinal>
251 class SerializationTraits<Ordinal, ::Kokkos::complex<double> >
252 :
public DirectSerializationTraits<Ordinal, ::Kokkos::complex<double> >
256 #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.