1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-05-21 01:24:16 +01:00

Adding config input

This commit is contained in:
Chulwoo Jung
2025-08-15 20:52:36 +00:00
parent 7780d88d26
commit c1e5ef9476
+7 -2
View File
@@ -64,14 +64,19 @@ int main(int argc, char** argv) {
// SU<Nc>::HotConfiguration(RNG4, Umu); // SU<Nc>::HotConfiguration(RNG4, Umu);
SU<Nc>::ColdConfiguration(Umu); SU<Nc>::ColdConfiguration(Umu);
FieldMetaData header;
std::string file("./config");
NerscIO::readConfiguration(Umu,header,file);
/* /*
std::vector<LatticeColourMatrix> U(4, UGrid); std::vector<LatticeColourMatrix> U(4, UGrid);
for (int mu = 0; mu < Nd; mu++) { for (int mu = 0; mu < Nd; mu++) {
U[mu] = PeekIndex<LorentzIndex>(Umu, mu); U[mu] = PeekIndex<LorentzIndex>(Umu, mu);
} }
*/ */
// std::vector<Complex> boundary = {1,1,1,-1}; std::vector<Complex> boundary = {1,1,1,-1};
std::vector<Complex> boundary = {1,1,1,1}; // std::vector<Complex> boundary = {1,1,1,1};
FermionOp::ImplParams Params(boundary); FermionOp::ImplParams Params(boundary);