Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_SGOperatorFactory.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Stokhos Package
4 //
5 // Copyright 2009 NTESS and the Stokhos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef STOKHOS_SG_OPERATOR_FACTORY_HPP
11 #define STOKHOS_SG_OPERATOR_FACTORY_HPP
12 
13 #include "Teuchos_RCP.hpp"
15 #include "Stokhos_SGOperator.hpp"
16 #include "EpetraExt_MultiComm.h"
19 #include "Epetra_Map.h"
20 
21 namespace Stokhos {
22 
25  public:
26 
30 
32  virtual ~SGOperatorFactory() {}
33 
36  build(
38  const Teuchos::RCP<const Stokhos::OrthogPolyBasis<int,double> >& sg_basis,
40  const Teuchos::RCP<const Epetra_Map>& domain_base_map,
41  const Teuchos::RCP<const Epetra_Map>& range_base_map,
42  const Teuchos::RCP<const Epetra_Map>& domain_sg_map,
43  const Teuchos::RCP<const Epetra_Map>& range_sg_map);
44 
45  private:
46 
49 
52 
53  protected:
54 
57 
58  }; // class SGOperatorFactory
59 
60 } // namespace Stokhos
61 
62 #endif // STOKHOS_SG_OPERATOR_FACTORY_HPP
Teuchos::RCP< Teuchos::ParameterList > params
Operator parameters.
virtual Teuchos::RCP< Stokhos::SGOperator > build(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_Map > &domain_base_map, const Teuchos::RCP< const Epetra_Map > &range_base_map, const Teuchos::RCP< const Epetra_Map > &domain_sg_map, const Teuchos::RCP< const Epetra_Map > &range_sg_map)
Build preconditioner operator.
SGOperatorFactory & operator=(const SGOperatorFactory &)
Private to prohibit copying.
SGOperatorFactory(const Teuchos::RCP< Teuchos::ParameterList > &params)
Constructor.
virtual ~SGOperatorFactory()
Destructor.
Factory for generating stochastic Galerkin preconditioners.