3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-26 22:33:48 +01:00
Commit Graph

57 Commits

Author SHA1 Message Date
Michel Ferrero
06265cba61 Fix doc CMakeLists to have system boost linked too
modified:   doc/CMakeLists.txt
2013-08-22 16:18:09 +02:00
Michel Ferrero
e9628aa902 Fix a name in triqs theme
modified:   doc/themes/triqs/layout.html
2013-08-22 10:18:54 +02:00
Michel Ferrero
e90bd92d99 Add documentation about operators and IPT
new file:   doc/reference/python/operators/
  new file:   doc/tutorials/python/ipt/
2013-08-21 10:12:15 +02:00
Michel Ferrero
6589310b1b Add new triqs theme
modified:   doc/CMakeLists.txt
  new file:   doc/themes/triqs/
2013-08-21 10:11:31 +02:00
Michel Ferrero
4cb83c370b Fix RPATH issues
modified:   cmake/TRIQSConfig.cmake.in
2013-08-07 17:06:44 +02:00
Michel Ferrero
f7a44ad6dd Allow to fix install_name_dir for OSX
modified:   cmake/TRIQSConfig.cmake.in
2013-08-02 14:01:21 +02:00
Michel Ferrero
efde32d1e0 Clean a bit CMakeFiles
modified:   cmake/BuildSphinx.cmake
  modified:   cmake/FindTestScriptHdf.cmake
  modified:   cmake/FindTriqsTest.cmake.in
  modified:   cmake/TRIQSConfig.cmake.in
2013-08-02 10:16:28 +02:00
Michel Ferrero
bd4065d4ec Comment out unreachable code to avoid warning
modified:   test/pytriqs/arrays/expr.pyx
2013-08-02 10:15:29 +02:00
Michel Ferrero
05e1734ebf Better name for run_pytriqs_for_test
modified:   shells/CMakeLists.txt
2013-08-02 10:15:05 +02:00
Michel Ferrero
3162d504b7 Add some more direct accesses in pytriqs/operators
modified:   pytriqs/operators/__init__.py
2013-08-02 10:14:33 +02:00
Michel Ferrero
526859bf14 Fix a bit the documentation
modified:   doc/CMakeLists.txt
  deleted:    doc/reference/c++/CMakeLists.txt.v1
  deleted:    doc/reference/c++/arrays/examples_h5/CMakeLists.txt
  deleted:    doc/reference/c++/arrays_old/CMakeLists.txt.Old
  deleted:    doc/reference/c++/clef/CMakeLists.txt
  modified:   doc/reference/c++/det_manip/CMakeLists.txt
  modified:   doc/reference/c++/gf/CMakeLists.txt
  modified:   doc/reference/c++/parameters/CMakeLists.txt
  deleted:    doc/reference/python/CMakeLists.txt
  deleted:    doc/reference/python/data_analysis/hdf5/CMakeLists.txt
2013-08-02 10:14:33 +02:00
Olivier Parcollet
4f4c697897 separate some tests in c++11 dir for old compilers.
new policy : for non standard conforming compilers,
we can skip the tests using new features using recent c++ features.
I.e. compilers below gcc 4.8.1, clang 3.3.
2013-07-30 22:37:41 +02:00
Olivier Parcollet
44bf1e322a gf product and curry. First draft
- works on simple case, to be reread.
- curry in general. To be reread ..
- added some tests.
2013-07-30 22:37:41 +02:00
Olivier Parcollet
f6fa63c9b3 gf: clean h5name
- _s automatically done for scalar_valued.
- add simple reinterpretation of gf scalar to matrix view to
easy h5 saving to plot in python
2013-07-30 22:37:41 +02:00
Olivier Parcollet
c5c016aa79 gf: add gf_scalar test 2013-07-30 22:37:41 +02:00
Olivier Parcollet
e707cd8754 correction tuple_tools for gcc 4.6 2013-07-30 22:37:41 +02:00
Olivier Parcollet
0172c61892 tuple_tools : add push_back/front, call_on_zip
- changed apply_on_zip3 -> apply_on_zip ...
2013-07-30 09:08:57 +02:00
Olivier Parcollet
0cdfc4f2d3 tuple_tools : add apply_construct
- given a class F and a tuple t,
it returns F(t[0], t[1], ...)
2013-07-30 09:08:57 +02:00
Olivier Parcollet
c16dc354a9 tuple tools : generalize apply_on_zip to accept && 2013-07-30 09:08:57 +02:00
Olivier Parcollet
65bdc65da1 gf: fix upper bound in out of bounds check in linear mesh 2013-07-29 11:53:02 +02:00
Olivier Parcollet
bd4926157c [API BREAK] rename directory gf -> gfs 2013-07-29 11:53:02 +02:00
Olivier Parcollet
7847b71552 [API BREAK] gf : mesh_pt into []
- All access to grid is now using the [] operator.
() always returns const, and is an evaluation over the domain.

- Now :
 * () is always a call to evaluator (or a lazy expression).
 * mesh_pt accepted by [] , both const and non const,
and not by ().

- Ported the libs (fourier et al.) but this break API.
2013-07-29 11:52:53 +02:00
Olivier Parcollet
40f8cb5c18 [API BREAK] gf : rename namespace gf->gfs
- necessary otherwise the class gf and the namespace have
the same name, leading to some confusion, and need to qualify
some functions (specially on gcc).
Same naming conventions as arrays.
2013-07-28 21:11:28 +02:00
Olivier Parcollet
54f12f9fc0 doc: fix the MathJax option
- if Mathjax is detected, use it by default,
it not do not use it by default but allow the user
to provide the path.
2013-07-28 11:49:28 +02:00
Olivier Parcollet
37f861b0b5 gf: draft of iterator on gf blocks ...
- to be completed
- missing cbegin et al, pb with for(auto & g : ...)
because it returns a view...
2013-07-27 15:06:10 +02:00
Olivier Parcollet
893736dbbf added two little tests ...
- draft of reinterpret_array_view and immutable_diagonal_matrix
2013-07-26 18:23:46 +02:00
Olivier Parcollet
27b28790f3 cmake. add system to boost detection 2013-07-26 10:41:10 +02:00
Olivier Parcollet
9290e640fd icc : workaround macro was not set in the config.h
- forgot to declare one cmake var.
- test can now be not compiled (Build_Triqs_General_Tools_Test had no
  effect)
2013-07-25 23:08:44 +02:00
Olivier Parcollet
7367e4d50a utility : add printing of a tuple
- << tuple now works, with a default version.
Useful for debugging
2013-07-25 15:19:54 +02:00
Olivier Parcollet
bc64776de1 arrays: fix a missing include in eigenelements 2013-07-25 15:19:54 +02:00
Olivier Parcollet
f12eccc69f cmake: add macro to fix rpath to triqs install
- to be tested on mac
2013-07-25 15:19:54 +02:00
Olivier Parcollet
b196561a9a utility : add tuple_serialize code 2013-07-25 15:19:54 +02:00
Olivier Parcollet
32814be65e gf : add nearest_point for krylov
To be cleaned, it is redundant.
I put it here to make the krylov app compile properly
2013-07-25 15:19:54 +02:00
Olivier Parcollet
2c77efe619 uility : add foreach_enumerate
- to be tested
2013-07-25 15:19:54 +02:00
Olivier Parcollet
157b014ad8 arrays/vector: little correction on = std::vector
- forgot the borrowed flag.
simple consequence of the weak view change.
2013-07-25 15:19:54 +02:00
Michel Ferrero
505839b339 Fix a misplaced NOT in FindCompilerCheck.cmake
modified:   cmake/FindCompilerCheck.cmake
2013-07-24 14:34:41 +02:00
Olivier Parcollet
cd411bba1e add little modif to make the dft apps 2013-07-23 20:57:53 +02:00
Olivier Parcollet
40b508eb14 add many body operators in python (old version)
- The old code, which was in the solvers,
is used in several apps (dft, ctqmc_hyb).
It is really a lib, even though it is now superseded
by Igor and Andrey's library...
(to be deprecated at some point).
2013-07-23 20:56:39 +02:00
Olivier Parcollet
f7b88b839c mc_tools : add precomputation (first draft)
- add precomputation as auxiliary measure,
computed before the accumulation of measures.
2013-07-23 13:43:54 +02:00
Laura Messio
76d74ce0da doc : gf, fourier,meshes 2013-07-23 11:31:22 +02:00
Laura Messio
71c709b0ba gf with products of meshes : bug corrected and commented 2013-07-23 11:31:22 +02:00
Laura Messio
8b4404c1a9 gf: test of retime and refreq improved, the scalar_valued evaluator now works. 2013-07-23 11:31:22 +02:00
Olivier Parcollet
43078dc597 add get_component 2013-07-23 11:31:22 +02:00
Laura Messio
3bf00059a4 gf: retime, imtime: constructor from mesh added
- also on product.... (gf: re_im_time, refreq_imtime)
2013-07-23 11:31:22 +02:00
Laura Messio
5f133154e8 test of re_im_freq_time.cpp ok 2013-07-23 11:31:22 +02:00
Laura Messio
91432bfb80 refreq_imtime.hpp: bug corrected 2013-07-23 11:31:22 +02:00
Laura Messio
c9f6666914 fourier_matsubara: still some useless & removed 2013-07-23 11:31:22 +02:00
Laura Messio
a69e2f52aa fourier_real: scalar_valued implementation 2013-07-23 11:31:22 +02:00
Olivier Parcollet
f4d42a4ec8 arrays : clean an old example 2013-07-23 08:13:52 +02:00
Olivier Parcollet
552c440238 arrays : add ConstView to fix const correctness
- A()(0) = 1
will not work any more if A is const, as it should be.

- Introduced the notion of const_view, simply done by a flag
(flag 0, for easy debug)
- changed the slice of ISP to use it (only on C++11 compliant compiler)
- Move BoundCheck Flags to 5.
2013-07-23 08:13:52 +02:00