diff --git a/src/examples/multi_nc.nim b/src/examples/multi_nc.nim new file mode 100644 index 0000000..ad7e33e --- /dev/null +++ b/src/examples/multi_nc.nim @@ -0,0 +1,72 @@ +import qex, gauge/stoutsmear + +qexInit() + +let + seed = 4321u + lat = @[8,8,8,16] + nd = lat.len + lo = lat.newLayout + vol = lo.physVol + gc = GaugeActionCoeffs(plaq: 6.0) + +var r = lo.newRNGField(RngMilc6, seed) + +var gaugeu1 = newseq[Field[VLEN,Color[MatrixArray[1,1,DComplexV]]]](nd) +var gaugesu2 = newseq[Field[VLEN,Color[MatrixArray[2,2,DComplexV]]]](nd) +var gaugesu3= newseq[Field[VLEN,Color[MatrixArray[3,3,DComplexV]]]](nd) +for i in 0..