Stokhos Development
Loading...
Searching...
No Matches
Stokhos::FullyAssembledOperator Class Reference

An Epetra operator representing the block stochastic Galerkin operator generated by fully assembling the matrix. More...

#include <Stokhos_FullyAssembledOperator.hpp>

Inheritance diagram for Stokhos::FullyAssembledOperator:
Collaboration diagram for Stokhos::FullyAssembledOperator:

Public Member Functions

 FullyAssembledOperator (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< const Epetra_Map > &domain_sg_map, const Teuchos::RCP< const Epetra_Map > &range_sg_map, const Teuchos::RCP< Teuchos::ParameterList > &params)
 Constructor.
virtual ~FullyAssembledOperator ()
 Destructor.
Stokhos::SGOperator methods
virtual void setupOperator (const Teuchos::RCP< Stokhos::EpetraOperatorOrthogPoly > &poly)
 Setup operator.
virtual Teuchos::RCP< Stokhos::EpetraOperatorOrthogPolygetSGPolynomial ()
 Get SG polynomial.
virtual Teuchos::RCP< const Stokhos::EpetraOperatorOrthogPolygetSGPolynomial () const
 Get SG polynomial.
Public Member Functions inherited from Stokhos::SGOperator
 SGOperator ()
 Constructor.
virtual ~SGOperator ()
 Destructor.

Overloaded Epetra_Operator 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::EpetraSparse3TensorepetraCijk
 Stores Epetra Cijk tensor.
Teuchos::RCP< const Epetra_Map > domain_sg_map
 Stores domain SG map.
Teuchos::RCP< const Epetra_Map > range_sg_map
 Stores range SG map.
Teuchos::RCP< const Cijk_typeCijk
 Stores triple product tensor.
Teuchos::RCP< Stokhos::EpetraOperatorOrthogPolyblock_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.
virtual int Apply (const Epetra_MultiVector &Input, Epetra_MultiVector &Result) const
 Wrap Apply() to add a timer.

Detailed Description

An Epetra operator representing the block stochastic Galerkin operator generated by fully assembling the matrix.

Constructor & Destructor Documentation

◆ FullyAssembledOperator()

Stokhos::FullyAssembledOperator::FullyAssembledOperator ( 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< const Epetra_Map > & domain_sg_map,
const Teuchos::RCP< const Epetra_Map > & range_sg_map,
const Teuchos::RCP< Teuchos::ParameterList > & params )

Member Function Documentation

◆ getSGPolynomial() [1/2]

Teuchos::RCP< Stokhos::EpetraOperatorOrthogPoly > Stokhos::FullyAssembledOperator::getSGPolynomial ( )
virtual

Get SG polynomial.

Implements Stokhos::SGOperator.

References block_ops.

◆ getSGPolynomial() [2/2]

Teuchos::RCP< const Stokhos::EpetraOperatorOrthogPoly > Stokhos::FullyAssembledOperator::getSGPolynomial ( ) const
virtual

Get SG polynomial.

Implements Stokhos::SGOperator.

References block_ops.

◆ setupOperator()

void Stokhos::FullyAssembledOperator::setupOperator ( const Teuchos::RCP< Stokhos::EpetraOperatorOrthogPoly > & poly)
virtual

Member Data Documentation

◆ block_ops

Teuchos::RCP<Stokhos::EpetraOperatorOrthogPoly > Stokhos::FullyAssembledOperator::block_ops
protected

◆ Cijk

Teuchos::RCP<const Cijk_type> Stokhos::FullyAssembledOperator::Cijk
protected

Stores triple product tensor.

Referenced by FullyAssembledOperator(), and setupOperator().

◆ domain_sg_map

Teuchos::RCP<const Epetra_Map> Stokhos::FullyAssembledOperator::domain_sg_map
protected

Stores domain SG map.

Referenced by FullyAssembledOperator(), and setupOperator().

◆ epetraCijk

Teuchos::RCP<const Stokhos::EpetraSparse3Tensor> Stokhos::FullyAssembledOperator::epetraCijk
protected

Stores Epetra Cijk tensor.

Referenced by FullyAssembledOperator(), and setupOperator().

◆ include_mean

bool Stokhos::FullyAssembledOperator::include_mean
protected

Flag indicating whether to include mean term.

Referenced by FullyAssembledOperator(), and setupOperator().

◆ only_use_linear

bool Stokhos::FullyAssembledOperator::only_use_linear
protected

Flag indicating whether to only use linear terms.

Referenced by FullyAssembledOperator(), and setupOperator().

◆ range_sg_map

Teuchos::RCP<const Epetra_Map> Stokhos::FullyAssembledOperator::range_sg_map
protected

Stores range SG map.

Referenced by FullyAssembledOperator(), and setupOperator().

◆ scale_op

bool Stokhos::FullyAssembledOperator::scale_op
protected

Flag indicating whether operator be scaled with <\psi_i^2>.

Referenced by FullyAssembledOperator(), and setupOperator().

◆ sg_basis

Teuchos::RCP<const Stokhos::OrthogPolyBasis<int,double> > Stokhos::FullyAssembledOperator::sg_basis
protected

Stochastic Galerking basis.

Referenced by FullyAssembledOperator(), and setupOperator().

◆ sg_comm

Teuchos::RCP<const EpetraExt::MultiComm> Stokhos::FullyAssembledOperator::sg_comm
protected

Stores SG parallel communicator.

Referenced by FullyAssembledOperator().


The documentation for this class was generated from the following files: