ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
electrostatics/initialize.cpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 The ESPResSo project
3 *
4 * This file is part of ESPResSo.
5 *
6 * ESPResSo is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * ESPResSo is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#include "initialize.hpp"
21
22#include "config/config.hpp"
23
24#ifdef ELECTROSTATICS
25
26#include "Actor_impl.hpp"
27
28#include "Container.hpp"
29#include "CoulombMMM1D.hpp"
30#include "CoulombMMM1DGpu.hpp"
31#include "CoulombP3M.hpp"
32#include "CoulombP3MGPU.hpp"
33#include "CoulombScafacos.hpp"
34#include "DebyeHueckel.hpp"
36#include "ICCStar.hpp"
37#include "ReactionField.hpp"
38
40
42
43#endif // ELECTROSTATICS
44
45#include <utils/Factory.hpp>
46
47namespace ScriptInterface {
48namespace Coulomb {
49
51#ifdef ELECTROSTATICS
52 om->register_new<DebyeHueckel>("Coulomb::DebyeHueckel");
53#ifdef P3M
54 om->register_new<CoulombP3M>("Coulomb::CoulombP3M");
55#ifdef CUDA
56 om->register_new<CoulombP3MGPU>("Coulomb::CoulombP3MGPU");
57#endif
59 "Coulomb::ElectrostaticLayerCorrection");
60#endif // P3M
61 om->register_new<ICCStar>("Coulomb::ICCStar");
62#ifdef MMM1D_GPU
63 om->register_new<CoulombMMM1DGpu>("Coulomb::CoulombMMM1DGpu");
64#endif
65 om->register_new<CoulombMMM1D>("Coulomb::CoulombMMM1D");
66#ifdef SCAFACOS
67 om->register_new<CoulombScafacos>("Coulomb::CoulombScafacos");
68#endif
69 om->register_new<ReactionField>("Coulomb::ReactionField");
70 om->register_new<Container>("Coulomb::Container");
71#endif // ELECTROSTATICS
72}
73
74} // namespace Coulomb
75} // namespace ScriptInterface
Factory template.
Definition Factory.hpp:78
void register_new(const std::string &name)
Register a new type with the default construction function.
Definition Factory.hpp:113
This file contains the defaults for ESPResSo.
void initialize(Utils::Factory< ObjectHandle > *om)