mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-05-15 11:43:42 +02:00
31 lines
1,020 B
Markdown
31 lines
1,020 B
Markdown
|
|
# Lattice structure
|
|
|
|
D-dimensional lattice points are labeled by two ordered integer
|
|
numbers: the point-in-block index ($$b$$ in the figure below) and the
|
|
block index ($$r$$ in the figure below). This is called **natural
|
|
indexing**, in contrast with the **lexicographic indexing** where points on
|
|
the lattice are represented by a D-dimensional `CartesianIndex`.
|
|
The routines [`up`](@ref) and
|
|
[`dw`](@ref) allow you to displace to the neighboring points of the
|
|
lattice.
|
|

|
|
|
|
Directions are numbered fro 1 to D, and then Euclidean time is always
|
|
assumed to be the last coordinate. Planes are also numbered from 1 to
|
|
$$N(N-1)/2$$. The structure [`SpaceParm`](@ref)
|
|
contains the information of the
|
|
lattice structure and has to be passed as argument to most routines.
|
|
|
|
```@docs
|
|
SpaceParm
|
|
up
|
|
dw
|
|
updw
|
|
point_coord
|
|
point_time
|
|
point_index
|
|
point_color
|
|
```
|