Skip to content

Commit 5ed4311

Browse files
committed
make move_double on by default
1 parent 66f14dd commit 5ed4311

16 files changed

+9
-86
lines changed

c++/triqs_ctseg/params.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ namespace triqs_ctseg {
9393
bool move_remove_segment = true;
9494

9595
/// Whether to perform the move double insert segment
96-
bool move_double_insert_segment = false;
96+
bool move_double_insert_segment = true;
9797

9898
/// Whether to perform the move double remove segment
99-
bool move_double_remove_segment = false;
99+
bool move_double_remove_segment = true;
100100

101101
/// Whether to perform the move move segment
102102
bool move_move_segment = true;

doc/guide/moves.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ Randomly choose two different colors. For each color, perform a single removal.
9595

9696
.. note::
9797

98-
**Double insert** and **Double remove** are off by default.
99-
They may be switched on for solving impurities with strong attractive interactions to improve ergodicity (see :doc:`Solve parameters <./step_by_step>`).
98+
**Double insert** and **Double remove** are for improving ergodicity.
10099

101100
Insert spin segment
102101
*******************

python/triqs_ctseg/parameters_solve_params_t.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
3232
| move_remove_segment | bool | true | Whether to perform the move remove segment |
3333
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
34-
| move_double_insert_segment | bool | false | Whether to perform the move double insert segment |
34+
| move_double_insert_segment | bool | true | Whether to perform the move double insert segment |
3535
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
36-
| move_double_remove_segment | bool | false | Whether to perform the move double remove segment |
36+
| move_double_remove_segment | bool | true | Whether to perform the move double remove segment |
3737
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
3838
| move_move_segment | bool | true | Whether to perform the move move segment |
3939
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+

python/triqs_ctseg/solver_core_desc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@
190190
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
191191
| move_remove_segment | bool | true | Whether to perform the move remove segment |
192192
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
193-
| move_double_insert_segment | bool | false | Whether to perform the move double insert segment |
193+
| move_double_insert_segment | bool | true | Whether to perform the move double insert segment |
194194
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
195-
| move_double_remove_segment | bool | false | Whether to perform the move double remove segment |
195+
| move_double_remove_segment | bool | true | Whether to perform the move double remove segment |
196196
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
197197
| move_move_segment | bool | true | Whether to perform the move move segment |
198198
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
@@ -343,12 +343,12 @@
343343

344344
c.add_member(c_name = "move_double_insert_segment",
345345
c_type = "bool",
346-
initializer = """ false """,
346+
initializer = """ true """,
347347
doc = r"""Whether to perform the move double insert segment""")
348348

349349
c.add_member(c_name = "move_double_remove_segment",
350350
c_type = "bool",
351-
initializer = """ false """,
351+
initializer = """ true """,
352352
doc = r"""Whether to perform the move double remove segment""")
353353

354354
c.add_member(c_name = "move_move_segment",

test/c++/anderson.ref.h5

-2.23 KB
Binary file not shown.

test/c++/spin_spin.ref.h5

-2.08 KB
Binary file not shown.

test/python/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ set(all_tests
1414
./multiorb
1515
./dynamic_int_multiorb
1616
./dimer
17-
./move_double
1817
)
1918

2019
foreach(test ${all_tests})

test/python/Jperp.ref.h5

0 Bytes
Binary file not shown.

test/python/anderson.ref.h5

349 Bytes
Binary file not shown.

test/python/dimer.ref.h5

-2 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)