Tpetra parallel linear algebra
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
core
src
Tpetra_Details_extractMpiCommFromTeuchos.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_DETAILS_EXTRACTMPICOMMFROMTEUCHOS_HPP
11
#define TPETRA_DETAILS_EXTRACTMPICOMMFROMTEUCHOS_HPP
12
18
19
#include "TpetraCore_config.h"
20
#ifdef HAVE_TPETRACORE_MPI
21
#include <mpi.h>
// MPI_Comm
22
#endif
// HAVE_TPETRACORE_MPI
23
24
#ifndef DOXYGEN_SHOULD_SKIP_THIS
25
namespace
Teuchos {
26
// forward declaration of Comm
27
template
<
class
OrdinalType>
28
class
Comm;
29
}
// namespace Teuchos
30
#endif
// NOT DOXYGEN_SHOULD_SKIP_THIS
31
32
namespace
Tpetra
{
33
namespace
Details
{
34
35
#ifdef HAVE_TPETRACORE_MPI
43
MPI_Comm
44
extractMpiCommFromTeuchos(
const
Teuchos::Comm<int>& comm);
45
#endif
// HAVE_TPETRACORE_MPI
46
48
bool
teuchosCommIsAnMpiComm
(
const
Teuchos::Comm<int>& comm);
49
50
}
// namespace Details
51
}
// namespace Tpetra
52
53
#endif
// TPETRA_DETAILS_EXTRACTMPICOMMFROMTEUCHOS_HPP
Tpetra::Details
Nonmember function that computes a residual Computes R = B - A * X.
Definition
Tpetra_KokkosRefactor_Details_MultiVectorLocalDeepCopy.hpp:17
Tpetra::Details::teuchosCommIsAnMpiComm
bool teuchosCommIsAnMpiComm(const Teuchos::Comm< int > &)
Is the given Comm a Teuchos::MpiComm<int> instance?
Definition
Tpetra_Details_extractMpiCommFromTeuchos.cpp:56
Tpetra
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Generated by
1.17.0