1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 01:05:38 +01:00

Revert "Added automated HMC test for Nc=4"

This reverts commit eee27b8b30.
This commit is contained in:
Julian Lenz 2023-05-17 09:17:48 +01:00
parent b3533ca847
commit 55f9cce577
2 changed files with 1 additions and 11 deletions

View File

@ -6,4 +6,3 @@ check: tests
./Test_project_on_Sp
./Test_sp2n_lie_gen
./Test_Sp_start
./Test_hmc_Sp_Wilson2ASFermionGauge --grid 4.4.4.4 --Trajectories 1 --Thermalizations 0 --StartingType ColdStart --assert=true

View File

@ -1,6 +1,6 @@
#include <Grid/Grid.h>
int main(int argc, char** argv) {
int main(int argc, char **argv) {
using namespace Grid;
typedef Representations<SpFundamentalRepresentation,
@ -77,15 +77,6 @@ int main(int argc, char** argv) {
TheHMC.ReadCommandLine(argc, argv);
TheHMC.Run();
if (std::string(argv[argc - 1]).compare("--assert=true") == 0) {
// this is the pseudofermion action's value for
// --grid 4.4.4.4 --Trajectories 1 --Thermalizations 0 --StartingType
// ColdStart and Nc == 4 if this assertion fails, check that you have run
// with these exact parameters
assert(Nc == 4);
assert(abs(Nf2.S(U) - 6586.6498) < 1.e-4);
}
Grid_finalize();
}