mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Revert "Added automated HMC test for Nc=4"
This reverts commit eee27b8b30
.
This commit is contained in:
parent
b3533ca847
commit
55f9cce577
@ -6,4 +6,3 @@ check: tests
|
|||||||
./Test_project_on_Sp
|
./Test_project_on_Sp
|
||||||
./Test_sp2n_lie_gen
|
./Test_sp2n_lie_gen
|
||||||
./Test_Sp_start
|
./Test_Sp_start
|
||||||
./Test_hmc_Sp_Wilson2ASFermionGauge --grid 4.4.4.4 --Trajectories 1 --Thermalizations 0 --StartingType ColdStart --assert=true
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <Grid/Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char **argv) {
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|
||||||
typedef Representations<SpFundamentalRepresentation,
|
typedef Representations<SpFundamentalRepresentation,
|
||||||
@ -77,15 +77,6 @@ int main(int argc, char** argv) {
|
|||||||
TheHMC.ReadCommandLine(argc, argv);
|
TheHMC.ReadCommandLine(argc, argv);
|
||||||
TheHMC.Run();
|
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();
|
Grid_finalize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user