ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
PropagationMode.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 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
#pragma once
21
22
namespace
PropagationMode
{
23
/** @brief Flags to create bitmasks for propagation modes. */
24
enum
PropagationMode
:
int
{
25
NONE
= 0,
26
SYSTEM_DEFAULT
= 1 << 0,
27
TRANS_NEWTON
= 1 << 1,
28
TRANS_LANGEVIN
= 1 << 2,
29
TRANS_LANGEVIN_NPT
= 1 << 3,
30
TRANS_VS_RELATIVE
= 1 << 4,
31
TRANS_LB_MOMENTUM_EXCHANGE
= 1 << 5,
32
TRANS_LB_TRACER
= 1 << 6,
33
TRANS_BROWNIAN
= 1 << 7,
34
TRANS_STOKESIAN
= 1 << 8,
35
ROT_EULER
= 1 << 10,
36
ROT_LANGEVIN
= 1 << 11,
37
ROT_VS_RELATIVE
= 1 << 12,
38
ROT_BROWNIAN
= 1 << 13,
39
ROT_STOKESIAN
= 1 << 14,
40
};
41
}
// namespace PropagationMode
42
43
/** @brief Integrator identifier. */
44
enum
IntegratorSwitch
:
int
{
45
INTEG_METHOD_NPT_ISO
= 0,
46
INTEG_METHOD_NVT
= 1,
47
INTEG_METHOD_STEEPEST_DESCENT
= 2,
48
INTEG_METHOD_BD
= 3,
49
INTEG_METHOD_SD
= 4,
50
};
51
52
/** @brief Thermostat flags. */
53
enum
ThermostatFlags
:
int
{
54
THERMO_OFF
= 0,
55
THERMO_LANGEVIN
= 1 << 0,
56
THERMO_BROWNIAN
= 1 << 1,
57
THERMO_NPT_ISO
= 1 << 2,
58
THERMO_LB
= 1 << 3,
59
THERMO_SD
= 1 << 4,
60
THERMO_DPD
= 1 << 5,
61
THERMO_BOND
= 1 << 6,
62
};
IntegratorSwitch
IntegratorSwitch
Integrator identifier.
Definition
PropagationMode.hpp:44
INTEG_METHOD_SD
@ INTEG_METHOD_SD
Definition
PropagationMode.hpp:49
INTEG_METHOD_NPT_ISO
@ INTEG_METHOD_NPT_ISO
Definition
PropagationMode.hpp:45
INTEG_METHOD_STEEPEST_DESCENT
@ INTEG_METHOD_STEEPEST_DESCENT
Definition
PropagationMode.hpp:47
INTEG_METHOD_NVT
@ INTEG_METHOD_NVT
Definition
PropagationMode.hpp:46
INTEG_METHOD_BD
@ INTEG_METHOD_BD
Definition
PropagationMode.hpp:48
ThermostatFlags
ThermostatFlags
Thermostat flags.
Definition
PropagationMode.hpp:53
THERMO_SD
@ THERMO_SD
Definition
PropagationMode.hpp:59
THERMO_BROWNIAN
@ THERMO_BROWNIAN
Definition
PropagationMode.hpp:56
THERMO_BOND
@ THERMO_BOND
Definition
PropagationMode.hpp:61
THERMO_LB
@ THERMO_LB
Definition
PropagationMode.hpp:58
THERMO_LANGEVIN
@ THERMO_LANGEVIN
Definition
PropagationMode.hpp:55
THERMO_DPD
@ THERMO_DPD
Definition
PropagationMode.hpp:60
THERMO_NPT_ISO
@ THERMO_NPT_ISO
Definition
PropagationMode.hpp:57
THERMO_OFF
@ THERMO_OFF
Definition
PropagationMode.hpp:54
PropagationMode
Definition
PropagationMode.hpp:22
PropagationMode::PropagationMode
PropagationMode
Flags to create bitmasks for propagation modes.
Definition
PropagationMode.hpp:24
PropagationMode::TRANS_LANGEVIN
@ TRANS_LANGEVIN
Definition
PropagationMode.hpp:28
PropagationMode::TRANS_STOKESIAN
@ TRANS_STOKESIAN
Definition
PropagationMode.hpp:34
PropagationMode::ROT_VS_RELATIVE
@ ROT_VS_RELATIVE
Definition
PropagationMode.hpp:37
PropagationMode::TRANS_LB_TRACER
@ TRANS_LB_TRACER
Definition
PropagationMode.hpp:32
PropagationMode::SYSTEM_DEFAULT
@ SYSTEM_DEFAULT
Definition
PropagationMode.hpp:26
PropagationMode::TRANS_BROWNIAN
@ TRANS_BROWNIAN
Definition
PropagationMode.hpp:33
PropagationMode::NONE
@ NONE
Definition
PropagationMode.hpp:25
PropagationMode::TRANS_LANGEVIN_NPT
@ TRANS_LANGEVIN_NPT
Definition
PropagationMode.hpp:29
PropagationMode::TRANS_LB_MOMENTUM_EXCHANGE
@ TRANS_LB_MOMENTUM_EXCHANGE
Definition
PropagationMode.hpp:31
PropagationMode::ROT_STOKESIAN
@ ROT_STOKESIAN
Definition
PropagationMode.hpp:39
PropagationMode::TRANS_NEWTON
@ TRANS_NEWTON
Definition
PropagationMode.hpp:27
PropagationMode::ROT_BROWNIAN
@ ROT_BROWNIAN
Definition
PropagationMode.hpp:38
PropagationMode::ROT_LANGEVIN
@ ROT_LANGEVIN
Definition
PropagationMode.hpp:36
PropagationMode::TRANS_VS_RELATIVE
@ TRANS_VS_RELATIVE
Definition
PropagationMode.hpp:30
PropagationMode::ROT_EULER
@ ROT_EULER
Definition
PropagationMode.hpp:35
src
core
PropagationMode.hpp
Generated on Fri Nov 22 2024 02:13:54 for ESPResSo by
1.9.8