1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Cold start doesnt need RNG

This commit is contained in:
paboyle 2017-12-05 11:36:31 +00:00
parent 3127b52c90
commit ae3b7713a9

View File

@ -746,7 +746,7 @@ template<typename GaugeField,typename GaugeMat>
} }
} }
template<typename GaugeField> template<typename GaugeField>
static void ColdConfiguration(GridParallelRNG &pRNG,GaugeField &out){ static void ColdConfiguration(GaugeField &out){
typedef typename GaugeField::vector_type vector_type; typedef typename GaugeField::vector_type vector_type;
typedef iSUnMatrix<vector_type> vMatrixType; typedef iSUnMatrix<vector_type> vMatrixType;
typedef Lattice<vMatrixType> LatticeMatrixType; typedef Lattice<vMatrixType> LatticeMatrixType;
@ -757,6 +757,10 @@ template<typename GaugeField,typename GaugeMat>
PokeIndex<LorentzIndex>(out,Umu,mu); PokeIndex<LorentzIndex>(out,Umu,mu);
} }
} }
template<typename GaugeField>
static void ColdConfiguration(GridParallelRNG &pRNG,GaugeField &out){
ColdConfiguration(out);
}
template<typename LatticeMatrixType> template<typename LatticeMatrixType>
static void taProj( const LatticeMatrixType &in, LatticeMatrixType &out){ static void taProj( const LatticeMatrixType &in, LatticeMatrixType &out){