|
Stokhos Development
|
An Epetra operator representing the block stochastic Galerkin operator generated by fully assembling the matrix. The ordering of this operator is interlaced. That means that all stochastic degrees of freedom associated with a deterministic degree of freedom are interlaced. The result is a large sparse matrix that is composed of small (relatively) dense blocks. More...
#include <Stokhos_InterlacedOperator.hpp>


Public Member Functions | |
| InterlacedOperator (const Teuchos::RCP< const EpetraExt::MultiComm > &sg_comm, const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > &sg_basis, const Teuchos::RCP< const Stokhos::EpetraSparse3Tensor > &epetraCijk, const Teuchos::RCP< const Epetra_CrsGraph > &base_graph, const Teuchos::RCP< Teuchos::ParameterList > ¶ms) | |
| Constructor. | |
| virtual | ~InterlacedOperator () |
| Destructor. | |
| Public Member Functions inherited from Stokhos::SGOperator | |
| SGOperator () | |
| Constructor. | |
| virtual | ~SGOperator () |
| Destructor. | |
Stokhos::SGOperator methods | |
| typedef Stokhos::Sparse3Tensor< int, double > | Cijk_type |
| Short-hand for Cijk. | |
| Teuchos::RCP< const EpetraExt::MultiComm > | sg_comm |
| Stores SG parallel communicator. | |
| Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > | sg_basis |
| Stochastic Galerking basis. | |
| Teuchos::RCP< const Stokhos::EpetraSparse3Tensor > | epetraCijk |
| Stores Epetra Cijk tensor. | |
| Teuchos::RCP< const Cijk_type > | Cijk |
| Stores triple product tensor. | |
| Teuchos::RCP< Stokhos::EpetraOperatorOrthogPoly > | block_ops |
| Stores operators. | |
| bool | scale_op |
| Flag indicating whether operator be scaled with <\psi_i^2>. | |
| bool | include_mean |
| Flag indicating whether to include mean term. | |
| bool | only_use_linear |
| Flag indicating whether to only use linear terms. | |
| int | determOffset_ |
| virtual void | setupOperator (const Teuchos::RCP< Stokhos::EpetraOperatorOrthogPoly > &poly) |
| Setup operator. | |
| virtual Teuchos::RCP< Stokhos::EpetraOperatorOrthogPoly > | getSGPolynomial () |
| Get SG polynomial. | |
| virtual Teuchos::RCP< const Stokhos::EpetraOperatorOrthogPoly > | getSGPolynomial () const |
| Get SG polynomial. | |
| void | SumIntoGlobalBlock_Deterministic (double alpha, const Epetra_RowMatrix &determBlock, int Row, int Col) |
| Sum into global matrix. | |
An Epetra operator representing the block stochastic Galerkin operator generated by fully assembling the matrix. The ordering of this operator is interlaced. That means that all stochastic degrees of freedom associated with a deterministic degree of freedom are interlaced. The result is a large sparse matrix that is composed of small (relatively) dense blocks.
| Stokhos::InterlacedOperator::InterlacedOperator | ( | const Teuchos::RCP< const EpetraExt::MultiComm > & | sg_comm, |
| const Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > & | sg_basis, | ||
| const Teuchos::RCP< const Stokhos::EpetraSparse3Tensor > & | epetraCijk, | ||
| const Teuchos::RCP< const Epetra_CrsGraph > & | base_graph, | ||
| const Teuchos::RCP< Teuchos::ParameterList > & | params ) |
Constructor.
References block_ops, Cijk, epetraCijk, include_mean, only_use_linear, scale_op, sg_basis, and sg_comm.
|
virtual |
|
virtual |
|
virtual |
Setup operator.
Implements Stokhos::SGOperator.
References block_ops, Cijk, epetraCijk, include_mean, only_use_linear, scale_op, sg_basis, and SumIntoGlobalBlock_Deterministic().
| void Stokhos::InterlacedOperator::SumIntoGlobalBlock_Deterministic | ( | double | alpha, |
| const Epetra_RowMatrix & | determBlock, | ||
| int | Row, | ||
| int | Col ) |
Sum into global matrix.
Referenced by setupOperator().
|
protected |
Stores operators.
Referenced by getSGPolynomial(), getSGPolynomial(), InterlacedOperator(), and setupOperator().
|
protected |
Stores triple product tensor.
Referenced by InterlacedOperator(), and setupOperator().
|
protected |
Stores Epetra Cijk tensor.
Referenced by InterlacedOperator(), and setupOperator().
|
protected |
Flag indicating whether to include mean term.
Referenced by InterlacedOperator(), and setupOperator().
|
protected |
Flag indicating whether to only use linear terms.
Referenced by InterlacedOperator(), and setupOperator().
|
protected |
Flag indicating whether operator be scaled with <\psi_i^2>.
Referenced by InterlacedOperator(), and setupOperator().
|
protected |
Stochastic Galerking basis.
Referenced by InterlacedOperator(), and setupOperator().
|
protected |
Stores SG parallel communicator.
Referenced by InterlacedOperator().