qlat.Geometry

class qlat.Geometry(Coordinate total_site=None)
__init__()

if total_site is None: create geo uninitialized

Methods

__init__

if total_site is None: create geo uninitialized

coordinate_from_index(self, Long index)

coordinate_g_from_l(self, Coordinate xl)

coordinate_l_from_g(self, Coordinate xg)

copy(self[, is_copying_data])

index_from_coordinate(self, Coordinate xg)

is_local(self, Coordinate xl)

is_local_xg(self, Coordinate xg)

return a global coordinate is inside the local volume or not

show(self)

xg_arr(self)

return xg for all local sites shape = (geo.local_volume, 4,)

Attributes

cdata

coor_node

eo

expansion_left

expansion_right

id_node

is_only_local

local_site

local_volume

num_node

size_node

total_site

total_volume