![]() |
Massively Parallel Trotter-Suzuki Solver
1.6.2
|
This class defines the 1D lattice structure over which the state and potential are defined. More...
#include <trottersuzuki.h>
Public Member Functions | |
| Lattice1D (int dim, double length, bool periodic_x_axis=false, string coordinate_system="cartesian") | |
This class defines the 1D lattice structure over which the state and potential are defined.
As to single-process execution, the lattice is a single tile which can be surrounded by a halo, in the case of periodic boundary conditions. As to multi-process execution, the lattice is divided in smaller lattices, dubbed tiles, one for each process. Each of the tiles is surrounded by a halo.
| Lattice1D::Lattice1D | ( | int | dim, |
| double | length, | ||
| bool | periodic_x_axis = false, |
||
| string | coordinate_system = "cartesian" |
||
| ) |
Lattice constructor.
| [in] | dim | Linear dimension of the chain lattice. |
| [in] | length | Physical length of the lattice. |
| [in] | periodic_x_axis | Boundary condition along the x axis (false=closed, true=periodic). |
| [in] | coordinate_system | Type of the coordinate system used. |
1.8.11