44 #ifndef STOKHOS_INTERLACED_OPERATOR_HPP
45 #define STOKHOS_INTERLACED_OPERATOR_HPP
48 #include "EpetraExt_MultiComm.h"
52 #include "EpetraExt_BlockCrsMatrix.h"
66 public EpetraExt::BlockCrsMatrix {
144 #endif // STOKHOS_INTERLACED_OPERATOR_HPP
bool only_use_linear
Flag indicating whether to only use linear terms.
InterlacedOperator & operator=(const InterlacedOperator &)
Private to prohibit copying.
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 Teuchos::RCP< Stokhos::EpetraOperatorOrthogPoly > getSGPolynomial()
Get SG polynomial.
virtual ~InterlacedOperator()
Destructor.
virtual void setupOperator(const Teuchos::RCP< Stokhos::EpetraOperatorOrthogPoly > &poly)
Setup operator.
bool scale_op
Flag indicating whether operator be scaled with <^2>
Teuchos::RCP< const Cijk_type > Cijk
Stores triple product tensor.
An abstract class to represent a generic stochastic Galerkin operator as an Epetra_Operator.
Teuchos::RCP< const EpetraExt::MultiComm > sg_comm
Stores SG parallel communicator.
void SumIntoGlobalBlock_Deterministic(double alpha, const Epetra_RowMatrix &determBlock, int Row, int Col)
Sum into global matrix.
Teuchos::RCP< Stokhos::EpetraOperatorOrthogPoly > block_ops
Stores operators.
bool include_mean
Flag indicating whether to include mean term.
An Epetra operator representing the block stochastic Galerkin operator generated by fully assembling ...
Teuchos::RCP< const Stokhos::EpetraSparse3Tensor > epetraCijk
Stores Epetra Cijk tensor.
Teuchos::RCP< const Stokhos::OrthogPolyBasis< int, double > > sg_basis
Stochastic Galerking basis.
Stokhos::Sparse3Tensor< int, double > Cijk_type
Short-hand for Cijk.