1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Expose label only to reduce number of parameters

This commit is contained in:
Peter Boyle 2021-04-25 10:36:38 -04:00
parent dbe210dd53
commit 955a8113de

View File

@ -209,7 +209,6 @@ public:
template<class GaugeStats=PeriodicGaugeStatistics>
static inline void writeConfiguration(Lattice<vLorentzColourMatrixD > &Umu,
std::string file,
std::string ens_id = std::string("UKQCD"),
std::string ens_label = std::string("DWF"))
{
writeConfiguration(Umu,file,0,1,ens_id,ens_label);
@ -219,7 +218,6 @@ public:
std::string file,
int two_row,
int bits32,
std::string ens_id = std::string("UKQCD"),
std::string ens_label = std::string("DWF"))
{
typedef vLorentzColourMatrixD vobj;
@ -230,7 +228,7 @@ public:
// Following should become arguments
///////////////////////////////////////////
header.sequence_number = 1;
header.ensemble_id = ens_id;
header.ensemble_id = std::string("UKQCD");
header.ensemble_label = ens_label;
typedef LorentzColourMatrixD fobj3D;