Thyra Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
createTridiagEpetraLinearOp.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Thyra: Interfaces and Support for Abstract Numerical Algorithms
4 //
5 // Copyright 2004 NTESS and the Thyra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef THYRA_CREATE_TRIDIAG_EPETRA_LINEAR_OP_HPP
11 #define THYRA_CREATE_TRIDIAG_EPETRA_LINEAR_OP_HPP
12 
13 #include "Thyra_OperatorVectorTypes.hpp"
14 #ifdef HAVE_MPI
15 #include <mpi.h>
16 #endif
17 
18 class Epetra_Operator;
19 
40  const int globalDim
41 #ifdef HAVE_MPI
42  ,MPI_Comm mpiComm
43 #endif
44  ,const double diagScale
45  ,const bool verbose
46  ,std::ostream &out
47  );
48 
49 #endif // THYRA_CREATE_TRIDIAG_EPETRA_LINEAR_OP_HPP
Teuchos::RCP< Epetra_Operator > createTridiagEpetraLinearOp(const int globalDim, const double diagScale, const bool verbose, std::ostream &out)
This function generates a tridiagonal linear operator using Epetra.