Source code for py_core.Lattice_QFT.lattice

import numpy as np

[docs] class lattice:
[docs] def __init__(self,nt,a, nx = None, dx = None, phi0 = 0.): if dx is None: dx = a if nx is None: nx = nt self.__t_x = np.full((nt,nx,nx,nx),fill_value = phi0) self.__a = a self.__dx = dx