GEOSX
TrilinosInterface.hpp
Go to the documentation of this file.
1 /*
2  * ------------------------------------------------------------------------------------------------------------
3  * SPDX-License-Identifier: LGPL-2.1-only
4  *
5  * Copyright (c) 2018-2020 Lawrence Livermore National Security LLC
6  * Copyright (c) 2018-2020 The Board of Trustees of the Leland Stanford Junior University
7  * Copyright (c) 2018-2020 Total, S.A
8  * Copyright (c) 2019- GEOSX Contributors
9  * All rights reserved
10  *
11  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
12  * ------------------------------------------------------------------------------------------------------------
13  */
14 
19 #ifndef GEOSX_LINEARALGEBRA_INTERFACES_TRILINOSINTERFACE_HPP_
20 #define GEOSX_LINEARALGEBRA_INTERFACES_TRILINOSINTERFACE_HPP_
21 
25 #include "linearAlgebra/solvers/PreconditionerBase.hpp"
26 
27 #include <memory>
28 
29 namespace geosx
30 {
31 
37 {
44  static void initialize( int & argc, char * * & argv );
45 
49  static void finalize();
50 
56  static std::unique_ptr< PreconditionerBase< TrilinosInterface > >
58 
65  static std::unique_ptr< PreconditionerBase< TrilinosInterface > >
67  array1d< EpetraVector > const & nearNullKernel );
68 
75 };
76 
77 } /* namespace geosx */
78 
79 #endif /* GEOSX_LINEARALGEBRA_INTERFACES_TRILINOSINTERFACE_HPP_ */
Wrapper class for Epetra&#39;s CrsMatrix.
static void initialize(int &argc, char **&argv)
Initializes the MPI environment for the Trilinos library.
Set of parameters for a linear solver or preconditioner.
This class creates and provides basic support for AztecOO, Amesos and ML libraries.
This class creates and provides basic support for the Epetra_FEVector vector object type used in Tril...
static void finalize()
Finalizes the MPI environment for the Trilinos library.
This class holds aliases based on the Trilinos library.
static std::unique_ptr< PreconditionerBase< TrilinosInterface > > createPreconditioner(LinearSolverParameters params)
Create a Trilinos-based preconditioner object.
This class provides a fixed dimensional resizeable array interface in addition to an interface simila...
Definition: Array.hpp:55