Commit 581e14c7 authored by gbalduzz's avatar gbalduzz
Browse files

default store-config is true.

parent 2d2e8e4e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ public:
        fix_meas_per_walker_(false),
        adjust_self_energy_for_double_counting_(false),
        error_computation_type_(ErrorComputationType::NONE),
        store_configuration_(false) {}
        store_configuration_(true) {}

  template <typename Concurrency>
  int getBufferSize(const Concurrency& concurrency) const;
+1 −1
Original line number Diff line number Diff line
@@ -421,7 +421,7 @@ Determines the type of error computation that will be performed during the last
- "STANDARD_DEVIATION"
- "JACK_KNIFE"

`"store-configuration"` : boolean (false)
`"store-configuration"` : boolean (true)
If true, the vertex configuration is stored between DCA iterations to initialize the walkers of the following iteration.

<br></br>
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
        "sweeps-per-measurement": 4.,
        "measurements": 200,
        "error-computation-type" : "JACK_KNIFE",
        "store-configuration" : true,
        "store-configuration" : false,

        "threaded-solver": {
            "walkers": 3,
+3 −3
Original line number Diff line number Diff line
@@ -34,8 +34,8 @@ TEST(MciParametersTest, DefaultValues) {
  EXPECT_EQ(1, pars.get_walkers());
  EXPECT_EQ(1, pars.get_accumulators());
  EXPECT_EQ(false, pars.shared_walk_and_accumulation_thread());
  EXPECT_FALSE(pars.adjust_self_energy_for_double_counting());
  EXPECT_FALSE(pars.store_configuration());
  EXPECT_EQ(false, pars.adjust_self_energy_for_double_counting());
  EXPECT_EQ(true, pars.store_configuration());
}

TEST(MciParametersTest, ReadAll) {
@@ -54,7 +54,7 @@ TEST(MciParametersTest, ReadAll) {
  EXPECT_EQ(3, pars.get_walkers());
  EXPECT_EQ(5, pars.get_accumulators());
  EXPECT_EQ(true, pars.shared_walk_and_accumulation_thread());
  EXPECT_TRUE(pars.store_configuration());
  EXPECT_EQ(false, pars.store_configuration());
}

TEST(MciParametersTest, ReadPositiveIntegerSeed) {