EpetraExt Development
Loading...
Searching...
No Matches
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:

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.
Public Member Functions inherited from EpetraExt::InPlaceTransform< Epetra_CrsMatrix >
Transform< Epetra_CrsMatrix, Epetra_CrsMatrix >::NewTypeRef operator() (typename Transform< Epetra_CrsMatrix, Epetra_CrsMatrix >::OriginalTypeRef orig)
virtual ~InPlaceTransform ()
Public Member Functions inherited from EpetraExt::SameTypeTransform< Epetra_CrsMatrix >
virtual ~SameTypeTransform ()
virtual ~Transform ()
virtual bool analyze (OriginalTypeRef orig)
 Initial analysis phase of transform.
virtual NewTypeRef construct ()
 Construction of new object as a result of the transform.
virtual bool isConstructed ()
 Check for whether transformed object has been constructed.
virtual NewTypeRef operator() (OriginalTypeRef orig)=0
 Analysis of transform operation on original object and construction of new object.

Additional Inherited Members

Public Types inherited from EpetraExt::SameTypeTransform< Epetra_CrsMatrix >
typedef Epetra_CrsMatrix TransformType
typedef Epetra_CrsMatrixTransformTypePtr
typedef Epetra_CrsMatrixTransformTypeRef
typedef Epetra_CrsMatrix OriginalType
typedef Epetra_CrsMatrixOriginalTypePtr
typedef Teuchos::RCP< Epetra_CrsMatrixOriginalTypeRCP
typedef Epetra_CrsMatrixOriginalTypeRef
typedef Epetra_CrsMatrix NewType
typedef Epetra_CrsMatrixNewTypePtr
typedef Teuchos::RCP< Epetra_CrsMatrixNewTypeRCP
typedef Epetra_CrsMatrixNewTypeRef
 Transform ()
 Default constructor, protected to allow only derived classes to use.
OriginalTypePtr origObj_
NewTypePtr newObj_

Detailed Description

Given an input Epetra_LinearProblem, apply given dirichlet conditions.

Definition at line 63 of file EpetraExt_Dirichlet_CrsMatrix.h.

Constructor & Destructor Documentation

◆ ~CrsMatrix_Dirichlet()

EpetraExt::CrsMatrix_Dirichlet::~CrsMatrix_Dirichlet ( )

Destructor.

◆ CrsMatrix_Dirichlet()

EpetraExt::CrsMatrix_Dirichlet::CrsMatrix_Dirichlet ( const Epetra_IntVector & Locations,
bool Symmetric = false )
inline

Constructor.

Parameters
LocationsInteger vector containing 1's for Dirichlet BC rows and 0's otherwise
SymmetricBoolean flag indicating whether to enforce symmetry by zeroing out columns, false by default

Definition at line 77 of file EpetraExt_Dirichlet_CrsMatrix.h.

Member Function Documentation

◆ fwd()

bool EpetraExt::CrsMatrix_Dirichlet::fwd ( )
virtual

◆ rvs()

bool EpetraExt::CrsMatrix_Dirichlet::rvs ( )
virtual

The documentation for this class was generated from the following file: