Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
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
19namespace Tpetra {
20template <class Scalar = ::Tpetra::Details::DefaultTypes::scalar_type,
22 class GlobalOrdinal = ::Tpetra::Details::DefaultTypes::global_ordinal_type,
23 class Node = ::Tpetra::Details::DefaultTypes::node_type>
24class CrsMatrix;
25
29template <typename>
30struct is_crs_matrix : public std::false_type {};
31template <typename... P>
32struct is_crs_matrix<CrsMatrix<P...>> : public std::true_type {};
33template <typename... P>
34struct is_crs_matrix<const CrsMatrix<P...>> : public std::true_type {};
35
37template <typename T>
38inline constexpr bool is_crs_matrix_v = is_crs_matrix<T>::value;
39
40} // namespace Tpetra
41#endif // DOXYGEN_SHOULD_SKIP_THIS
42
43#endif // TPETRA_CRSMATRIX_FWD_HPP
int local_ordinal_type
Default value of Scalar template parameter.
Namespace Tpetra contains the class and methods constituting the Tpetra library.