Tpetra parallel linear algebra
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
core
src
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,
21
class
LocalOrdinal =
::Tpetra::Details::DefaultTypes::local_ordinal_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
#endif
// TPETRA_CRSMATRIX_FWD_HPP
Tpetra::CrsMatrix
Sparse matrix that presents a row-oriented interface that lets users read or modify entries.
Definition
Tpetra_CrsMatrix_decl.hpp:399
Tpetra::Details::DefaultTypes::local_ordinal_type
int local_ordinal_type
Default value of Scalar template parameter.
Definition
Tpetra_Details_DefaultTypes.hpp:40
Tpetra
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Generated by
1.17.0