Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_MPPreconditionerFactory.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_MP_PRECONDITIONER_FACTORY_HPP
11 #define STOKHOS_MP_PRECONDITIONER_FACTORY_HPP
12 
13 #include "Teuchos_RCP.hpp"
16 #include "EpetraExt_MultiComm.h"
19 #include "Epetra_Map.h"
21 
22 namespace Stokhos {
23 
26  public:
27 
31 
34 
37  build(
39  int num_mp_blocks,
40  const Teuchos::RCP<const Epetra_Map>& base_map,
41  const Teuchos::RCP<const Epetra_Map>& mp_map);
42 
43  protected:
44 
48 
49  private:
50 
53 
56 
57  protected:
58 
61 
62  }; // class MPPreconditionerFactory
63 
64 } // namespace Stokhos
65 
66 #endif // STOKHOS_MP_PRECONDITIONER_FACTORY_HPP
Factory for generating stochastic Galerkin preconditioners.
virtual Teuchos::RCP< Stokhos::MPPreconditioner > build(const Teuchos::RCP< const EpetraExt::MultiComm > &mp_comm, int num_mp_blocks, const Teuchos::RCP< const Epetra_Map > &base_map, const Teuchos::RCP< const Epetra_Map > &mp_map)
Build preconditioner operator.
MPPreconditionerFactory & operator=(const MPPreconditionerFactory &)
Private to prohibit copying.
Teuchos::RCP< Stokhos::AbstractPreconditionerFactory > buildPointPreconditionerFactory()
Build preconditioner factory for each point.
MPPreconditionerFactory(const Teuchos::RCP< Teuchos::ParameterList > &params)
Constructor.
Teuchos::RCP< Teuchos::ParameterList > params
Preconditioner parameters.