Grid icon indicating copy to clipboard operation
Grid copied to clipboard

Gauge transformations and boundary conditions

Open coppolachan opened this issue 8 years ago • 0 comments

Currently the gauge transformations do not take into account non trivial boundary conditions.

Cshift here assumes trivial BC.

template<typename GaugeField,typename GaugeMat>
  static void GaugeTransform( GaugeField &Umu, GaugeMat &g){
    GridBase *grid = Umu._grid;
    conformable(grid,g._grid);

    GaugeMat U(grid);
    GaugeMat ag(grid); ag = adj(g);

    for(int mu=0;mu<Nd;mu++){
      U= PeekIndex<LorentzIndex>(Umu,mu);
      U = g*U*Cshift(ag, mu, 1);
      PokeIndex<LorentzIndex>(Umu,U,mu);
    }
  }

coppolachan avatar Jul 26 '17 11:07 coppolachan