ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
shapes/initialize.cpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015-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 "Cylinder.hpp"
21#include "Ellipsoid.hpp"
23#include "NoWhere.hpp"
24#include "Rhomboid.hpp"
25#include "SimplePore.hpp"
26#include "Slitpore.hpp"
27#include "Sphere.hpp"
28#include "SpheroCylinder.hpp"
29#include "Torus.hpp"
30#include "Union.hpp"
31#include "Wall.hpp"
32
33#include "initialize.hpp"
34
35namespace ScriptInterface {
36namespace Shapes {
38 f->register_new<HollowConicalFrustum>("Shapes::HollowConicalFrustum");
39 f->register_new<Union>("Shapes::Union");
40 f->register_new<NoWhere>("Shapes::NoWhere");
41 f->register_new<Wall>("Shapes::Wall");
42 f->register_new<Ellipsoid>("Shapes::Ellipsoid");
43 f->register_new<Sphere>("Shapes::Sphere");
44 f->register_new<Cylinder>("Shapes::Cylinder");
45 f->register_new<SpheroCylinder>("Shapes::SpheroCylinder");
46 f->register_new<Rhomboid>("Shapes::Rhomboid");
47 f->register_new<Slitpore>("Shapes::Slitpore");
48 f->register_new<SimplePore>("Shapes::SimplePore");
49 f->register_new<Torus>("Shapes::Torus");
50}
51} /* namespace Shapes */
52} /* 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
void initialize(Utils::Factory< ObjectHandle > *f)