Massively Parallel Trotter-Suzuki Solver  1.6.2
Public Member Functions | List of all members
Lattice1D Class Reference

This class defines the 1D lattice structure over which the state and potential are defined. More...

#include <trottersuzuki.h>

Inheritance diagram for Lattice1D:

Public Member Functions

 Lattice1D (int dim, double length, bool periodic_x_axis=false, string coordinate_system="cartesian")
 

Detailed Description

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.

Constructor & Destructor Documentation

Lattice1D::Lattice1D ( int  dim,
double  length,
bool  periodic_x_axis = false,
string  coordinate_system = "cartesian" 
)

Lattice constructor.

Parameters
[in]dimLinear dimension of the chain lattice.
[in]lengthPhysical length of the lattice.
[in]periodic_x_axisBoundary condition along the x axis (false=closed, true=periodic).
[in]coordinate_systemType of the coordinate system used.

The documentation for this class was generated from the following files: