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
23#include "BindCenters.hpp"
25#include "GlueToSurface.hpp"
26#include "Off.hpp"
27#include "initialize.hpp"
28
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
Factory template.
Definition Factory.hpp:78
This file contains the defaults for ESPResSo.
void initialize(Utils::Factory< ObjectHandle > *om)
T get_value(Variant const &v)
Extract value of specific type T from a Variant.