mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-03 20:54:00 +01:00
Added README.rst in all directories
This commit is contained in:
parent
ef42d6ebc4
commit
01aae7bf4d
3
data/.gitignore
vendored
Normal file
3
data/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
cache/*
|
||||
*.ezfio
|
||||
|
27
data/Makefile
Normal file
27
data/Makefile
Normal 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
28
data/README.rst
Normal 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
0
data/cache/.empty
vendored
Normal file
@ -13,19 +13,19 @@ fi
|
||||
|
||||
function asksure() {
|
||||
echo -n $@ "(Y/N) "
|
||||
while read -r -n 1 -s answer; do
|
||||
if [[ $answer = [YyNn] ]]; then
|
||||
[[ $answer = [Yy] ]] && retval=0
|
||||
[[ $answer = [Nn] ]] && retval=1
|
||||
break
|
||||
fi
|
||||
answer=w
|
||||
while [[ $answer != [YyNn] ]]
|
||||
do
|
||||
read answer
|
||||
[[ $answer = [Yy] ]] && retval=0 || retval=1
|
||||
done
|
||||
return $retval
|
||||
}
|
||||
|
||||
README="True"
|
||||
if [[ -f README.rst ]]
|
||||
then
|
||||
asksure "Overwrite existing README.rst file?" || exit 1
|
||||
asksure "Overwrite existing README.rst file?" || README="False"
|
||||
fi
|
||||
|
||||
UNDERLINE="======="
|
||||
@ -36,7 +36,9 @@ do
|
||||
i+=1
|
||||
done
|
||||
|
||||
cat << EOF > README.rst
|
||||
if [[ ${README} == "True" ]]
|
||||
then
|
||||
cat << EOF > ./README.rst
|
||||
$UNDERLINE
|
||||
$MODULE Module
|
||||
$UNDERLINE
|
||||
@ -55,4 +57,7 @@ Needed Modules
|
||||
.. include:: ./NEEDED_MODULES
|
||||
|
||||
EOF
|
||||
fi
|
||||
|
||||
touch ./ASSUMPTIONS.rst
|
||||
|
||||
|
0
src/AOs/ASSUMPTIONS.rst
Normal file
0
src/AOs/ASSUMPTIONS.rst
Normal file
17
src/AOs/README.rst
Normal file
17
src/AOs/README.rst
Normal file
@ -0,0 +1,17 @@
|
||||
==========
|
||||
AOs Module
|
||||
==========
|
||||
|
||||
|
||||
|
||||
Assumptions
|
||||
-----------
|
||||
|
||||
.. include:: ./ASSUMPTIONS.rst
|
||||
|
||||
|
||||
Needed Modules
|
||||
--------------
|
||||
|
||||
.. include:: ./NEEDED_MODULES
|
||||
|
0
src/Bitmask/ASSUMPTIONS.rst
Normal file
0
src/Bitmask/ASSUMPTIONS.rst
Normal file
17
src/Bitmask/README.rst
Normal file
17
src/Bitmask/README.rst
Normal file
@ -0,0 +1,17 @@
|
||||
==============
|
||||
Bitmask Module
|
||||
==============
|
||||
|
||||
|
||||
|
||||
Assumptions
|
||||
-----------
|
||||
|
||||
.. include:: ./ASSUMPTIONS.rst
|
||||
|
||||
|
||||
Needed Modules
|
||||
--------------
|
||||
|
||||
.. include:: ./NEEDED_MODULES
|
||||
|
4
src/Electrons/ASSUMPTIONS.rst
Normal file
4
src/Electrons/ASSUMPTIONS.rst
Normal file
@ -0,0 +1,4 @@
|
||||
* ``elec_num`` >= 0
|
||||
* ``elec_alpha_num`` >= 0
|
||||
* ``elec_beta_num`` >= 0
|
||||
* ``elec_alpha_num`` >= ``elec_beta_num``
|
@ -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
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
implicit none
|
||||
BEGIN_DOC
|
||||
! Numbers of alpha ("up") , beta ("down) and total electrons
|
||||
! Numbers of alpha ("up") , beta ("down") and total electrons
|
||||
END_DOC
|
||||
PROVIDE ezfio_filename
|
||||
call ezfio_get_electrons_elec_alpha_num(elec_alpha_num)
|
||||
|
0
src/Ezfio_files/ASSUMPTIONS.rst
Normal file
0
src/Ezfio_files/ASSUMPTIONS.rst
Normal file
17
src/Ezfio_files/README.rst
Normal file
17
src/Ezfio_files/README.rst
Normal file
@ -0,0 +1,17 @@
|
||||
==================
|
||||
Ezfio_files Module
|
||||
==================
|
||||
|
||||
|
||||
|
||||
Assumptions
|
||||
-----------
|
||||
|
||||
.. include:: ./ASSUMPTIONS.rst
|
||||
|
||||
|
||||
Needed Modules
|
||||
--------------
|
||||
|
||||
.. include:: ./NEEDED_MODULES
|
||||
|
0
src/MOs/ASSUMPTIONS.rst
Normal file
0
src/MOs/ASSUMPTIONS.rst
Normal file
@ -1,12 +1,17 @@
|
||||
Modifying MOs
|
||||
=============
|
||||
|
||||
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
|
||||
==========
|
||||
MOs Module
|
||||
==========
|
||||
|
||||
|
||||
|
||||
Assumptions
|
||||
-----------
|
||||
|
||||
.. include:: ./ASSUMPTIONS.rst
|
||||
|
||||
|
||||
Needed Modules
|
||||
--------------
|
||||
|
||||
.. include:: ./NEEDED_MODULES
|
||||
|
||||
|
@ -1 +1 @@
|
||||
AOs Bitmask Electrons Ezfio_files MOs Nuclei Output Utils Mimi
|
||||
AOs Bitmask Electrons Ezfio_files MOs Nuclei Output Utils
|
||||
|
0
src/Nuclei/ASSUMPTIONS.rst
Normal file
0
src/Nuclei/ASSUMPTIONS.rst
Normal file
17
src/Nuclei/README.rst
Normal file
17
src/Nuclei/README.rst
Normal file
@ -0,0 +1,17 @@
|
||||
=============
|
||||
Nuclei Module
|
||||
=============
|
||||
|
||||
|
||||
|
||||
Assumptions
|
||||
-----------
|
||||
|
||||
.. include:: ./ASSUMPTIONS.rst
|
||||
|
||||
|
||||
Needed Modules
|
||||
--------------
|
||||
|
||||
.. include:: ./NEEDED_MODULES
|
||||
|
0
src/Output/ASSUMPTIONS.rst
Normal file
0
src/Output/ASSUMPTIONS.rst
Normal file
17
src/Output/README.rst
Normal file
17
src/Output/README.rst
Normal file
@ -0,0 +1,17 @@
|
||||
=============
|
||||
Output Module
|
||||
=============
|
||||
|
||||
|
||||
|
||||
Assumptions
|
||||
-----------
|
||||
|
||||
.. include:: ./ASSUMPTIONS.rst
|
||||
|
||||
|
||||
Needed Modules
|
||||
--------------
|
||||
|
||||
.. include:: ./NEEDED_MODULES
|
||||
|
0
src/Utils/ASSUMPTIONS.rst
Normal file
0
src/Utils/ASSUMPTIONS.rst
Normal file
17
src/Utils/README.rst
Normal file
17
src/Utils/README.rst
Normal file
@ -0,0 +1,17 @@
|
||||
============
|
||||
Utils Module
|
||||
============
|
||||
|
||||
|
||||
|
||||
Assumptions
|
||||
-----------
|
||||
|
||||
.. include:: ./ASSUMPTIONS.rst
|
||||
|
||||
|
||||
Needed Modules
|
||||
--------------
|
||||
|
||||
.. include:: ./NEEDED_MODULES
|
||||
|
Loading…
Reference in New Issue
Block a user