42 #ifndef TPETRA_CONFIGDEFS_HPP
43 #define TPETRA_CONFIGDEFS_HPP
45 #include "Tpetra_Details_DefaultTypes.hpp"
46 #include "Teuchos_ConfigDefs.hpp"
57 #ifdef HAVE_TPETRA_THROW_EFFICIENCY_WARNINGS
58 #define TPETRA_THROWS_EFFICIENCY_WARNINGS 1
60 #define TPETRA_THROWS_EFFICIENCY_WARNINGS 0
63 #ifdef HAVE_TPETRA_PRINT_EFFICIENCY_WARNINGS
64 #define TPETRA_PRINTS_EFFICIENCY_WARNINGS 1
66 #define TPETRA_PRINTS_EFFICIENCY_WARNINGS 0
69 #ifdef HAVE_TPETRA_THROW_ABUSE_WARNINGS
70 #define TPETRA_THROWS_ABUSE_WARNINGS 1
72 #define TPETRA_THROWS_ABUSE_WARNINGS 0
75 #ifdef HAVE_TPETRA_PRINT_ABUSE_WARNINGS
76 #define TPETRA_PRINTS_ABUSE_WARNINGS 1
78 #define TPETRA_PRINTS_ABUSE_WARNINGS 0
86 #include "Teuchos_Array.hpp"
87 #include "Teuchos_RCP.hpp"
88 #include "Teuchos_Tuple.hpp"
90 #include "Teuchos_OrdinalTraits.hpp"
91 #include "Teuchos_ScalarTraits.hpp"
92 #include "Teuchos_TypeNameTraits.hpp"
93 #include "Teuchos_NullIteratorTraits.hpp"
94 #include "Teuchos_SerializationTraits.hpp"
96 #include "Teuchos_CommHelpers.hpp"
98 #include "Teuchos_ParameterList.hpp"
134 #ifdef TPETRA_ENABLE_DEPRECATED_CODE
136 #define TPETRA_DEFAULT_PROFILE_TYPE DynamicProfile
138 #define TPETRA_DEFAULT_PROFILE_TYPE StaticProfile
147 enum EPrivateComputeViewConstructor {
148 COMPUTE_VIEW_CONSTRUCTOR
151 enum EPrivateHostViewConstructor {
152 HOST_VIEW_CONSTRUCTOR
171 template<
class Arg1,
class Arg2>
172 class project1st :
public std::binary_function<Arg1, Arg2, Arg1> {
174 typedef Arg1 first_argument_type;
175 typedef Arg2 second_argument_type;
176 typedef Arg1 result_type;
177 Arg1 operator () (
const Arg1& x,
const Arg2& )
const {
197 template<
class Arg1,
class Arg2>
198 class project2nd :
public std::binary_function<Arg1, Arg2, Arg2> {
200 typedef Arg1 first_argument_type;
201 typedef Arg2 second_argument_type;
202 typedef Arg2 result_type;
203 Arg2 operator () (
const Arg1& ,
const Arg2& y)
const {
218 namespace TpetraExamples {
237 namespace MatrixMatrix {
245 namespace TripleMatrixMultiply {
259 namespace KokkosClassic {
260 using ::Tpetra::ESweepDirection;
263 #if defined(HAVE_TPETRACORE_KOKKOSCORE) && defined(HAVE_TPETRACORE_TEUCHOSKOKKOSCOMPAT) && defined(TPETRA_ENABLE_KOKKOS_DISTOBJECT)
264 #define TPETRA_USE_KOKKOS_DISTOBJECT 1
266 #define TPETRA_USE_KOKKOS_DISTOBJECT 0
269 #include <Kokkos_Complex.hpp>
275 template<
typename Ordinal>
276 class SerializationTraits<Ordinal, ::Kokkos::complex<float> >
277 :
public DirectSerializationTraits<Ordinal, ::Kokkos::complex<float> >
280 template<
typename Ordinal>
281 class SerializationTraits<Ordinal, ::Kokkos::complex<double> >
282 :
public DirectSerializationTraits<Ordinal, ::Kokkos::complex<double> >
286 #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.