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_THROW_EFFICIENCY_WARNINGS 56 #define TPETRA_THROWS_EFFICIENCY_WARNINGS 1 58 #define TPETRA_THROWS_EFFICIENCY_WARNINGS 0 61 #ifdef HAVE_TPETRA_PRINT_EFFICIENCY_WARNINGS 62 #define TPETRA_PRINTS_EFFICIENCY_WARNINGS 1 64 #define TPETRA_PRINTS_EFFICIENCY_WARNINGS 0 67 #ifdef HAVE_TPETRA_THROW_ABUSE_WARNINGS 68 #define TPETRA_THROWS_ABUSE_WARNINGS 1 70 #define TPETRA_THROWS_ABUSE_WARNINGS 0 73 #ifdef HAVE_TPETRA_PRINT_ABUSE_WARNINGS 74 #define TPETRA_PRINTS_ABUSE_WARNINGS 1 76 #define TPETRA_PRINTS_ABUSE_WARNINGS 0 84 #include "Teuchos_Array.hpp" 85 #include "Teuchos_RCP.hpp" 86 #include "Teuchos_Tuple.hpp" 88 #include "Teuchos_OrdinalTraits.hpp" 89 #include "Teuchos_ScalarTraits.hpp" 90 #include "Teuchos_TypeNameTraits.hpp" 91 #include "Teuchos_NullIteratorTraits.hpp" 92 #include "Teuchos_SerializationTraits.hpp" 94 #include "Teuchos_CommHelpers.hpp" 96 #include "Teuchos_ParameterList.hpp" 132 #define TPETRA_DEFAULT_PROFILE_TYPE Tpetra::StaticProfile 139 enum EPrivateComputeViewConstructor {
140 COMPUTE_VIEW_CONSTRUCTOR
143 enum EPrivateHostViewConstructor {
144 HOST_VIEW_CONSTRUCTOR
163 template<
class Arg1,
class Arg2>
164 class project1st :
public std::binary_function<Arg1, Arg2, Arg1> {
166 typedef Arg1 first_argument_type;
167 typedef Arg2 second_argument_type;
168 typedef Arg1 result_type;
169 Arg1 operator () (
const Arg1& x,
const Arg2& )
const {
189 template<
class Arg1,
class Arg2>
190 class project2nd :
public std::binary_function<Arg1, Arg2, Arg2> {
192 typedef Arg1 first_argument_type;
193 typedef Arg2 second_argument_type;
194 typedef Arg2 result_type;
195 Arg2 operator () (
const Arg1& ,
const Arg2& y)
const {
223 namespace MatrixMatrix {
231 namespace TripleMatrixMultiply {
246 using ::Tpetra::ESweepDirection;
249 #if defined(HAVE_TPETRACORE_KOKKOSCORE) && defined(HAVE_TPETRACORE_TEUCHOSKOKKOSCOMPAT) && defined(TPETRA_ENABLE_KOKKOS_DISTOBJECT) 250 #define TPETRA_USE_KOKKOS_DISTOBJECT 1 252 #define TPETRA_USE_KOKKOS_DISTOBJECT 0 255 #include <Kokkos_Complex.hpp> 261 template<
typename Ordinal>
262 class SerializationTraits<Ordinal, ::Kokkos::complex<float> >
263 :
public DirectSerializationTraits<Ordinal, ::Kokkos::complex<float> >
266 template<
typename Ordinal>
267 class SerializationTraits<Ordinal, ::Kokkos::complex<double> >
268 :
public DirectSerializationTraits<Ordinal, ::Kokkos::complex<double> >
272 #endif // TPETRA_CONFIGDEFS_HPP
Namespace Tpetra contains the class and methods constituting the Tpetra library.
LookupStatus
Return status of Map remote index lookup (getRemoteIndexList()).
Namespace for Tpetra example classes and methods.
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.