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
"
22
#include "
HollowConicalFrustum.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
35
namespace
ScriptInterface
{
36
namespace
Shapes
{
37
void
initialize
(
Utils::Factory<ObjectHandle>
*f) {
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 */
ScriptInterface::Shapes::Cylinder
Definition
script_interface/shapes/Cylinder.hpp:34
ScriptInterface::Shapes::Ellipsoid
Definition
script_interface/shapes/Ellipsoid.hpp:34
ScriptInterface::Shapes::HollowConicalFrustum
Definition
script_interface/shapes/HollowConicalFrustum.hpp:32
ScriptInterface::Shapes::NoWhere
Definition
script_interface/shapes/NoWhere.hpp:34
ScriptInterface::Shapes::Rhomboid
Definition
script_interface/shapes/Rhomboid.hpp:34
ScriptInterface::Shapes::SimplePore
Definition
script_interface/shapes/SimplePore.hpp:32
ScriptInterface::Shapes::Slitpore
Definition
script_interface/shapes/Slitpore.hpp:34
ScriptInterface::Shapes::Sphere
Definition
script_interface/shapes/Sphere.hpp:34
ScriptInterface::Shapes::SpheroCylinder
Definition
script_interface/shapes/SpheroCylinder.hpp:34
ScriptInterface::Shapes::Torus
Definition
script_interface/shapes/Torus.hpp:31
ScriptInterface::Shapes::Union
Definition
script_interface/shapes/Union.hpp:37
ScriptInterface::Shapes::Wall
Definition
script_interface/shapes/Wall.hpp:34
Utils::Factory
Factory template.
Definition
Factory.hpp:78
Utils::Factory::register_new
void register_new(const std::string &name)
Register a new type with the default construction function.
Definition
Factory.hpp:113
ScriptInterface::Shapes::initialize
void initialize(Utils::Factory< ObjectHandle > *f)
Definition
shapes/initialize.cpp:37
ScriptInterface
Definition
script_interface/accumulators/AccumulatorBase.hpp:33
Shapes
Definition
shapes/include/shapes/Cylinder.hpp:31
Cylinder.hpp
Ellipsoid.hpp
HollowConicalFrustum.hpp
NoWhere.hpp
Rhomboid.hpp
SimplePore.hpp
Slitpore.hpp
Sphere.hpp
SpheroCylinder.hpp
Torus.hpp
Union.hpp
Wall.hpp
initialize.hpp
src
script_interface
shapes
initialize.cpp
Generated on Fri Nov 22 2024 02:13:54 for ESPResSo by
1.9.8