MueLu
Version of the Day
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
MueLu_FactoryAcceptor.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// MueLu: A package for multigrid based preconditioning
4
//
5
// Copyright 2012 NTESS and the MueLu contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef MUELU_FACTORYACCEPTOR_HPP
11
#define MUELU_FACTORYACCEPTOR_HPP
12
13
#include <string>
14
15
#include "
Teuchos_RCP.hpp
"
16
#include "
MueLu_ConfigDefs.hpp
"
17
#include "
MueLu_FactoryBase.hpp
"
18
19
namespace
MueLu {
20
21
class
FactoryAcceptor
{
22
public
:
23
virtual
~FactoryAcceptor
() {}
24
26
29
virtual
void
SetFactory
(
const
std::string& varName,
const
RCP<const FactoryBase>
& factory) = 0;
30
31
virtual
const
RCP<const FactoryBase>
GetFactory
(
const
std::string& varName)
const
= 0;
32
33
// SetParameterList(...);
34
35
// GetParameterList(...);
36
38
39
};
// class FactoryAcceptor
40
41
}
// namespace MueLu
42
43
#define MUELU_FACTORYACCEPTOR_SHORT
44
#endif // ifndef MUELU_FACTORYACCEPTOR_HPP
MueLu_FactoryBase.hpp
MueLu_ConfigDefs.hpp
MueLu::FactoryAcceptor::~FactoryAcceptor
virtual ~FactoryAcceptor()
Definition:
MueLu_FactoryAcceptor.hpp:23
MueLu::FactoryAcceptor::SetFactory
virtual void SetFactory(const std::string &varName, const RCP< const FactoryBase > &factory)=0
Configuration.
MueLu::FactoryAcceptor
Definition:
MueLu_FactoryAcceptor.hpp:21
MueLu::FactoryAcceptor::GetFactory
virtual const RCP< const FactoryBase > GetFactory(const std::string &varName) const =0
Teuchos::RCP
Teuchos_RCP.hpp
src
MueCentral
MueLu_FactoryAcceptor.hpp
Generated on Fri Nov 22 2024 09:17:05 for MueLu by
1.8.5