MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
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
27
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_ConfigDefs.hpp
MueLu_FactoryBase.hpp
MueLu::FactoryAcceptor
Definition
MueLu_FactoryAcceptor.hpp:21
MueLu::FactoryAcceptor::SetFactory
virtual void SetFactory(const std::string &varName, const RCP< const FactoryBase > &factory)=0
Configuration.
MueLu::FactoryAcceptor::GetFactory
virtual const RCP< const FactoryBase > GetFactory(const std::string &varName) const =0
MueLu::FactoryAcceptor::~FactoryAcceptor
virtual ~FactoryAcceptor()
Definition
MueLu_FactoryAcceptor.hpp:23
MueLu
Namespace for MueLu classes and methods.
Definition
MueLu_BrickAggregationFactory_decl.hpp:42
src
MueCentral
MueLu_FactoryAcceptor.hpp
Generated by
1.17.0