Skip to content

Commit fe0d1a4

Browse files
committed
make move_double on by default
1 parent a4d9ae9 commit fe0d1a4

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
@@ -87,10 +87,10 @@ namespace triqs_ctseg {
8787
bool move_remove_segment = true;
8888

8989
/// Whether to perform the move double insert segment
90-
bool move_double_insert_segment = false;
90+
bool move_double_insert_segment = true;
9191

9292
/// Whether to perform the move double remove segment
93-
bool move_double_remove_segment = false;
93+
bool move_double_remove_segment = true;
9494

9595
/// Whether to perform the move move segment
9696
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
@@ -27,9 +27,9 @@
2727
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
2828
| move_remove_segment | bool | true | Whether to perform the move remove segment |
2929
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
30-
| move_double_insert_segment | bool | false | Whether to perform the move double insert segment |
30+
| move_double_insert_segment | bool | true | Whether to perform the move double insert segment |
3131
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
32-
| move_double_remove_segment | bool | false | Whether to perform the move double remove segment |
32+
| move_double_remove_segment | bool | true | Whether to perform the move double remove segment |
3333
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
3434
| move_move_segment | bool | true | Whether to perform the move move segment |
3535
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+

python/triqs_ctseg/solver_core_desc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@
176176
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
177177
| move_remove_segment | bool | true | Whether to perform the move remove segment |
178178
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
179-
| move_double_insert_segment | bool | false | Whether to perform the move double insert segment |
179+
| move_double_insert_segment | bool | true | Whether to perform the move double insert segment |
180180
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
181-
| move_double_remove_segment | bool | false | Whether to perform the move double remove segment |
181+
| move_double_remove_segment | bool | true | Whether to perform the move double remove segment |
182182
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
183183
| move_move_segment | bool | true | Whether to perform the move move segment |
184184
+-------------------------------+--------------------------------------+-----------------------------------------+-------------------------------------------------------------------------------------------------------------------+
@@ -315,12 +315,12 @@
315315

316316
c.add_member(c_name = "move_double_insert_segment",
317317
c_type = "bool",
318-
initializer = """ false """,
318+
initializer = """ true """,
319319
doc = r"""Whether to perform the move double insert segment""")
320320

321321
c.add_member(c_name = "move_double_remove_segment",
322322
c_type = "bool",
323-
initializer = """ false """,
323+
initializer = """ true """,
324324
doc = r"""Whether to perform the move double remove segment""")
325325

326326
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)