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
Michel Ferrero
2b0e27835e
Small fix in doc configuration
...
modified: doc/conf.py.in
2013-08-22 17:41:56 +02:00
Michel Ferrero
a23c6a231b
Work on new documentation structure
...
It is just the structure for now. Some cleaning of useless files as well.
2013-08-22 16:20:41 +02:00
Michel Ferrero
6fd3fb091d
Minor modifications in theme triqs
...
modified: doc/themes/triqs/layout.html
2013-08-22 16:20:24 +02:00
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