mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-10-26 20:25:45 +01:00
842 B
842 B
Lattice fields
The module Fields include simple routines to define a few typical
fields. Fields are simple CuArray types with special memory
layout. A field always has an associated elemental type (i.e. for
gauge fields SU3, for scalar fields Float64). We have:
- scalar fields: One elemental type in each spacetime point.
- vector field: One elemental type at each spacetime point and direction.
Nscalar fields:Nelemental types at each spacetime point.
Fields can have naturaL indexing, where the memory layout follows
the point-in-block and block indices (see
SpaceParm). Fields can also have lexicographic indexing,
where points are labelled by a D-dimensional index (see scalar_field_point).
Initialization
scalar_field
vector_field
nscalar_field
scalar_field_point