ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
walberla/initialize.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2021-2023 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
#ifdef WALBERLA
23
24
#include "
LatticeWalberla.hpp
"
25
26
#include "
LBFluid.hpp
"
27
#include "
LBFluidNode.hpp
"
28
#include "
LBFluidSlice.hpp
"
29
30
#include "
EKContainer.hpp
"
31
#include "
EKFFT.hpp
"
32
#include "
EKNone.hpp
"
33
34
#include "
EKSpecies.hpp
"
35
#include "
EKSpeciesNode.hpp
"
36
#include "
EKSpeciesSlice.hpp
"
37
38
#include "
EKReactant.hpp
"
39
#include "
EKReaction.hpp
"
40
#include "
EKReactions.hpp
"
41
42
#include <
script_interface/ObjectHandle.hpp
>
43
44
#include <
utils/Factory.hpp
>
45
46
#ifdef WALBERLA_STATIC_ASSERT
47
#error "waLberla headers should not be visible to the ESPResSo script interface"
48
#endif
49
50
namespace
ScriptInterface::walberla
{
51
52
void
initialize
(
Utils::Factory<ObjectHandle>
*
om
) {
53
om
->register_new<
LatticeWalberla
>(
"walberla::LatticeWalberla"
);
54
55
om
->register_new<
LBFluidCPU
>(
"walberla::LBFluidCPU"
);
56
#ifdef CUDA
57
om
->register_new<
LBFluidGPU
>(
"walberla::LBFluidGPU"
);
58
#endif
// CUDA
59
om
->register_new<
LBFluidNode
>(
"walberla::LBFluidNode"
);
60
om
->register_new<
LBFluidSlice
>(
"walberla::LBFluidSlice"
);
61
om
->register_new<
LBVTKHandle
>(
"walberla::LBVTKHandle"
);
62
63
om
->register_new<
EKContainer
>(
"walberla::EKContainer"
);
64
om
->register_new<
EKSpecies
>(
"walberla::EKSpecies"
);
65
om
->register_new<
EKSpeciesNode
>(
"walberla::EKSpeciesNode"
);
66
om
->register_new<
EKSpeciesSlice
>(
"walberla::EKSpeciesSlice"
);
67
#ifdef WALBERLA_FFT
68
om
->register_new<
EKFFT
>(
"walberla::EKFFT"
);
69
#endif
// WALBERLA_FFT
70
om
->register_new<
EKNone
>(
"walberla::EKNone"
);
71
om
->register_new<
EKVTKHandle
>(
"walberla::EKVTKHandle"
);
72
73
om
->register_new<
EKReactant
>(
"walberla::EKReactant"
);
74
om
->register_new<
EKBulkReaction
>(
"walberla::EKBulkReaction"
);
75
om
->register_new<
EKIndexedReaction
>(
"walberla::EKIndexedReaction"
);
76
om
->register_new<
EKReactions
>(
"walberla::EKReactions"
);
77
}
78
79
}
// namespace ScriptInterface::walberla
80
81
#endif
// WALBERLA
EKFFT.hpp
EKReaction.hpp
EKSpeciesNode.hpp
EKSpeciesSlice.hpp
EKSpecies.hpp
Factory.hpp
LBFluidNode.hpp
LBFluidSlice.hpp
LBFluid.hpp
ObjectHandle.hpp
ScriptInterface::walberla::EKBulkReaction
Definition
EKReaction.hpp:104
ScriptInterface::walberla::EKContainer
Definition
script_interface/walberla/EKContainer.hpp:49
ScriptInterface::walberla::EKFFT
Definition
EKFFT.hpp:45
ScriptInterface::walberla::EKIndexedReaction
Definition
EKReaction.hpp:124
ScriptInterface::walberla::EKNone
Definition
script_interface/walberla/EKNone.hpp:38
ScriptInterface::walberla::EKReactant
Definition
script_interface/walberla/EKReactant.hpp:36
ScriptInterface::walberla::EKReactions
Definition
script_interface/walberla/EKReactions.hpp:40
ScriptInterface::walberla::EKSpeciesNode
Definition
EKSpeciesNode.hpp:43
ScriptInterface::walberla::EKSpeciesSlice
Definition
EKSpeciesSlice.hpp:112
ScriptInterface::walberla::EKSpecies
Definition
EKSpecies.hpp:47
ScriptInterface::walberla::EKVTKHandle
Definition
EKSpecies.hpp:159
ScriptInterface::walberla::LBFluidCPU
Definition
LBFluid.hpp:139
ScriptInterface::walberla::LBFluidGPU
Definition
LBFluid.hpp:145
ScriptInterface::walberla::LBFluidNode
Definition
LBFluidNode.hpp:45
ScriptInterface::walberla::LBFluidSlice
Definition
LBFluidSlice.hpp:100
ScriptInterface::walberla::LBVTKHandle
Definition
LBFluid.hpp:151
ScriptInterface::walberla::LatticeWalberla
Definition
script_interface/walberla/LatticeWalberla.hpp:42
Utils::Factory
Factory template.
Definition
Factory.hpp:78
config.hpp
This file contains the defaults for ESPResSo.
ScriptInterface::walberla
Definition
script_interface/walberla/EKContainer.hpp:47
ScriptInterface::walberla::initialize
void initialize(Utils::Factory< ObjectHandle > *om)
Definition
walberla/initialize.cpp:52
ScriptInterface::get_value
T get_value(Variant const &v)
Extract value of specific type T from a Variant.
Definition
get_value.hpp:400
EKNone.hpp
EKReactions.hpp
LatticeWalberla.hpp
EKContainer.hpp
EKReactant.hpp
src
script_interface
walberla
initialize.cpp
Generated on Fri Nov 8 2024 02:12:53 for ESPResSo by
1.9.8