mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
7edf4c6c04
TODO: Inherit types for the pseudofermions, Debugging, testing
41 lines
774 B
C++
41 lines
774 B
C++
/*
|
|
* Policy classes for the HMC
|
|
* Author: Guido Cossu
|
|
*/
|
|
|
|
#ifndef FUNDAMENTAL_H
|
|
#define FUNDAMENTAL_H
|
|
|
|
|
|
namespace Grid {
|
|
namespace QCD {
|
|
|
|
/*
|
|
* This is an helper class for the HMC
|
|
* Empty since HMC updates already the fundamental representation
|
|
*/
|
|
|
|
template <int ncolour>
|
|
class FundamentalRep {
|
|
public:
|
|
const int Dimension = ncolour;
|
|
|
|
// typdef to be used by the Representations class in HMC to get the
|
|
// types for the higher representation fields
|
|
typedef typename SU<ncolour>::LatticeMatrix LatticeMatrix;
|
|
typedef LatticeGaugeField LatticeField;
|
|
|
|
explicit FundamentalRep(GridBase* grid) {} //do nothing
|
|
void update_representation(const LatticeGaugeField& Uin) {} // do nothing
|
|
};
|
|
|
|
typedef FundamentalRep<Nc> FundamentalRepresentation;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|