3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 11:43:47 +01:00
dft_tools/triqs/lattice
Olivier Parcollet fc2a620eae arrays: new ref counting and weak views
- improve the mem_block and shared_block.
- the reference counting is now done in the mem_block and shared_block, removing the need of shared_ptr.

- speed tests shows that shared_ptr is very slow (due to thread safety?)
the new version is much better, though not perfect.

- Hence introducing weak views.

- also :
-- clean the guard mechanism for python (to allow returning from python without any python ref left).
-- clean code, add documentation for mem_block
-- remove nan init, which was not working, and corresponding test
-- serialisation of view still unchanged (need to forbid serialization of view ??).

- tests ok, incl. valgrind tests.
2013-07-23 08:13:44 +02:00
..
bravais_lattice_and_brillouin_zone.cpp arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
bravais_lattice_and_brillouin_zone.hpp arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
concepts.rst First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
functors.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
grid_generator.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
tight_binding.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
tight_binding.cpp.new First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
tight_binding.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00