3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/test/triqs/arrays
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
..
a_x_ty.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
a_x_ty.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
algorithms.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
algorithms.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
alias_matmul.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
array_algebra.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
array_cache2.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
array_cache2.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
array_mpi.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
array_mpi.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
assign_vect_array.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
assign_vect_array.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
assignment.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
assignment.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
blas_lapack.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
blas_lapack.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
bound_check.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
bound_check.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
bug2.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
bug3.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
CMakeLists.txt First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
common.hpp arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
compound_ops.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
compound_ops.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
create.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
create.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
cross_construct.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
dot.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
eigenelements.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
eigenelements.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
ellipsis.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
ellipsis.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
expr3.cpp.no-built First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
expr3.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
expr_matrix.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
expr_matrix.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
fill_with_lazy.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
fill_with_lazy.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
fold_expression.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
fold_expression.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
group_indices.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
group_indices.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
h5_proxy.cpp.no-built First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
h5_stack.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
h5_string_arrays.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
h5_vector_array.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
hdf5.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
hdf5.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
init_check.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
init_list.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
init_list.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
inverse2.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
inverse2.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
iterators.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
iterators.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
lapack_on_view.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
lexico_vector.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
make_immutables.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
make_immutables.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
map_expression.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
map_expression.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
mapped_functions.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
mapped_functions.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
mat_stack.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
mat_stack.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
mat_vec_mul2.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
mat_vec_mul.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
mat_vec_mul.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
matmul2.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
matmul.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
matrix_transpose.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
matrix_transpose.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
move.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
move.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
negate.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
non_numeric.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
non_numeric.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
permu.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
permu.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
printing.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
printing.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
scalar_assign.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
scalar_assign.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
serialization.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
serialization.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
slice_index_order.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
src First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
swap.cpp arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
swap.output arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
tridiag.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
vector_brack.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
vector_brack.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
vector_cmul.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
vector_cmul.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
vector_copy.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
vector_copy.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
views3.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
views3.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
views.cpp arrays: new ref counting and weak views 2013-07-23 08:13:44 +02:00
views.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
withSTL.cpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
withSTL.output First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00