10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-08-25 05:51:46 +02:00

Added README.rst in all directories

This commit is contained in:
Anthony Scemama 2014-04-03 16:23:27 +02:00
parent ef42d6ebc4
commit 01aae7bf4d
23 changed files with 211 additions and 21 deletions

3
data/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
cache/*
*.ezfio

27
data/Makefile Normal file
View File

@ -0,0 +1,27 @@
WWW_SERVER = http://qmcchem.ups-tlse.fr/files/scemama
IRPF90_TGZ = irpf90-latest-noarch-src.tar.gz
EZFIO_TGZ = EZFIO.latest.tar.gz
.PHONY: doc src
default: src
EZFIO:
$(info ===== Fetching EZFIO from the web =====)
@wget "$(WWW_SERVER)/$(EZFIO_TGZ)" || \
(echo Unable to download EZFIO : $(WWW_SERVER)/$(EZFIO_TGZ) ; exit 1)
@tar -zxf $(EZFIO_TGZ) && rm $(EZFIO_TGZ)
irpf90:
$(info ===== Fetching IRPF90 from the web =====)
@wget "$(WWW_SERVER)/$(IRPF90_TGZ)" || \
(echo Unable to download IRPF90 : $(WWW_SERVER)/$(IRPF90_TGZ) ; exit 1)
@tar -zxf $(IRPF90_TGZ) && rm $(IRPF90_TGZ)
$(MAKE) -C irpf90
doc:
$(MAKE) -C doc
src: irpf90 EZFIO
export QPACKAGE_ROOT=$$PWD ; \
$(MAKE) -C src

28
data/README.rst Normal file
View File

@ -0,0 +1,28 @@
====
Data
====
This directory contains all the data files needed for the Quantum Package.
These include:
* Input data for the test suites
* Atomic basis sets
*Important*: EZFIO files are large and should not be tracked by git.
To avoid tracking large binary files with git, only the MD5 digests of the files
present in the directory are tracked. Input EZFIO files should be archived using the
``archive_ezfio.sh`` script. The name of the archive will be the md5 digest.
The corresponding files are loaded by running::
$ make pull
And the new files are uploaded with::
$ make push
All previously downloaded files are stored in the ``cache`` directory.

0
data/cache/.empty vendored Normal file
View File

View File

@ -13,19 +13,19 @@ fi
function asksure() { function asksure() {
echo -n $@ "(Y/N) " echo -n $@ "(Y/N) "
while read -r -n 1 -s answer; do answer=w
if [[ $answer = [YyNn] ]]; then while [[ $answer != [YyNn] ]]
[[ $answer = [Yy] ]] && retval=0 do
[[ $answer = [Nn] ]] && retval=1 read answer
break [[ $answer = [Yy] ]] && retval=0 || retval=1
fi
done done
return $retval return $retval
} }
README="True"
if [[ -f README.rst ]] if [[ -f README.rst ]]
then then
asksure "Overwrite existing README.rst file?" || exit 1 asksure "Overwrite existing README.rst file?" || README="False"
fi fi
UNDERLINE="=======" UNDERLINE="======="
@ -36,7 +36,9 @@ do
i+=1 i+=1
done done
cat << EOF > README.rst if [[ ${README} == "True" ]]
then
cat << EOF > ./README.rst
$UNDERLINE $UNDERLINE
$MODULE Module $MODULE Module
$UNDERLINE $UNDERLINE
@ -55,4 +57,7 @@ Needed Modules
.. include:: ./NEEDED_MODULES .. include:: ./NEEDED_MODULES
EOF EOF
fi
touch ./ASSUMPTIONS.rst

0
src/AOs/ASSUMPTIONS.rst Normal file
View File

17
src/AOs/README.rst Normal file
View File

@ -0,0 +1,17 @@
==========
AOs Module
==========
Assumptions
-----------
.. include:: ./ASSUMPTIONS.rst
Needed Modules
--------------
.. include:: ./NEEDED_MODULES

View File

17
src/Bitmask/README.rst Normal file
View File

@ -0,0 +1,17 @@
==============
Bitmask Module
==============
Assumptions
-----------
.. include:: ./ASSUMPTIONS.rst
Needed Modules
--------------
.. include:: ./NEEDED_MODULES

View File

@ -0,0 +1,4 @@
* ``elec_num`` >= 0
* ``elec_alpha_num`` >= 0
* ``elec_beta_num`` >= 0
* ``elec_alpha_num`` >= ``elec_beta_num``

View File

@ -1,3 +1,19 @@
This module contains the data relative to electrons: the number of alpha and beta electrons. ================
Electrons Module
================
Describes the electrons. For the moment, only the number of alpha and beta electrons
are provided by this module.
Assumptions
-----------
.. include:: ./ASSUMPTIONS.rst
Needed Modules
--------------
.. include:: ./NEEDED_MODULES

View File

@ -5,7 +5,7 @@
implicit none implicit none
BEGIN_DOC BEGIN_DOC
! Numbers of alpha ("up") , beta ("down) and total electrons ! Numbers of alpha ("up") , beta ("down") and total electrons
END_DOC END_DOC
PROVIDE ezfio_filename PROVIDE ezfio_filename
call ezfio_get_electrons_elec_alpha_num(elec_alpha_num) call ezfio_get_electrons_elec_alpha_num(elec_alpha_num)

View File

View File

@ -0,0 +1,17 @@
==================
Ezfio_files Module
==================
Assumptions
-----------
.. include:: ./ASSUMPTIONS.rst
Needed Modules
--------------
.. include:: ./NEEDED_MODULES

0
src/MOs/ASSUMPTIONS.rst Normal file
View File

View File

@ -1,12 +1,17 @@
Modifying MOs ==========
============= MOs Module
==========
When modifying MOs, the label of the current MOs should change accordingly by changing the mo_label. For example:
.. code-block:: fortran
mo_coef = new_mo_coef
mo_label = "MyNewLabel"
TOUCH mo_coef mo_label
Assumptions
-----------
.. include:: ./ASSUMPTIONS.rst
Needed Modules
--------------
.. include:: ./NEEDED_MODULES

View File

@ -1 +1 @@
AOs Bitmask Electrons Ezfio_files MOs Nuclei Output Utils Mimi AOs Bitmask Electrons Ezfio_files MOs Nuclei Output Utils

View File

17
src/Nuclei/README.rst Normal file
View File

@ -0,0 +1,17 @@
=============
Nuclei Module
=============
Assumptions
-----------
.. include:: ./ASSUMPTIONS.rst
Needed Modules
--------------
.. include:: ./NEEDED_MODULES

View File

17
src/Output/README.rst Normal file
View File

@ -0,0 +1,17 @@
=============
Output Module
=============
Assumptions
-----------
.. include:: ./ASSUMPTIONS.rst
Needed Modules
--------------
.. include:: ./NEEDED_MODULES

View File

17
src/Utils/README.rst Normal file
View File

@ -0,0 +1,17 @@
============
Utils Module
============
Assumptions
-----------
.. include:: ./ASSUMPTIONS.rst
Needed Modules
--------------
.. include:: ./NEEDED_MODULES