3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 11:13:46 +01:00
Commit Graph

83 Commits

Author SHA1 Message Date
Olivier Parcollet
8f975234c6 doc: fix cmake for Ubuntu
- findpackage missing
2014-06-06 14:31:44 +02:00
Olivier Parcollet
3fe400d34c doc : split c++ code from rst
- examples split from the rst file using a python script (split_code).
- Final result for the doc is unchanged.
- examples are compiled and tested with the other tests.
- examples' code have been clang-formatted, with triqs style.
- doc compiles much faster, and with the same options as the rest of the
  test.
- examples are added as tests, so they are run by make test, as simple C
  tests.
- done for the tutorials and the reference.
- autocompile removed (changed into triqs_example directive).
- add triqs_example :
   - make a literal include of the source code.
   - runs the compiled example
   - add, as before, the result to the source code in the doc.
- added the script split_code, used to make the changes automatically,
  maybe for later reuse. (in _tools)
2014-05-31 23:00:16 +02:00
Olivier Parcollet
4f51c1e043 Correction.
- forgot the doc file.
- minor correction for wrapping application
2014-05-31 18:51:50 +02:00
Olivier Parcollet
4e9460bc1c Wrapper : clean and document.
- clean the c_name.
- add more refined signature (with c_name optionally in it).
- add some autodoc.
- clean code : move class in nested, remove useless dict call, etc...
- operator2 : move unary - and unit in algebra in general wrapper.
- various name change to make private function start with _, for
  autodoc.
2014-05-31 16:10:07 +02:00
Olivier Parcollet
2d071bb74b Remove Cython & prepare wrapper for applis.
- removed cython : macro, detection, pxd, etc...
- adapt wrapper tools for external applis.
- cleaned doc for cython
2014-05-30 19:34:13 +02:00
Olivier Parcollet
e6529b608e Change implementation of random_generator & python wrapper.
- Use a new buffered_function to replace the complicated generator code from ALPS.
- Clean the implementation of the random_generator
- update the documentation
- update to the new python wrapper (could not be done with the previous
  version, because of lack of move constructor).
2014-05-29 22:25:22 +02:00
tayral
2be9587078 Small fix in gf doc. 2014-05-08 12:29:39 +02:00
Hartmut Hafermann
a0bfead2c6 added a missing dependency for compiling doc 2014-04-22 11:45:09 +02:00
tayral
14067abb34 Statistical tools documentation. 2014-04-17 13:39:51 +02:00
Olivier Parcollet
a730f093d6 arrays: fix fold and update documentation
- fold was not correct in e.g. passing an int as init instead of a
  double (was leading to narrowing in return).
- better return type deduction.
- there was an error in the doc (order of argument in the lambda !)
- add a more complex example (Frobenius norm of matrices).
2014-04-09 21:24:03 +02:00
Olivier Parcollet
3fd3f38446 clef: fix lazy method call for gcc
- was not compiling on gcc (forward declaration issue).
- now clearer
- add a trivial print change in the mc class (to avoid trivial commit).
2014-04-06 13:01:17 +02:00
Michel Ferrero
ecbcc60930 Add documentation for web profiling 2014-04-01 17:09:38 +02:00
tayral
d85cf0b4d2 Working on doc for det_manip
Work on det_manip doc
2014-03-19 14:00:53 +01:00
tayral
8c1f7945e4 Various small fixes in imfreq Gfs.
- documentation of matsubara_freq_mesh
- fixing doc of fit_tail
- fixing right conventions for matsubara_freq_mesh
2014-02-19 11:59:47 +00:00
tayral
da7e7ec971 Fixed fit_tail for pos. and neg. matsub + bosonic
-> code was previously assuming mesh with only positive, fermionic matsubara freqs
-> changed wn_min to n_min (was misleading, since it was an index, not a frequency) / same for <-> max
-> changed doc accordingly
2014-02-18 16:16:14 +01:00
tayral
b129b3d17b Added basic doc + additional test for tail fitting
- added test for a 'real-life' GF + corresponding output
- added basic usage documentation for tail fitting from c++. Full implementation details yet to be written
2014-02-18 16:16:14 +01:00
tayral
2a71d2e54a Changed format of requirement warning in doc
- now more visible
- also added link to applications page
2014-02-18 16:16:14 +01:00
Laura Messio
3437c2dfe9 doc: small tutorial for the GF's 2014-01-20 17:49:47 +01:00
Olivier Parcollet
1ecec0b933 gfs: Fix bug in imfreq with <0 freq.
- there was a confusion in gf imfreq, in the new case
where freq can be <0 (non real gf, or for product gf).
- index: is the matsubara n, as in the struct matsubara_freq
  index can be >0 or <0
- linear_index : is the shift from the 0. It is always >0.
  Fixed function to compute it.

- Also changed the construction of mesh_point in the generic iterator.
  Before, was constructed with a mesh point of index 0
  Now, added a new constructor on mesh_point_t, just taking the mesh
  which construct the *first* mesh_point.
  Fixed linear, discrete, product accordingly.
  Added to the documentation of the concepts of gf.
2014-01-05 20:10:33 +01:00
tayral
cd77520a78 Add doc for tightbinding and bravaislattice. 2013-12-31 15:26:20 +01:00
tayral
c74105636c documentation for tail (python+c++) and for profiling 2013-12-31 14:38:55 +01:00
Michel Ferrero
f7fad85fca Iteration over the doc
This is an iteration over the doc mainly thank to Priyanka.
I fixed another couple of details on the way.
2013-12-31 14:22:00 +01:00
Olivier Parcollet
bdac3e159c work on doc for gf, and details.
- little details : code cleaning, clang formatting,  along
with documentation writing for c++ gf.
- separated the mesh in small class for better doc.
- work on documentation : reorganize specialisation, ...
2013-12-30 22:32:16 +01:00
Olivier Parcollet
59b969dbd3 arrays: fix mapped_function (conj overload)
- conj overload should return complex, as in standard.
- changed the test output for mapped_function.
- fixed make_matrix_view and example in doc.
2013-12-30 22:32:15 +01:00
Laura Messio
f56a0abc09 doc: typo corrected 2013-12-18 22:47:30 +01:00
Laura Messio
67a1a7c079 doc: cookbooks from det_manip and arrays harmonized 2013-12-18 15:50:18 +01:00
Laura Messio
dbe2224caf more complete cookbook for det_manip 2013-12-18 13:30:17 +01:00
Olivier Parcollet
cce99383ee doc : update installation requirements 2013-12-17 20:47:50 +01:00
Michel Ferrero
3a2d3f4012 Fix tail in update_archive 2013-12-16 14:33:19 +01:00
Olivier Parcollet
b251929138 Work on documentation 2013-11-20 15:17:08 +01:00
Olivier Parcollet
17ab555213 gf: fix matsubara_freq and mesh_pt
- cleaner implementation, solve some bugs...
2013-11-20 15:16:53 +01:00
Olivier Parcollet
0b7bfec32e Work on doc. 2013-11-18 23:41:32 +01:00
Olivier Parcollet
c151e63de2 arrays : rm old array_proxy
- useless old draft
2013-11-18 23:41:32 +01:00
Olivier Parcollet
579368f24b gf. Clean Fourier
- lazy_fourier and co --> fourier
- ex fourier --> make_gf_from_fourier to make a new gf
- = fourier (g) works only iif lhs is a view, like scalar.
- updated python (commented fourier method).
2013-10-23 18:46:55 +02:00
Olivier Parcollet
1d5ea99d4f gf block : clean
- clean some constructor and clang format
2013-10-23 18:08:12 +02:00
Olivier Parcollet
1b5aceb2a5 gf: Work on documentation 2013-10-22 21:29:40 +02:00
Michel Ferrero
6a140d2950 Update documentation
Changelog and some updates were done.
2013-10-21 15:12:11 +02:00
Michel Ferrero
1e94eab495 Put back the meta in documentation
modified:   doc/index.rst
2013-09-18 11:50:18 +02:00
Michel Ferrero
28140f14fb Work on documentation
Mainly on the python part. I had a quick browse through to check if
the scripts were still working.
2013-09-17 14:55:55 +02:00
Michel Ferrero
2921cbcc06 Cythonize random generators
A trivial cythonized version of the c++ random_generator class.
Useful to get the names of the generators from the python.

  new file:   pytriqs/random/*
  new file:   doc/reference/python/random/*
2013-09-16 12:20:06 +02:00
tayral
e0f0c85c3d doc: fixed a few typos+ put back tutorial for arrays+changed a few titles 2013-09-13 17:46:51 +02:00
Michel Ferrero
f0dfabff38 Change tail implementation with fixed array size
Now the tail have a fixed size. It actually makes everything simpler. I took
order_min = -1 and order_max = 8. This makes the tails compatible with the
previous implementation. However we might want to change this to something like
-10, 10 so that they are self-contained. This commit should also fix issue #11.
2013-09-12 15:21:56 +02:00
Olivier Parcollet
1a85f5a16c Work on doc 2013-09-11 18:38:18 +02:00
Michel Ferrero
18b5e11bef Move the boost formula to triqs/formulas
The doc is updated.
2013-09-10 14:16:40 +02:00
Michel Ferrero
32bee97004 Change link from github
modified:   doc/install.rst
  modified:   doc/installation/osx_lion.rst
2013-09-09 15:53:26 +02:00
Laura Messio
196e3f9663 doc: det_manip, link towards the cookbook added, explanations added 2013-09-09 15:41:46 +02:00
Michel Ferrero
dade89f60d Add necessary version of cmake
modified:   doc/installation/requirements.rst
2013-09-09 14:48:49 +02:00
Michel Ferrero
e7d29d8243 New notation for Monte Carlo variables 2013-09-09 10:55:54 +02:00
Olivier Parcollet
fe58c9759f Work on doc. Added notations & C++ intro 2013-09-08 22:13:04 +02:00
Olivier Parcollet
b1f61b2f7a Work on doc 2013-09-08 16:13:53 +02:00