LifeV
|
#include <CompositeOperator.hpp>
Public Member Functions | |
CompositeOperator () | |
virtual | ~CompositeOperator () |
virtual int | SetUseTranspose (bool) |
int | pushBack (const operatorPtr_Type &op, const bool inverted) |
The first operator we push is the first to be applied. More... | |
void | DefineAlreadyInverted () |
set whenever we want to define Apply or ApplyInverse More... | |
Public Member Functions inherited from LinearOperatorAlgebra | |
virtual | ~LinearOperatorAlgebra () |
Destructor. More... | |
int | apply (const VectorEpetra &X, VectorEpetra &Y) const |
Returns the result of a LinearOperator applied to a VectorEpetra X in Y. More... | |
int | applyInverse (const VectorEpetra &X, VectorEpetra &Y) |
Returns the result of a LinearOperator inverse applied to an VectorEpetra X in Y. More... | |
Private Member Functions | |
int | allocateTmpVects (const vector_Type &X, vector_Type &Y) const |
void | deleteTmpVects () const |
Private Attributes | |
std::vector< operatorPtr_Type > | ops |
std::vector< bool > | inverted |
std::vector< Epetra_MultiVector * > | vects |
int | nAllocatedVectorsInMultVect |
bool | isAlreadyInverted |
Mathematical functions | |
virtual int | Apply (const vector_Type &X, vector_Type &Y) const |
Applies all the operator (with their flags) starting from the first that was pushed. More... | |
virtual int | ApplyInverse (const vector_Type &X, vector_Type &Y) const |
Applies all the operator (with their flags) starting from the first that was pushed. More... | |
virtual double | NormInf () const |
Returns the infinity norm of the global matrix. More... | |
Attribute access functions | |
virtual const char * | Label () const |
Returns a character string describing the operator. More... | |
virtual bool | UseTranspose () const |
Returns the current UseTranspose setting. More... | |
virtual bool | HasNormInf () const |
Returns true if the this object can provide an approximate Inf-norm, false otherwise. More... | |
virtual const comm_Type & | Comm () const |
Returns a pointer to the Epetra_Comm communicator associated with this operator. More... | |
virtual const map_Type & | OperatorDomainMap () const |
Returns the raw_map object associated with the domain of this operator. More... | |
virtual const map_Type & | OperatorRangeMap () const |
Returns the raw_map object associated with the range of this operator. More... | |
Additional Inherited Members | |
Public Types inherited from LinearOperatorAlgebra | |
typedef Epetra_Comm | comm_Type |
typedef std::shared_ptr< comm_Type > | commPtr_Type |
typedef Epetra_Map | map_Type |
typedef std::shared_ptr< map_Type > | mapPtr_Type |
typedef std::shared_ptr< const map_Type > | constMapPtr_Type |
typedef Epetra_Operator | operator_Type |
typedef std::shared_ptr< operator_Type > | operatorPtr_Type |
typedef Epetra_MultiVector | vector_Type |
typedef std::shared_ptr< vector_Type > | vectorPtr_Type |
Definition at line 19 of file CompositeOperator.hpp.
Definition at line 13 of file CompositeOperator.cpp.
|
virtual |
Definition at line 20 of file CompositeOperator.cpp.
|
inlinevirtual |
Implements LinearOperatorAlgebra.
Definition at line 27 of file CompositeOperator.hpp.
int pushBack | ( | const operatorPtr_Type & | op, |
const bool | inverted | ||
) |
The first operator we push is the first to be applied.
Definition at line 26 of file CompositeOperator.cpp.
|
inline |
set whenever we want to define Apply or ApplyInverse
Definition at line 33 of file CompositeOperator.hpp.
|
virtual |
Applies all the operator (with their flags) starting from the first that was pushed.
Implements LinearOperatorAlgebra.
Definition at line 41 of file CompositeOperator.cpp.
|
virtual |
Applies all the operator (with their flags) starting from the first that was pushed.
Implements LinearOperatorAlgebra.
Definition at line 72 of file CompositeOperator.cpp.
|
inlinevirtual |
Returns the infinity norm of the global matrix.
Implements LinearOperatorAlgebra.
Definition at line 45 of file CompositeOperator.hpp.
|
inlinevirtual |
Returns a character string describing the operator.
Implements LinearOperatorAlgebra.
Definition at line 52 of file CompositeOperator.hpp.
|
inlinevirtual |
Returns the current UseTranspose setting.
Implements LinearOperatorAlgebra.
Definition at line 55 of file CompositeOperator.hpp.
|
inlinevirtual |
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
Implements LinearOperatorAlgebra.
Definition at line 58 of file CompositeOperator.hpp.
|
inlinevirtual |
Returns a pointer to the Epetra_Comm communicator associated with this operator.
Implements LinearOperatorAlgebra.
Definition at line 61 of file CompositeOperator.hpp.
|
inlinevirtual |
Returns the raw_map object associated with the domain of this operator.
Implements LinearOperatorAlgebra.
Definition at line 64 of file CompositeOperator.hpp.
|
inlinevirtual |
Returns the raw_map object associated with the range of this operator.
Implements LinearOperatorAlgebra.
Definition at line 67 of file CompositeOperator.hpp.
|
private |
Definition at line 100 of file CompositeOperator.cpp.
|
private |
|
private |
Definition at line 75 of file CompositeOperator.hpp.
|
private |
Definition at line 76 of file CompositeOperator.hpp.
|
mutableprivate |
Definition at line 77 of file CompositeOperator.hpp.
|
mutableprivate |
Definition at line 78 of file CompositeOperator.hpp.
|
private |
Definition at line 79 of file CompositeOperator.hpp.