|
Thyra Package Browser (Single Doxygen Collection) Version of the Day
|
#include "Thyra_OperatorVectorTypes.hpp"

Go to the source code of this file.
Functions | |
| 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. | |
| 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.
Specifically, this function returns a smart pointer to the matrix:
![\[A=
\left[\begin{array}{rrrrrrrrrr}
2 a & -1 \\
-1 & 2 a & -1 \\
& \ddots & \ddots & \ddots \\
& & -1 & 2 a & -1 \\
& & & -1 & 2 a
\end{array}\right]
\]](form_1.png)
where diagScale is 
Definition at line 53 of file createTridiagEpetraLinearOp.cpp.
References Teuchos::rcp().
Referenced by main().