3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 19:23:45 +01:00
Commit Graph

121 Commits

Author SHA1 Message Date
Olivier Parcollet
4413c6a588 Fix #3
I have no clue why this is a pb, and I can not reproduce it,
but the change is correct and trivial so I merge this pull request.
2013-09-08 16:54:22 +02:00
Olivier Parcollet
b1f61b2f7a Work on doc 2013-09-08 16:13:53 +02:00
Olivier Parcollet
f3480b60c6 doc : add some file 2013-09-08 15:42:44 +02:00
Olivier Parcollet
1dd2d9e691 correction after compiling on linux gcc 4.8.1/ clang 3.3
- clef : lazy_method is broken . remove it from the test for the moment.
2013-09-08 15:35:57 +02:00
Olivier Parcollet
4bbcbe35ef gcc 4.6: correction
- removing some test & tuple_tool which fail on old 4.6
For Ubuntu 12.04 compat.
2013-09-08 15:17:18 +02:00
Olivier Parcollet
2c542647fd clef : new version using lvalues and moving rvalues
- change : all objects are by default
  stored now by reference, not by copy any more.
  Unless the trait force_copy_in_expr is true.
- rvalue refs are moved into the tree
- simplifies a lot the writing of lazy method, objects.
- added a macro for methods
- tests ok. Further check needed to control absence of copies...
- improved documentation
2013-09-08 15:04:12 +02:00
Olivier Parcollet
27be5cbd5b arrays: fix some test to avoid valgrind error 2013-09-08 11:58:37 +02:00
Olivier Parcollet
11081a68b7 Fix #5
- a temp. array in stev had the wrong sign.
2013-09-08 11:58:07 +02:00
Olivier Parcollet
1313566669 utility: simplify a bit tuple::apply 2013-09-06 21:23:55 +02:00
Olivier Parcollet
e8bca45cd0 mv test gf -> gfs 2013-09-06 17:51:51 +02:00
Olivier Parcollet
9790fe8bd0 Work on gf
- clean curry.
- start testing.
2013-09-06 16:00:51 +02:00
Olivier Parcollet
5d0049de7a arrays : minor cosmetics 2013-09-06 16:00:51 +02:00
Olivier Parcollet
9dc4e0f8cc doc: git only in html mode 2013-09-06 16:00:13 +02:00
Michel Ferrero
d6f2fb97b6 Fix BZPatch class and partial DOS computation
modified:   pytriqs/lattice/bz_patch.py
  modified:   pytriqs/lattice/tight_binding.py
2013-09-05 17:55:18 +02:00
Michel Ferrero
eaad5fa41d Change MC parameter names
modified:   triqs/mc_tools/mc_generic.hpp
2013-09-05 17:54:49 +02:00
Michel Ferrero
9e10d44f2a Put applications in applications/ subdir
modified:   doc/about.rst
  modified:   doc/applications.rst
2013-09-05 10:23:16 +02:00
Olivier Parcollet
f251308959 Work on doc 2013-09-04 17:05:45 +02:00
Michel Ferrero
b1840d2a32 Further fix of issue with installation of __init__
modified:   cmake/TRIQSConfig.cmake.in
2013-09-04 12:54:46 +02:00
Michel Ferrero
3e96228770 Fix issue with installation of __init__.py files
modified:   cmake/TRIQSConfig.cmake.in
2013-09-04 12:37:50 +02:00
Michel Ferrero
217f933634 Minimal changes in the doc 2013-09-03 19:14:24 +02:00
Michel Ferrero
eb8060c290 Get rid of boost_for_triqs in doc 2013-09-03 19:14:24 +02:00
Olivier Parcollet
7c758ede0d arrays : add cbegin 2013-09-02 21:25:44 +02:00
Olivier Parcollet
e7f619ac94 brew formula for triqs and an application ok
- triqs and triqs_cthyb_matrix formula work
but unisntallation is not perfect.
2013-09-02 21:25:43 +02:00
Olivier Parcollet
352d049137 Work on doc 2013-09-02 21:25:43 +02:00
Olivier Parcollet
f04b0b1058 cmake : fix a detail in __init__ generation
should use .python/__init_... to create the file.
not python, otherwise when compiling application
*in source* (like brew does) this is a mess...
2013-09-02 21:25:43 +02:00
Michel Ferrero
cbea003f9f Hide Boost_DIR in ccmake
I mark it as advanced to avoid confusion.
2013-09-02 14:34:31 +02:00
Michel Ferrero
93eea0ed74 Get rid of boost compilation from sources
Also change pytriqs.boost to boost
2013-09-02 14:26:32 +02:00
Olivier Parcollet
3305185bee Work on doc
- remove empty parts, start to clean the tour.
- added export of _template and _static to reuse in appli doc.
- clean tutorial part. rm cookbook.
2013-08-31 15:22:36 +02:00
Olivier Parcollet
59dbacedb6 Work on doc
- added ERC logo
- worked on first page
- added : packaging/os_x : brew formula for boost, triqs, applications
2013-08-30 20:28:41 +02:00
Olivier Parcollet
9f5d5ceb2d Fix for no python compilation 2013-08-30 20:11:04 +02:00
Michel Ferrero
96bedae5f1 Work on documentation
modified:   doc/applications.rst
  modified:   doc/index.rst
  modified:   doc/install.rst
  modified:   doc/installation/clang.rst
  modified:   doc/installation/install_options.rst
  modified:   doc/installation/requirements.rst
  modified:   doc/installation/ubuntu.rst
  new file:   doc/changelog.rst
  new file:   doc/versions.rst
2013-08-30 16:34:35 +02:00
Olivier Parcollet
bb7394dfaf gf : correction to legendre.
a error in a trait.
2013-08-30 16:08:40 +02:00
Olivier Parcollet
741829909f Work on doc 2013-08-30 12:59:47 +02:00
Olivier Parcollet
5a12b7eeb5 gf : correction for block
- forgot a constructor on the domain
 (was a pb for cthyb_krylov code).
- a few details (better make_gf).
2013-08-30 12:59:46 +02:00
Olivier Parcollet
d6c74f95c5 Work on doc 2013-08-29 19:21:50 +02:00
Olivier Parcollet
3b29e9bf9d arrays : renaming concept name
CuboidArray <-> Array
added make_cuboid_domain
2013-08-29 18:06:04 +02:00
Olivier Parcollet
ab5b95bc4e added mpi4py layer for experiments...
utility/mpi_mpi4py.py
is the new mpi.py to use with mpi4py.
For testing for the moment.
Passes on old solver ok.
2013-08-29 18:06:04 +02:00
Olivier Parcollet
b88f62d50e arrays: details while writing doc
- add factories for matrices
- add make_immutablef from a lambda
- details
2013-08-29 18:05:23 +02:00
Michel Ferrero
009f0ea829 Work on documentation
The theme has been improved to be more flexible. Some work on the
installation steps to get rid of BOOST_SOURCE_DIR. Took out the
bundles. Changed the header items and added a link to documentation.
2013-08-29 17:23:40 +02:00
Michel Ferrero
9c258fa7e1 Add tools to be able to find version and release
I added a version.hpp and updated the version.py so that
one can find the version of the library either from the
c++ or the python (if there is python support).

  modified:   CMakeLists.txt
  modified:   cmake/TRIQSConfig.cmake.in
  modified:   pytriqs/version.py.in
  modified:   triqs/CMakeLists.txt
  new file:   triqs/version.hpp.in
2013-08-29 11:41:19 +02:00
Michel Ferrero
f58569dec5 Fix for boost linking in doc
I hope this time it works everywhere...

  modified:   doc/CMakeLists.txt
2013-08-28 10:59:36 +02:00
Michel Ferrero
768f537f4d Work on documentation
Included logos, added docuentation thumbnail and organized contents
in a way that navigating in the python and c++ reference will be
easier. Applications appear in a special sidebar.
2013-08-28 10:19:34 +02:00
Olivier Parcollet
0464c8e3b6 move one test to c++11 for obsolete gcc
alias_const_view test is c++11 only.
does not work on gcc 4.6
2013-08-27 14:32:52 +02:00
Olivier Parcollet
b45045e81c gfs: change the name of the mesh -> gf_mesh for gcc
gcc has a pb because the template mesh<Variable,Opt>
has the name same as the gf mesh method (!).
Clang is fine however on this...

Solution : rename the template mesh<...> to gf_mesh...
Not very elegant, but ok.
2013-08-27 14:20:50 +02:00
Olivier Parcollet
0f524b26fc work on doc 2013-08-27 13:43:58 +02:00
Olivier Parcollet
165b44a081 gf: mesh. const_iterator and add cbegin
- for meshes :
clean concept w/ doc, add cbegin, and changed
iterator to const_iterator (more standard name).
2013-08-27 13:43:58 +02:00
Olivier Parcollet
7898bd8d88 gf : mesh now the class, not a trait.
simplify : mesh was a impl trait,
make it the class itself.
corrected the gf, tests and the cython.
2013-08-27 13:43:58 +02:00
Olivier Parcollet
3d6c030b1f arrays : correct deletion of std::swap for views
- forgot the bool flags, in case a weak view is involved.
2013-08-27 13:43:58 +02:00
Olivier Parcollet
f78e6baf9e code cleaning
- TRIQS_MODEL_CONCEPT renamed : clearer for doc
- index_value_type : remove, useless...
2013-08-27 13:43:58 +02:00
Olivier Parcollet
f71ff22ed0 arrays: cleaning cuboid domain
- add one more constructor, clean constructor
- simplify foreach (use simple overload).
2013-08-27 13:43:58 +02:00