DP Langevin
Loading...
Searching...
No Matches
langevin_construct_grid.cpp
Go to the documentation of this file.
1
5
6#include "langevin_types.hpp"
7#include "langevin_base.hpp"
8
10{
11 switch (p.grid_dimension)
12 {
13 case (GridDimension::D1):
14 return construct_1D_grid(p);
15 case (GridDimension::D2):
16 return construct_2D_grid(p);
17 case (GridDimension::D3):
18 return false; // NYI
19 default:
20 return false;
21 }
22}
bool construct_2D_grid(const Parameters parameters)
Build 2d Langevin density field grid & mixed topology.
bool construct_grid(const Parameters parameters)
Construct Langevin density field grid of appropriate n-D dimension.
bool construct_1D_grid(const Parameters parameters)
Build 1d Langevin density field grid & topology.
Base class for Langevin equation integrator.
Type definitions for BaseLangevin integrator.
Container for BaseLangevin integrator parameters.