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

110 Commits

Author SHA1 Message Date
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
Olivier Parcollet
2dfc303372 cmake : doc : correction boost link
readd the -L for boost_for_triqs link
in doc compilation
2013-08-27 13:43:58 +02:00
Olivier Parcollet
072b45ac1c arrays: Remove dim0, dim1, .shape in various matrix object.
Not in the concept, not needed, just an annoyance.
replaced by free functions :
first_dim(A), second_dim(A), get_shape(A) and so on...
2013-08-27 13:43:58 +02:00
Olivier Parcollet
e241f85a7d arrays: rm debug code matrix_view_proxy_DEBUG.hpp
- used only for speed issue searching...
2013-08-27 13:43:58 +02:00
Olivier Parcollet
c8fcb40164 arrays : rm linalg/determinant and inverse (links)
It is clearer to have only one file :
det_and_inverse.hpp
changed the included in tests.
2013-08-27 13:43:57 +02:00
Olivier Parcollet
017394e17f arrays : add experimental array_const_view
- not completely clear how to
manipulate this alias, in particular when
matching template function
(and portability : require C++11 compiler).
2013-08-27 13:43:57 +02:00
Olivier Parcollet
241d5636d7 arrays: rm tags file and some cleaning
- tags are defined in files, this impl/tags.hpp
was not needed any more.
- some code cleaning
2013-08-27 13:43:57 +02:00
Olivier Parcollet
6fa737978e arrays: remove .len (redundant)
.len -> .shape
with same syntax.
Made a few necessary corrections here and there.
2013-08-27 13:43:57 +02:00
Olivier Parcollet
17a741ad9e arrays: rm has_view_type_tag & add_views
- has_view_type_tag mechanism was replaced by a decltype long ago.
Cleaning since it seems to work on all supported compiler now.

- removed add_views : not used any more.
2013-08-27 13:43:57 +02:00
Olivier Parcollet
41bc8d0338 changing non_view_type to regular_type
- cosmetic : for clarity of the code.
2013-08-27 13:43:57 +02:00
Olivier Parcollet
938f3dc425 arrays: workaround a bug in clang 3.3 release ?
- Apparently there is a bug in release 3.3 of clang
(? on kondo cluster ?) that crash the compiler in compiling
a test. Pb not present in clang from svn.
Changed a little bit the libs as a workaround.
2013-08-27 11:37:21 +02:00
Olivier Parcollet
3078401cb6 cmake: use ENV variable BOOST_SOURCE_DIR if present
if BOOST_SOURCE_DIR is defined in ENV variable,
and is not overruled by -DBOOST_SOURCE_DIR at cmake invocation
then we use it.

If BOOST_SOURCE_DIR is not defined in ENV variable,
and not defined by -DBOOST_SOURCE_DIR,
then we look for the system compiled boost.

-> allows to set up BOOST_SOURCE_DIR in your bashrc
on machine where boost compilation is needed, once for all
2013-08-27 11:19:17 +02:00