Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
An Epetra operator representing the block stochastic Galerkin operator. More...
#include <Stokhos_BlockDiagonalOperator.hpp>
Public Member Functions | |
BlockDiagonalOperator (const Teuchos::RCP< const EpetraExt::MultiComm > &mp_comm, int num_mp_blocks, const Teuchos::RCP< const Epetra_Map > &domain_base_map, const Teuchos::RCP< const Epetra_Map > &range_base_map, const Teuchos::RCP< const Epetra_Map > &domain_mp_map, const Teuchos::RCP< const Epetra_Map > &range_mp_map) | |
Constructor. More... | |
virtual | ~BlockDiagonalOperator () |
Destructor. More... | |
Protected Attributes | |
std::string | label |
Label for operator. More... | |
Teuchos::RCP< const EpetraExt::MultiComm > | mp_comm |
Stores MP parallel communicator. More... | |
int | num_mp_blocks |
Stores number of blocks. More... | |
Teuchos::RCP< const Epetra_Map > | domain_base_map |
Stores domain base map. More... | |
Teuchos::RCP< const Epetra_Map > | range_base_map |
Stores range base map. More... | |
Teuchos::RCP< const Epetra_Map > | domain_mp_map |
Stores domain MP map. More... | |
Teuchos::RCP< const Epetra_Map > | range_mp_map |
Stores range MP map. More... | |
Teuchos::RCP < Stokhos::ProductEpetraOperator > | block_ops |
Stores operators. More... | |
bool | useTranspose |
Whether to use transpose. More... | |
Private Member Functions | |
BlockDiagonalOperator (const BlockDiagonalOperator &) | |
Private to prohibit copying. More... | |
BlockDiagonalOperator & | operator= (const BlockDiagonalOperator &) |
Private to prohibit copying. More... | |
virtual void | setupOperator (const Teuchos::RCP< Stokhos::ProductEpetraOperator > &ops) |
Setup operator. More... | |
virtual Teuchos::RCP < Stokhos::ProductEpetraOperator > | getMPOps () |
Get multi-point ops. More... | |
virtual Teuchos::RCP< const Stokhos::ProductEpetraOperator > | getMPOps () const |
Get multi-point ops. More... | |
Epetra_Operator methods | |
virtual int | SetUseTranspose (bool UseTranspose) |
Set to true if the transpose of the operator is requested. More... | |
virtual int | Apply (const Epetra_MultiVector &Input, Epetra_MultiVector &Result) const |
Returns the result of a Epetra_Operator applied to a Epetra_MultiVector Input in Result as described above. More... | |
virtual int | ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const |
Returns the result of the inverse of the operator applied to a Epetra_MultiVector Input in Result as described above. More... | |
virtual double | NormInf () const |
Returns an approximate infinity norm of the operator matrix. More... | |
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 Epetra_Comm & | Comm () const |
Returns a reference to the Epetra_Comm communicator associated with this operator. More... | |
virtual const Epetra_Map & | OperatorDomainMap () const |
Returns the Epetra_Map object associated with the domain of this matrix operator. More... | |
virtual const Epetra_Map & | OperatorRangeMap () const |
Returns the Epetra_Map object associated with the range of this matrix operator. More... | |
An Epetra operator representing the block stochastic Galerkin operator.
Definition at line 56 of file Stokhos_BlockDiagonalOperator.hpp.
Stokhos::BlockDiagonalOperator::BlockDiagonalOperator | ( | const Teuchos::RCP< const EpetraExt::MultiComm > & | mp_comm, |
int | num_mp_blocks, | ||
const Teuchos::RCP< const Epetra_Map > & | domain_base_map, | ||
const Teuchos::RCP< const Epetra_Map > & | range_base_map, | ||
const Teuchos::RCP< const Epetra_Map > & | domain_mp_map, | ||
const Teuchos::RCP< const Epetra_Map > & | range_mp_map | ||
) |
Constructor.
Definition at line 47 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Destructor.
Definition at line 67 of file Stokhos_BlockDiagonalOperator.cpp.
|
private |
Private to prohibit copying.
|
virtual |
Setup operator.
Definition at line 73 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Get multi-point ops.
Definition at line 81 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Get multi-point ops.
Definition at line 88 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Set to true if the transpose of the operator is requested.
Implements Epetra_Operator.
Definition at line 95 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Returns the result of a Epetra_Operator applied to a Epetra_MultiVector Input in Result as described above.
Implements Epetra_Operator.
Definition at line 106 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Returns the result of the inverse of the operator applied to a Epetra_MultiVector Input in Result as described above.
Implements Epetra_Operator.
Definition at line 127 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Returns an approximate infinity norm of the operator matrix.
Implements Epetra_Operator.
Definition at line 150 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Returns a character string describing the operator.
Implements Epetra_Operator.
Definition at line 164 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Returns the current UseTranspose setting.
Implements Epetra_Operator.
Definition at line 170 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Returns true if the this object can provide an approximate Inf-norm, false otherwise.
Implements Epetra_Operator.
Definition at line 176 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Returns a reference to the Epetra_Comm communicator associated with this operator.
Implements Epetra_Operator.
Definition at line 184 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Returns the Epetra_Map object associated with the domain of this matrix operator.
Implements Epetra_Operator.
Definition at line 189 of file Stokhos_BlockDiagonalOperator.cpp.
|
virtual |
Returns the Epetra_Map object associated with the range of this matrix operator.
Implements Epetra_Operator.
Definition at line 197 of file Stokhos_BlockDiagonalOperator.cpp.
|
private |
Private to prohibit copying.
|
protected |
Label for operator.
Definition at line 155 of file Stokhos_BlockDiagonalOperator.hpp.
|
protected |
Stores MP parallel communicator.
Definition at line 158 of file Stokhos_BlockDiagonalOperator.hpp.
|
protected |
Stores number of blocks.
Definition at line 161 of file Stokhos_BlockDiagonalOperator.hpp.
|
protected |
Stores domain base map.
Definition at line 164 of file Stokhos_BlockDiagonalOperator.hpp.
|
protected |
Stores range base map.
Definition at line 167 of file Stokhos_BlockDiagonalOperator.hpp.
|
protected |
Stores domain MP map.
Definition at line 170 of file Stokhos_BlockDiagonalOperator.hpp.
|
protected |
Stores range MP map.
Definition at line 173 of file Stokhos_BlockDiagonalOperator.hpp.
|
protected |
Stores operators.
Definition at line 176 of file Stokhos_BlockDiagonalOperator.hpp.
|
protected |
Whether to use transpose.
Definition at line 179 of file Stokhos_BlockDiagonalOperator.hpp.