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