EpetraExt::LinearProblem_Scale Class Reference

Given an input Epetra_LinearProblem, recursive, left and right scaling are performed. More...

#include <EpetraExt_Scale_LinearProblem.h>

Inheritance diagram for EpetraExt::LinearProblem_Scale:

List of all members.

Public Types

enum  ScaleType { Sum, Max, Diag, None }

Public Member Functions

 ~LinearProblem_Scale ()
 LinearProblem_Scale (ScaleType left=Sum, ScaleType right=Sum, double exp_fac=1.0, int iterations=1)
bool fwd ()
 Applies forward scaling.
bool rvs ()
 Reverses scaling.

Private Attributes

const ScaleType lScale_
const ScaleType rScale_
const double expFac_
const int iters_
bool scaled_
vector< Epetra_Vector * > lScaleVecs_
vector< Epetra_Vector * > rScaleVecs_

Detailed Description

Given an input Epetra_LinearProblem, recursive, left and right scaling are performed.

Definition at line 44 of file EpetraExt_Scale_LinearProblem.h.

Member Enumeration Documentation

enum EpetraExt::LinearProblem_Scale::ScaleType

Enumeration values:

Definition at line 48 of file EpetraExt_Scale_LinearProblem.h.

Constructor & Destructor Documentation

EpetraExt::LinearProblem_Scale::~LinearProblem_Scale  ) 


Definition at line 38 of file EpetraExt_Scale_LinearProblem.cpp.

EpetraExt::LinearProblem_Scale::LinearProblem_Scale ScaleType  left = Sum,
ScaleType  right = Sum,
double  exp_fac = 1.0,
int  iterations = 1


Definition at line 58 of file EpetraExt_Scale_LinearProblem.h.

Member Function Documentation

bool EpetraExt::LinearProblem_Scale::fwd  )  [virtual]

Applies forward scaling.

Implements EpetraExt::Transform< T, U >.

Definition at line 50 of file EpetraExt_Scale_LinearProblem.cpp.

bool EpetraExt::LinearProblem_Scale::rvs  )  [virtual]

Reverses scaling.

Implements EpetraExt::Transform< T, U >.

Definition at line 124 of file EpetraExt_Scale_LinearProblem.cpp.

Member Data Documentation

const ScaleType EpetraExt::LinearProblem_Scale::lScale_ [private]

Definition at line 81 of file EpetraExt_Scale_LinearProblem.h.

const ScaleType EpetraExt::LinearProblem_Scale::rScale_ [private]

Definition at line 82 of file EpetraExt_Scale_LinearProblem.h.

const double EpetraExt::LinearProblem_Scale::expFac_ [private]

Definition at line 84 of file EpetraExt_Scale_LinearProblem.h.

const int EpetraExt::LinearProblem_Scale::iters_ [private]

Definition at line 86 of file EpetraExt_Scale_LinearProblem.h.

bool EpetraExt::LinearProblem_Scale::scaled_ [private]

Definition at line 88 of file EpetraExt_Scale_LinearProblem.h.

vector<Epetra_Vector*> EpetraExt::LinearProblem_Scale::lScaleVecs_ [private]

Definition at line 90 of file EpetraExt_Scale_LinearProblem.h.

vector<Epetra_Vector*> EpetraExt::LinearProblem_Scale::rScaleVecs_ [private]

Definition at line 91 of file EpetraExt_Scale_LinearProblem.h.

The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:32:06 2008 for EpetraExt Package Browser (Single Doxygen Collection) by doxygen