EpetraExt::CrsMatrix_Dirichlet Class Reference

Given an input Epetra_LinearProblem, apply given dirichlet conditions. More...

#include <EpetraExt_Dirichlet_CrsMatrix.h>

Inheritance diagram for EpetraExt::CrsMatrix_Dirichlet:

[legend]
List of all members.

Public Member Functions

 ~CrsMatrix_Dirichlet ()
 Destructor.
 CrsMatrix_Dirichlet (const Epetra_IntVector &Locations, bool Symmetric=false)
 Constructor.
bool fwd ()
 Applies Dirichlet BC's.
bool rvs ()
 NoOp.

Private Attributes

const Epetra_IntVector locations_
std::set< int > colSet_
const bool symmetric_

Detailed Description

Given an input Epetra_LinearProblem, apply given dirichlet conditions.

Definition at line 44 of file EpetraExt_Dirichlet_CrsMatrix.h.


Constructor & Destructor Documentation

EpetraExt::CrsMatrix_Dirichlet::~CrsMatrix_Dirichlet  ) 
 

Destructor.

EpetraExt::CrsMatrix_Dirichlet::CrsMatrix_Dirichlet const Epetra_IntVector Locations,
bool  Symmetric = false
[inline]
 

Constructor.

Parameters:
Locations Integer vector containing 1's for Dirichlet BC rows and 0's otherwise
Symmetric Boolean flag indicating whether to enforce symmetry by zeroing out columns, false by default

Definition at line 58 of file EpetraExt_Dirichlet_CrsMatrix.h.


Member Function Documentation

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

Applies Dirichlet BC's.

Implements EpetraExt::Transform< T, U >.

Definition at line 40 of file EpetraExt_Dirichlet_CrsMatrix.cpp.

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

NoOp.

Implements EpetraExt::Transform< T, U >.

Definition at line 94 of file EpetraExt_Dirichlet_CrsMatrix.cpp.


Member Data Documentation

const Epetra_IntVector EpetraExt::CrsMatrix_Dirichlet::locations_ [private]
 

Definition at line 76 of file EpetraExt_Dirichlet_CrsMatrix.h.

std::set<int> EpetraExt::CrsMatrix_Dirichlet::colSet_ [private]
 

Definition at line 77 of file EpetraExt_Dirichlet_CrsMatrix.h.

const bool EpetraExt::CrsMatrix_Dirichlet::symmetric_ [private]
 

Definition at line 79 of file EpetraExt_Dirichlet_CrsMatrix.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 1.3.9.1