EpetraExt Package Browser (Single Doxygen Collection) Development
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
EpetraExt::LinearProblem_BTF Class Reference

#include <EpetraExt_BTF_LinearProblem.h>

Inheritance diagram for EpetraExt::LinearProblem_BTF:
Inheritance graph
[legend]

Public Member Functions

 ~LinearProblem_BTF ()
 
 LinearProblem_BTF (double thres=0.0, int verbose=0)
 
NewTypeRef operator() (OriginalTypeRef orig)
 Analysis of transform operation on original object and construction of new object.
 
bool fwd ()
 Forward transfer of data from orig object input in the operator() method call to the new object created in this same call.
 
bool rvs ()
 Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method.
 
bool changedLP ()
 
- Public Member Functions inherited from EpetraExt::SameTypeTransform< Epetra_LinearProblem >
virtual ~SameTypeTransform ()
 
- Public Member Functions inherited from EpetraExt::Transform< T, U >
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.
 

Private Member Functions

void deleteNewObjs_ ()
 

Private Attributes

Epetra_BlockMapNewMap_
 
Epetra_LinearProblemNewProblem_
 
Epetra_VbrMatrixNewMatrix_
 
Epetra_CrsGraphNewGraph_
 
Epetra_MultiVectorNewLHS_
 
Epetra_MultiVectorNewRHS_
 
Epetra_MapOrigRowMap_
 
Epetra_MapOrigColMap_
 
Epetra_LinearProblemOrigProblem_
 
Epetra_CrsGraphOrigGraph_
 
Epetra_CrsMatrixOrigMatrix_
 
Epetra_MultiVectorOrigLHS_
 
Epetra_MultiVectorOrigRHS_
 
std::vector< int > OldGlobalElements_
 
std::vector< std::set< int > > ZeroElements_
 
std::vector< std::vector< Epetra_SerialDenseMatrix * > > Blocks_
 
std::vector< int > BlockDim_
 
std::vector< int > BlockCnt_
 
std::map< int, int > BlockRowMap_
 
std::map< int, int > SubBlockRowMap_
 
std::map< int, int > BlockColMap_
 
std::map< int, int > SubBlockColMap_
 
std::vector< std::vector< int > > NewBlockRows_
 
const double threshold_
 
const int verbose_
 
bool changedLP_
 

Additional Inherited Members

- Public Types inherited from EpetraExt::SameTypeTransform< Epetra_LinearProblem >
typedef Epetra_LinearProblem TransformType
 
typedef Epetra_LinearProblemTransformTypePtr
 
typedef Epetra_LinearProblemTransformTypeRef
 
- 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.
 
- Protected Attributes inherited from EpetraExt::Transform< T, U >
OriginalTypePtr origObj_
 
NewTypePtr newObj_
 

Detailed Description

Definition at line 63 of file EpetraExt_BTF_LinearProblem.h.

Constructor & Destructor Documentation

◆ ~LinearProblem_BTF()

EpetraExt::LinearProblem_BTF::~LinearProblem_BTF ( )

Definition at line 72 of file EpetraExt_BTF_LinearProblem.cpp.

◆ LinearProblem_BTF()

EpetraExt::LinearProblem_BTF::LinearProblem_BTF ( double  thres = 0.0,
int  verbose = 0 
)
inline

Definition at line 69 of file EpetraExt_BTF_LinearProblem.h.

Member Function Documentation

◆ operator()()

LinearProblem_BTF::NewTypeRef EpetraExt::LinearProblem_BTF::operator() ( OriginalTypeRef  orig)
virtual

Analysis of transform operation on original object and construction of new object.

Preconditions:

Invariants:

Postconditions:

Returns
Returns a pointer to the newly created object of type NewTypeRef. The Transform object maintains ownership of this new object and deletes as a part of it's destruction.

Implements EpetraExt::Transform< T, U >.

Definition at line 97 of file EpetraExt_BTF_LinearProblem.cpp.

◆ fwd()

bool EpetraExt::LinearProblem_BTF::fwd ( )
virtual

Forward transfer of data from orig object input in the operator() method call to the new object created in this same call.

Returns true is operation is successful.

Preconditions:

Invariants:

Postconditions:

Implements EpetraExt::Transform< T, U >.

Definition at line 496 of file EpetraExt_BTF_LinearProblem.cpp.

◆ rvs()

bool EpetraExt::LinearProblem_BTF::rvs ( )
virtual

Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method.

Returns true if operation is successful.

Preconditions:

Invariants:

Postconditions:

Implements EpetraExt::Transform< T, U >.

Definition at line 556 of file EpetraExt_BTF_LinearProblem.cpp.

◆ changedLP()

bool EpetraExt::LinearProblem_BTF::changedLP ( )
inline

Definition at line 92 of file EpetraExt_BTF_LinearProblem.h.

◆ deleteNewObjs_()

void EpetraExt::LinearProblem_BTF::deleteNewObjs_ ( )
private

Definition at line 79 of file EpetraExt_BTF_LinearProblem.cpp.

Member Data Documentation

◆ NewMap_

Epetra_BlockMap* EpetraExt::LinearProblem_BTF::NewMap_
private

Definition at line 98 of file EpetraExt_BTF_LinearProblem.h.

◆ NewProblem_

Epetra_LinearProblem* EpetraExt::LinearProblem_BTF::NewProblem_
private

Definition at line 100 of file EpetraExt_BTF_LinearProblem.h.

◆ NewMatrix_

Epetra_VbrMatrix* EpetraExt::LinearProblem_BTF::NewMatrix_
private

Definition at line 102 of file EpetraExt_BTF_LinearProblem.h.

◆ NewGraph_

Epetra_CrsGraph* EpetraExt::LinearProblem_BTF::NewGraph_
private

Definition at line 103 of file EpetraExt_BTF_LinearProblem.h.

◆ NewLHS_

Epetra_MultiVector* EpetraExt::LinearProblem_BTF::NewLHS_
private

Definition at line 105 of file EpetraExt_BTF_LinearProblem.h.

◆ NewRHS_

Epetra_MultiVector* EpetraExt::LinearProblem_BTF::NewRHS_
private

Definition at line 106 of file EpetraExt_BTF_LinearProblem.h.

◆ OrigRowMap_

Epetra_Map* EpetraExt::LinearProblem_BTF::OrigRowMap_
private

Definition at line 108 of file EpetraExt_BTF_LinearProblem.h.

◆ OrigColMap_

Epetra_Map* EpetraExt::LinearProblem_BTF::OrigColMap_
private

Definition at line 109 of file EpetraExt_BTF_LinearProblem.h.

◆ OrigProblem_

Epetra_LinearProblem* EpetraExt::LinearProblem_BTF::OrigProblem_
private

Definition at line 110 of file EpetraExt_BTF_LinearProblem.h.

◆ OrigGraph_

Epetra_CrsGraph* EpetraExt::LinearProblem_BTF::OrigGraph_
private

Definition at line 111 of file EpetraExt_BTF_LinearProblem.h.

◆ OrigMatrix_

Epetra_CrsMatrix* EpetraExt::LinearProblem_BTF::OrigMatrix_
private

Definition at line 112 of file EpetraExt_BTF_LinearProblem.h.

◆ OrigLHS_

Epetra_MultiVector* EpetraExt::LinearProblem_BTF::OrigLHS_
private

Definition at line 113 of file EpetraExt_BTF_LinearProblem.h.

◆ OrigRHS_

Epetra_MultiVector* EpetraExt::LinearProblem_BTF::OrigRHS_
private

Definition at line 114 of file EpetraExt_BTF_LinearProblem.h.

◆ OldGlobalElements_

std::vector<int> EpetraExt::LinearProblem_BTF::OldGlobalElements_
private

Definition at line 116 of file EpetraExt_BTF_LinearProblem.h.

◆ ZeroElements_

std::vector< std::set<int> > EpetraExt::LinearProblem_BTF::ZeroElements_
private

Definition at line 118 of file EpetraExt_BTF_LinearProblem.h.

◆ Blocks_

std::vector< std::vector<Epetra_SerialDenseMatrix*> > EpetraExt::LinearProblem_BTF::Blocks_
private

Definition at line 120 of file EpetraExt_BTF_LinearProblem.h.

◆ BlockDim_

std::vector<int> EpetraExt::LinearProblem_BTF::BlockDim_
private

Definition at line 121 of file EpetraExt_BTF_LinearProblem.h.

◆ BlockCnt_

std::vector<int> EpetraExt::LinearProblem_BTF::BlockCnt_
private

Definition at line 122 of file EpetraExt_BTF_LinearProblem.h.

◆ BlockRowMap_

std::map<int,int> EpetraExt::LinearProblem_BTF::BlockRowMap_
private

Definition at line 123 of file EpetraExt_BTF_LinearProblem.h.

◆ SubBlockRowMap_

std::map<int,int> EpetraExt::LinearProblem_BTF::SubBlockRowMap_
private

Definition at line 124 of file EpetraExt_BTF_LinearProblem.h.

◆ BlockColMap_

std::map<int,int> EpetraExt::LinearProblem_BTF::BlockColMap_
private

Definition at line 125 of file EpetraExt_BTF_LinearProblem.h.

◆ SubBlockColMap_

std::map<int,int> EpetraExt::LinearProblem_BTF::SubBlockColMap_
private

Definition at line 126 of file EpetraExt_BTF_LinearProblem.h.

◆ NewBlockRows_

std::vector< std::vector<int> > EpetraExt::LinearProblem_BTF::NewBlockRows_
private

Definition at line 128 of file EpetraExt_BTF_LinearProblem.h.

◆ threshold_

const double EpetraExt::LinearProblem_BTF::threshold_
private

Definition at line 130 of file EpetraExt_BTF_LinearProblem.h.

◆ verbose_

const int EpetraExt::LinearProblem_BTF::verbose_
private

Definition at line 131 of file EpetraExt_BTF_LinearProblem.h.

◆ changedLP_

bool EpetraExt::LinearProblem_BTF::changedLP_
private

Definition at line 133 of file EpetraExt_BTF_LinearProblem.h.


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