MLAPI_Operator_Utils.h File Reference

Suite of utilities for MLAPI::Operator objects. More...

#include "ml_common.h"
#include "ml_include.h"
#include <iostream>
#include "ml_operator.h"
#include "ml_epetra.h"
#include "ml_amesos.h"
#include "ml_epetra_utils.h"
#include "ml_amesos_wrap.h"
#include "ml_anasazi.h"
#include "Teuchos_ParameterList.hpp"
#include "Teuchos_RefCountPtr.hpp"
#include "MLAPI_Error.h"
#include "MLAPI_Space.h"
#include "MLAPI_MultiVector.h"
#include "MLAPI_Operator.h"

Include dependency graph for MLAPI_Operator_Utils.h:

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

Namespaces

namespace  Teuchos
namespace  MLAPI

Functions

Operator GetRAP (const Operator &R, const Operator &A, const Operator &P)
 Performs a triple matrix-matrix product, res = R * A *P.
Operator GetTranspose (const Operator &A, const bool byrow=true)
 Returns a newly created transpose of A.
Operator GetIdentity (const Space &DomainSpace, const Space &RangeSpace)
 Returns the identity matrix.
MultiVector GetDiagonal (const Operator &A)
 Returns a vector containing the diagonal elements of A.
MultiVector GetDiagonal (const Operator &A, const int offset)
 Returns a vector containing the diagonal elements of A.
Operator GetDiagonal (const MultiVector &D)
 Returns a newly created operator, containing D on the diagonal.
Operator GetJacobiIterationOperator (const Operator &Amat, double Damping)
 Returns an operator defined as (I - Damping A).
Operator GetPtent1D (const MultiVector &D, const int offset=0)
 Returns a newly created operator, containing D on the diagonal.
int ML_Operator_Add2 (ML_Operator *A, ML_Operator *B, ML_Operator *C, int matrix_type, double scalarA, double scalarB)
void AnalyzeCheap (const Operator &A)
 Performs a cheap analysis of the properties of the input operator.
void PrintSparsity (const Operator &A, int NumPDEEquations=1)
 Prints on file the sparsity structure of input operator.
Operator GetScaledOperator (const Operator &A, const double alpha)
 Multiply A by a double value, alpha.
Operator Duplicate (const Operator &A)
 Duplicates a given operator.


Detailed Description

Suite of utilities for MLAPI::Operator objects.

Author:
Marzio Sala, D-INFK/ETHZ.
Date:
Last updated on Mar-06.

Generated on Thu Sep 18 12:38:45 2008 for ML by doxygen 1.3.9.1