EpetraExt Package Browser (Single Doxygen Collection) Development
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
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:
Inheritance graph
[legend]

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< T >
virtual ~SameTypeTransform ()
 
- Public Member Functions inherited from EpetraExt::Transform< T, T >
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.
 

Private Attributes

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

Additional Inherited Members

- Public Types inherited from EpetraExt::SameTypeTransform< T >
typedef T TransformType
 
typedef T * TransformTypePtr
 
typedef T & TransformTypeRef
 
- Public Types inherited from EpetraExt::Transform< T, T >
typedef T OriginalType
 
typedef T * OriginalTypePtr
 
typedef Teuchos::RCP< T > OriginalTypeRCP
 
typedef T & OriginalTypeRef
 
typedef T NewType
 
typedef T * NewTypePtr
 
typedef Teuchos::RCP< T > NewTypeRCP
 
typedef T & NewTypeRef
 
- Protected Member Functions inherited from EpetraExt::Transform< T, T >
 Transform ()
 Default constructor, protected to allow only derived classes to use.
 
- Protected Attributes inherited from EpetraExt::Transform< T, T >
OriginalTypePtr origObj_
 
NewTypePtr newObj_
 

Detailed Description

Given an input Epetra_LinearProblem, apply given dirichlet conditions.

Definition at line 57 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 71 of file EpetraExt_Dirichlet_CrsMatrix.h.

Member Function Documentation

◆ fwd()

bool EpetraExt::CrsMatrix_Dirichlet::fwd ( )
virtual

Applies Dirichlet BC's.

Implements EpetraExt::Transform< T, T >.

◆ rvs()

bool EpetraExt::CrsMatrix_Dirichlet::rvs ( )
virtual

NoOp.

Implements EpetraExt::Transform< T, T >.

Member Data Documentation

◆ locations_

const Epetra_IntVector EpetraExt::CrsMatrix_Dirichlet::locations_
private

Definition at line 89 of file EpetraExt_Dirichlet_CrsMatrix.h.

◆ colSet_

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

Definition at line 90 of file EpetraExt_Dirichlet_CrsMatrix.h.

◆ symmetric_

const bool EpetraExt::CrsMatrix_Dirichlet::symmetric_
private

Definition at line 92 of file EpetraExt_Dirichlet_CrsMatrix.h.


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