votca
2024.2-dev
Loading...
Searching...
No Matches
xtp
src
libxtp
factories
sigmafactory.cc
Go to the documentation of this file.
1
2
/*
3
* Copyright 2009-2023 The VOTCA Development Team
4
* (http://www.votca.org)
5
*
6
* Licensed under the Apache License, Version 2.0 (the "License")
7
*
8
* You may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
10
*
11
* http://www.apache.org/licenses/LICENSE-2.0
12
*
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS,
15
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
* See the License for the specific language governing permissions and
17
* limitations under the License.
18
*
19
*/
20
21
// Local VOTCA includes
22
#include <
votca/xtp/sigmafactory.h
>
23
24
// Local private VOTCA includes
25
#include "
self_energy_evaluators/sigma_cda.h
"
26
#include "
self_energy_evaluators/sigma_exact.h
"
27
#include "
self_energy_evaluators/sigma_ppm.h
"
28
29
namespace
votca
{
30
namespace
xtp {
31
32
void
SigmaFactory::RegisterAll
(
void
) {
33
this->
Register<Sigma_CDA>
(
"cda"
);
34
this->
Register<Sigma_Exact>
(
"exact"
);
35
this->
Register<Sigma_PPM>
(
"ppm"
);
36
}
37
}
// namespace xtp
38
}
// namespace votca
votca::tools::ObjectFactory< std::string, Sigma_base, TCMatrix_gwbse &, RPA & >::Register
void Register(const std::string &key, creator_t creator)
Definition
objectfactory.h:89
votca::xtp::SigmaFactory::RegisterAll
void RegisterAll(void)
Definition
sigmafactory.cc:32
votca
base class for all analysis tools
Definition
basebead.h:33
sigma_cda.h
sigma_exact.h
sigma_ppm.h
sigmafactory.h
Generated by
1.12.0