Langevin C++ source

Loading...
Searching...
No Matches
langevin_enums.hpp
Go to the documentation of this file.
1
9
10#ifndef ENUMS_HPP
11#define ENUMS_HPP
12
14 enum class GridDimension
15{
16 D1 = 1,
17 D2 = 2,
18 D3 = 3
19};
20
22 enum class GridEdge
23{
24 lx = 1,
25 ux = 2,
26 ly = 3,
27 uy = 4
28 // lz = 5,
29 // uz = 6
30};
31
33 enum class GridTopology
34{
35 BOUNDED = 1,
36 PERIODIC = 2
37};
38
40 enum class BoundaryCondition
41{
42 FLOATING = 1,
43 FIXED_VALUE = 2,
44 FIXED_FLUX = 3
45};
46
48 enum class InitialCondition
49{
50 RANDOM_UNIFORM = 1,
51 RANDOM_GAUSSIAN = 2,
52 CONSTANT_VALUE = 3,
53 SINGLE_SEED = 4
54};
55
57 enum class IntegrationMethod
58{
59 EULER = 1,
60 RUNGE_KUTTA = 2
61};
62
63#endif
GridEdge
GridEdge
Classifier for grid edges used in boundary condition handling.
Definition langevin_enums.hpp:23
GridTopology
GridTopology
Grid boundary topology: only bounded or periodic (along all edges) implemented so far.
Definition langevin_enums.hpp:34
GridDimension
GridDimension
Density field grid dimension: only 1D or 2D grids implemented so far.
Definition langevin_enums.hpp:15
IntegrationMethod
IntegrationMethod
Deterministic integration method: default is 4th-order Runge-Kutta; can be explicit Euler.
Definition langevin_enums.hpp:58
InitialCondition
InitialCondition
Grid density field initial condition: random uniform or Gaussian variates; constant everywhere; or ce...
Definition langevin_enums.hpp:49
BoundaryCondition
BoundaryCondition
Grid boundary condition: floating/fixed value/fixed flux; application equally to all edges only for n...
Definition langevin_enums.hpp:41