createTridiagEpetraLinearOp.hpp File Reference

#include "Thyra_OperatorVectorTypes.hpp"

Include dependency graph for createTridiagEpetraLinearOp.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Teuchos::RefCountPtr< Epetra_OperatorcreateTridiagEpetraLinearOp (const int globalDim, const double diagScale, const bool verbose, std::ostream &out)
 This function generates a tridiagonal linear operator using Epetra.


Function Documentation

Teuchos::RefCountPtr<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] \]

where diagScale is $a$ and globalDim is the glboal dimension of the matrix.

Definition at line 40 of file createTridiagEpetraLinearOp.cpp.


Generated on Thu Sep 18 12:37:59 2008 for Epetra Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1