EpetraExt Package Browser (Single Doxygen Collection)
Development
|
Given an input Epetra_LinearProblem, apply given dirichlet conditions. More...
#include <EpetraExt_Dirichlet_CrsMatrix.h>
Public Member Functions | |
~CrsMatrix_Dirichlet () | |
Destructor. More... | |
CrsMatrix_Dirichlet (const Epetra_IntVector &Locations, bool Symmetric=false) | |
Constructor. More... | |
bool | fwd () |
Applies Dirichlet BC's. More... | |
bool | rvs () |
NoOp. More... | |
Public Member Functions inherited from EpetraExt::InPlaceTransform< Epetra_CrsMatrix > | |
Transform (typename Transform< Epetra_CrsMatrix, Epetra_CrsMatrix >::OriginalTypeRef orig) | |
virtual | ~InPlaceTransform () |
Public Member Functions inherited from EpetraExt::SameTypeTransform< Epetra_CrsMatrix > | |
virtual | ~SameTypeTransform () |
Public Member Functions inherited from EpetraExt::Transform< T, U > | |
virtual | ~Transform () |
virtual NewTypeRef | operator() (OriginalTypeRef orig)=0 |
Analysis of transform operation on original object and construction of new object. More... | |
virtual bool | analyze (OriginalTypeRef orig) |
Initial analysis phase of transform. More... | |
virtual NewTypeRef | construct () |
Construction of new object as a result of the transform. More... | |
virtual bool | isConstructed () |
Check for whether transformed object has been constructed. More... | |
Private Attributes | |
const Epetra_IntVector | locations_ |
std::set< int > | colSet_ |
const bool | symmetric_ |
Additional Inherited Members | |
Public Types inherited from EpetraExt::SameTypeTransform< Epetra_CrsMatrix > | |
typedef Epetra_CrsMatrix | TransformType |
typedef Epetra_CrsMatrix * | TransformTypePtr |
typedef Epetra_CrsMatrix & | TransformTypeRef |
Public Types inherited from EpetraExt::Transform< T, U > | |
typedef T | OriginalType |
typedef T * | OriginalTypePtr |
typedef Teuchos::RCP< T > | OriginalTypeRCP |
typedef T & | OriginalTypeRef |
typedef U | NewType |
typedef U * | NewTypePtr |
typedef Teuchos::RCP< U > | NewTypeRCP |
typedef U & | NewTypeRef |
Protected Member Functions inherited from EpetraExt::Transform< T, U > | |
Transform () | |
Default constructor, protected to allow only derived classes to use. More... | |
Protected Attributes inherited from EpetraExt::Transform< T, U > | |
OriginalTypePtr | origObj_ |
NewTypePtr | newObj_ |
Given an input Epetra_LinearProblem, apply given dirichlet conditions.
Definition at line 57 of file EpetraExt_Dirichlet_CrsMatrix.h.
EpetraExt::CrsMatrix_Dirichlet::~CrsMatrix_Dirichlet | ( | ) |
Destructor.
|
inline |
Constructor.
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 71 of file EpetraExt_Dirichlet_CrsMatrix.h.
|
virtual |
Applies Dirichlet BC's.
Implements EpetraExt::Transform< T, U >.
|
virtual |
NoOp.
Implements EpetraExt::Transform< T, U >.
|
private |
Definition at line 89 of file EpetraExt_Dirichlet_CrsMatrix.h.
|
private |
Definition at line 90 of file EpetraExt_Dirichlet_CrsMatrix.h.
|
private |
Definition at line 92 of file EpetraExt_Dirichlet_CrsMatrix.h.