Commit c1a3806c authored by gbalduzz's avatar gbalduzz
Browse files

default initial configuration size set to zero.

parent f269ab50
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ class McSolverParameters<solver::CT_AUX> {
public:
  McSolverParameters()
      : expansion_parameter_K_(1.),
        initial_configuration_size_(10),
        initial_configuration_size_(0),
        initial_matrix_size_(128),
        max_submatrix_size_(128),
        neglect_bennett_updates_(false),
+1 −1
Original line number Diff line number Diff line
@@ -464,7 +464,7 @@ Used if *CT-AUX* is selected as the cluster solver.
The perturbation order in the CT-AUX algorithm increases linearly with the expansion parameter *K*.  
While *K* is only subject to the restriction of being positive, values of the order of 1 have proven to be a good choice [3].

`"initial-configuration-size":` integer (10)  
`"initial-configuration-size":` integer (0)  
The CT-AUX solver is initialized with `"initial-configuration-size"` random **interacting** vertices.

`"initial-matrix-size":` integer (128)  
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ TEST(McSolverParametersCtAuxTest, DefaultValues) {
  dca::phys::params::McSolverParameters<dca::phys::solver::CT_AUX> pars;

  EXPECT_EQ(1., pars.get_expansion_parameter_K());
  EXPECT_EQ(10, pars.get_initial_configuration_size());
  EXPECT_EQ(0, pars.get_initial_configuration_size());
  EXPECT_EQ(128, pars.get_initial_matrix_size());
  EXPECT_EQ(128, pars.get_max_submatrix_size());
  EXPECT_FALSE(pars.neglect_bennett_updates());