Thyra Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
adapters
epetra
example
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
38
Teuchos::RCP<Epetra_Operator>
39
createTridiagEpetraLinearOp
(
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
createTridiagEpetraLinearOp
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.
Definition:
createTridiagEpetraLinearOp.cpp:21
Teuchos::RCP< Epetra_Operator >
Generated on Wed Dec 25 2024 09:21:43 for Thyra Package Browser (Single Doxygen Collection) by
1.8.5