EpetraExt Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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. More...
 
bool fwd ()
 Forward transfer of data from orig object input in the operator() method call to the new object created in this same call. More...
 
bool rvs ()
 Reverse transfer of data from new object created in the operator() method call to the orig object input to this same method. More...
 
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. 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 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. More...
 
- 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

EpetraExt::LinearProblem_BTF::~LinearProblem_BTF ( )

Definition at line 73 of file EpetraExt_BTF_LinearProblem.cpp.

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

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 98 of file EpetraExt_BTF_LinearProblem.cpp.

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 497 of file EpetraExt_BTF_LinearProblem.cpp.

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 557 of file EpetraExt_BTF_LinearProblem.cpp.

bool EpetraExt::LinearProblem_BTF::changedLP ( )
inline

Definition at line 92 of file EpetraExt_BTF_LinearProblem.h.

void EpetraExt::LinearProblem_BTF::deleteNewObjs_ ( )
private

Definition at line 80 of file EpetraExt_BTF_LinearProblem.cpp.

Member Data Documentation

Epetra_BlockMap* EpetraExt::LinearProblem_BTF::NewMap_
private

Definition at line 98 of file EpetraExt_BTF_LinearProblem.h.

Epetra_LinearProblem* EpetraExt::LinearProblem_BTF::NewProblem_
private

Definition at line 100 of file EpetraExt_BTF_LinearProblem.h.

Epetra_VbrMatrix* EpetraExt::LinearProblem_BTF::NewMatrix_
private

Definition at line 102 of file EpetraExt_BTF_LinearProblem.h.

Epetra_CrsGraph* EpetraExt::LinearProblem_BTF::NewGraph_
private

Definition at line 103 of file EpetraExt_BTF_LinearProblem.h.

Epetra_MultiVector* EpetraExt::LinearProblem_BTF::NewLHS_
private

Definition at line 105 of file EpetraExt_BTF_LinearProblem.h.

Epetra_MultiVector* EpetraExt::LinearProblem_BTF::NewRHS_
private

Definition at line 106 of file EpetraExt_BTF_LinearProblem.h.

Epetra_Map* EpetraExt::LinearProblem_BTF::OrigRowMap_
private

Definition at line 108 of file EpetraExt_BTF_LinearProblem.h.

Epetra_Map* EpetraExt::LinearProblem_BTF::OrigColMap_
private

Definition at line 109 of file EpetraExt_BTF_LinearProblem.h.

Epetra_LinearProblem* EpetraExt::LinearProblem_BTF::OrigProblem_
private

Definition at line 110 of file EpetraExt_BTF_LinearProblem.h.

Epetra_CrsGraph* EpetraExt::LinearProblem_BTF::OrigGraph_
private

Definition at line 111 of file EpetraExt_BTF_LinearProblem.h.

Epetra_CrsMatrix* EpetraExt::LinearProblem_BTF::OrigMatrix_
private

Definition at line 112 of file EpetraExt_BTF_LinearProblem.h.

Epetra_MultiVector* EpetraExt::LinearProblem_BTF::OrigLHS_
private

Definition at line 113 of file EpetraExt_BTF_LinearProblem.h.

Epetra_MultiVector* EpetraExt::LinearProblem_BTF::OrigRHS_
private

Definition at line 114 of file EpetraExt_BTF_LinearProblem.h.

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

Definition at line 116 of file EpetraExt_BTF_LinearProblem.h.

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

Definition at line 118 of file EpetraExt_BTF_LinearProblem.h.

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

Definition at line 120 of file EpetraExt_BTF_LinearProblem.h.

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

Definition at line 121 of file EpetraExt_BTF_LinearProblem.h.

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

Definition at line 122 of file EpetraExt_BTF_LinearProblem.h.

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

Definition at line 123 of file EpetraExt_BTF_LinearProblem.h.

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

Definition at line 124 of file EpetraExt_BTF_LinearProblem.h.

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

Definition at line 125 of file EpetraExt_BTF_LinearProblem.h.

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

Definition at line 126 of file EpetraExt_BTF_LinearProblem.h.

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

Definition at line 128 of file EpetraExt_BTF_LinearProblem.h.

const double EpetraExt::LinearProblem_BTF::threshold_
private

Definition at line 130 of file EpetraExt_BTF_LinearProblem.h.

const int EpetraExt::LinearProblem_BTF::verbose_
private

Definition at line 131 of file EpetraExt_BTF_LinearProblem.h.

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: