Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Tpetra_CrsMatrix_fwd.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Tpetra: Templated Linear Algebra Services Package
4 //
5 // Copyright 2008 NTESS and the Tpetra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TPETRA_CRSMATRIX_FWD_HPP
11 #define TPETRA_CRSMATRIX_FWD_HPP
12 
13 #include "Tpetra_Details_DefaultTypes.hpp"
14 
17 
18 #ifndef DOXYGEN_SHOULD_SKIP_THIS
19 namespace Tpetra {
20 template<class Scalar = ::Tpetra::Details::DefaultTypes::scalar_type,
22  class GlobalOrdinal = ::Tpetra::Details::DefaultTypes::global_ordinal_type,
23  class Node = ::Tpetra::Details::DefaultTypes::node_type>
24 class CrsMatrix;
25 
29 template <typename>
30 struct is_crs_matrix : public std::false_type {};
31 template <typename... P>
32 struct is_crs_matrix<CrsMatrix<P...>> : public std::true_type {};
33 template <typename... P>
34 struct is_crs_matrix<const CrsMatrix<P...>> : public std::true_type {};
35 
37 template <typename T>
38 inline constexpr bool is_crs_matrix_v = is_crs_matrix<T>::value;
39 
40 } // namespace Tpetra
41 #endif // DOXYGEN_SHOULD_SKIP_THIS
42 
43 
44 
45 #endif // TPETRA_CRSMATRIX_FWD_HPP
int local_ordinal_type
Default value of Scalar template parameter.