ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
collision_detection/initialize.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015-2024 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 <
config/config.hpp
>
21
22
#include "
BindAtPointOfCollision.hpp
"
23
#include "
BindCenters.hpp
"
24
#include "
CollisionDetection.hpp
"
25
#include "
GlueToSurface.hpp
"
26
#include "
Off.hpp
"
27
#include "
initialize.hpp
"
28
29
namespace
ScriptInterface::CollisionDetection
{
30
void
initialize
(
Utils::Factory<ObjectHandle>
*om) {
31
#ifdef COLLISION_DETECTION
32
om->
register_new
<
CollisionDetection
>(
33
"CollisionDetection::CollisionDetection"
);
34
om->
register_new
<
Off
>(
"CollisionDetection::Off"
);
35
om->
register_new
<
BindCenters
>(
"CollisionDetection::BindCenters"
);
36
#ifdef VIRTUAL_SITES_RELATIVE
37
om->
register_new
<
BindAtPointOfCollision
>(
38
"CollisionDetection::BindAtPointOfCollision"
);
39
om->
register_new
<
GlueToSurface
>(
"CollisionDetection::GlueToSurface"
);
40
#endif
// VIRTUAL_SITES_RELATIVE
41
#endif
// COLLISION_DETECTION
42
}
43
}
// namespace ScriptInterface::CollisionDetection
ScriptInterface::CollisionDetection::BindAtPointOfCollision
Definition
script_interface/collision_detection/BindAtPointOfCollision.hpp:39
ScriptInterface::CollisionDetection::BindCenters
Definition
script_interface/collision_detection/BindCenters.hpp:38
ScriptInterface::CollisionDetection::GlueToSurface
Definition
script_interface/collision_detection/GlueToSurface.hpp:39
ScriptInterface::CollisionDetection::Off
Definition
script_interface/collision_detection/Off.hpp:37
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
config.hpp
This file contains the defaults for ESPResSo.
CollisionDetection
Definition
ActiveProtocol.hpp:33
ScriptInterface::CollisionDetection
Definition
script_interface/collision_detection/BindAtPointOfCollision.hpp:37
ScriptInterface::CollisionDetection::initialize
void initialize(Utils::Factory< ObjectHandle > *om)
Definition
collision_detection/initialize.cpp:30
BindAtPointOfCollision.hpp
BindCenters.hpp
CollisionDetection.hpp
GlueToSurface.hpp
Off.hpp
initialize.hpp
src
script_interface
collision_detection
initialize.cpp
Generated on Thu Dec 19 2024 02:13:16 for ESPResSo by
1.9.8