| 1 |
// @HEADER |
| 2 |
// ***************************************************************************** |
| 3 |
// Ifpack2: Templated Object-Oriented Algebraic Preconditioner Package |
| 4 |
// |
| 5 |
// Copyright 2009 NTESS and the Ifpack2 contributors. |
| 6 |
// SPDX-License-Identifier: BSD-3-Clause |
| 7 |
// ***************************************************************************** |
| 8 |
// @HEADER |
| 9 |
#ifndef __IFPACK2_TEST_ADDITIVESCHWARZ_RILUK_TYPEDEFS_AND_INCLUDES_HPP |
| 10 |
#define __IFPACK2_TEST_ADDITIVESCHWARZ_RILUK_TYPEDEFS_AND_INCLUDES_HPP |
| 11 |
|
| 12 |
#include <Tpetra_CrsMatrix.hpp> |
| 13 |
#include <Tpetra_Map.hpp> |
| 14 |
#include <Tpetra_MultiVector.hpp> |
| 15 |
|
| 16 |
namespace Ifpack2 { |
| 17 |
namespace Test { |
| 18 |
|
| 19 |
typedef Tpetra::MultiVector<>::scalar_type scalar_type; |
| 20 |
typedef scalar_type ST; |
| 21 |
typedef Tpetra::MultiVector<>::local_ordinal_type LO; |
| 22 |
typedef Tpetra::MultiVector<>::global_ordinal_type GO; |
| 23 |
typedef Tpetra::MultiVector<>::node_type node_type; |
| 24 |
|
| 25 |
typedef Teuchos::ScalarTraits<scalar_type> STS; |
| 26 |
typedef STS::magnitudeType magnitude_type; |
| 27 |
typedef Teuchos::ScalarTraits<magnitude_type> STM; |
| 28 |
|
| 29 |
typedef Tpetra::Map<LO, GO, node_type> map_type; |
| 30 |
typedef Tpetra::MultiVector<scalar_type, LO, GO, node_type> multivector_type; |
| 31 |
typedef Tpetra::CrsMatrix<scalar_type, LO, GO, node_type> sparse_mat_type; |
| 32 |
|
| 33 |
} // namespace Test |
| 34 |
} // namespace Ifpack2 |
| 35 |
|
| 36 |
#endif // __IFPACK2_TEST_ADDITIVESCHWARZ_RILUK_TYPEDEFS_AND_INCLUDES_HPP |