LifeV
|
Identity operator x = I*x. More...
#include <LinearOperatorAlgebra.hpp>
Public Types | |
typedef LinearOperatorAlgebra | super |
typedef super::map_Type | map_Type |
typedef super::mapPtr_Type | mapPtr_Type |
typedef super::vector_Type | vector_Type |
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 |
Public Member Functions | |
IdentityOperator () | |
void | setUp (const mapPtr_Type &map) |
int | SetUseTranspose (bool useTranspose) |
If set true, transpose of this operator will be applied. More... | |
int | Apply (const vector_Type &X, vector_Type &Y) const |
Returns the result of a raw_operator applied to a raw_vector X in Y. More... | |
int | ApplyInverse (const vector_Type &X, vector_Type &Y) const |
Returns the result of a raw_operator inverse applied to an raw_vector X in Y. More... | |
double | NormInf () const |
Returns the infinity norm of the global matrix. More... | |
const char * | Label () const |
Returns a character string describing the operator. More... | |
bool | UseTranspose () const |
Returns the current UseTranspose setting. More... | |
bool | HasNormInf () const |
Returns true if the this object can provide an approximate Inf-norm, false otherwise. More... | |
const comm_Type & | Comm () const |
Returns a pointer to the Epetra_Comm communicator associated with this operator. More... | |
const map_Type & | OperatorDomainMap () const |
Returns the raw_map object associated with the domain of this operator. More... | |
const map_Type & | OperatorRangeMap () const |
Returns the raw_map object associated with the range of this operator. 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 Attributes | |
std::string | M_name |
mapPtr_Type | M_map |
bool | M_useTranspose |
Identity operator x = I*x.
Definition at line 176 of file LinearOperatorAlgebra.hpp.
typedef LinearOperatorAlgebra super |
Definition at line 180 of file LinearOperatorAlgebra.hpp.
typedef super::map_Type map_Type |
Definition at line 181 of file LinearOperatorAlgebra.hpp.
typedef super::mapPtr_Type mapPtr_Type |
Definition at line 182 of file LinearOperatorAlgebra.hpp.
typedef super::vector_Type vector_Type |
Definition at line 183 of file LinearOperatorAlgebra.hpp.
|
inline |
Definition at line 185 of file LinearOperatorAlgebra.hpp.
|
inline |
Definition at line 186 of file LinearOperatorAlgebra.hpp.
|
inlinevirtual |
If set true, transpose of this operator will be applied.
This flag allows the transpose of the given operator to be used implicitly. Setting this flag affects only the Apply() and ApplyInverse() methods. If the implementation of this interface does not support transpose use, this method should return a value of -1.
In | UseTranspose -If true, multiply by the transpose of operator, otherwise just use operator. |
Implements LinearOperatorAlgebra.
Definition at line 190 of file LinearOperatorAlgebra.hpp.
|
inlinevirtual |
Returns the result of a raw_operator applied to a raw_vector X in Y.
In | X - A raw_vector of dimension NumVectors to multiply with matrix. |
Out | Y -A raw_vector of dimension NumVectors containing result. |
Implements LinearOperatorAlgebra.
Definition at line 195 of file LinearOperatorAlgebra.hpp.
|
inlinevirtual |
Returns the result of a raw_operator inverse applied to an raw_vector X in Y.
In | X - A raw_vector of dimension NumVectors to solve for. |
Out | Y -A raw_vector of dimension NumVectors containing result. |
Implements LinearOperatorAlgebra.
Definition at line 200 of file LinearOperatorAlgebra.hpp.
|
inlinevirtual |
Returns the infinity norm of the global matrix.
Implements LinearOperatorAlgebra.
Definition at line 205 of file LinearOperatorAlgebra.hpp.
|
inlinevirtual |
Returns a character string describing the operator.
Implements LinearOperatorAlgebra.
Definition at line 209 of file LinearOperatorAlgebra.hpp.
|
inlinevirtual |
Returns the current UseTranspose setting.
Implements LinearOperatorAlgebra.
Definition at line 213 of file LinearOperatorAlgebra.hpp.
|
inlinevirtual |
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
Implements LinearOperatorAlgebra.
Definition at line 217 of file LinearOperatorAlgebra.hpp.
|
inlinevirtual |
Returns a pointer to the Epetra_Comm communicator associated with this operator.
Implements LinearOperatorAlgebra.
Definition at line 221 of file LinearOperatorAlgebra.hpp.
|
inlinevirtual |
Returns the raw_map object associated with the domain of this operator.
Implements LinearOperatorAlgebra.
Definition at line 225 of file LinearOperatorAlgebra.hpp.
|
inlinevirtual |
Returns the raw_map object associated with the range of this operator.
Implements LinearOperatorAlgebra.
Definition at line 229 of file LinearOperatorAlgebra.hpp.
|
private |
Definition at line 234 of file LinearOperatorAlgebra.hpp.
|
private |
Definition at line 235 of file LinearOperatorAlgebra.hpp.
|
private |
Definition at line 236 of file LinearOperatorAlgebra.hpp.