10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-26 07:02:14 +02:00

Remove ASSUMPTIONS.rst. Put it direcly in README.rst

This commit is contained in:
Thomas Applencourt 2015-06-04 11:17:01 +02:00
parent 42dde7faca
commit 81ca7f2545
41 changed files with 0 additions and 78 deletions

View File

@ -43,34 +43,6 @@ def fetch_splitted_data():
return result
def update_assumptions(data):
"""Read the ASSUMPTIONS.rst file, and replace the data with it."""
try:
file = open('ASSUMPTIONS.rst', 'r')
except IOError:
file = open('ASSUMPTIONS.rst', 'w')
assumptions = ""
else:
assumptions = file.read()
file.close()
if assumptions.strip() != "":
assumptions = Assum_key + header + assumptions + '\n\n'
has_assumptions = False
for i in range(len(data)):
if data[i].startswith(Assum_key):
has_assumptions = True
data[i] = assumptions
if not has_assumptions:
data.insert(1, assumptions)
return data
def update_needed(data):
"""Read the NEEDED_CHILDREN_MODULES file, and replace the data with it.
Create the links to the GitHub pages."""
@ -195,7 +167,6 @@ def git_add():
def main():
data = fetch_splitted_data()
data = update_assumptions(data)
data = update_documentation(data)
data = update_needed(data)
output = ''.join(data)

View File

@ -1 +0,0 @@
* The AO coefficients in the EZFIO files are not necessarily normalized and are normalized after reading

View File

@ -27,9 +27,6 @@ the two electron integrals.
Assumptions
===========
.. Do not edit this section. It was auto-generated from the
.. NEEDED_MODULES_CHILDREN file by the `update_README.py` script.
* The AO coefficients in the EZFIO files are not necessarily normalized and are normalized after reading

View File

@ -1,8 +0,0 @@
``bit_kind_shift``, ``bit_kind_size`` and ``bit_kind`` are coherent:
.. code_block:: fortran
2**bit_kind_shift = bit_kind_size
bit_kind = bit_kind_size / 8

View File

@ -1 +0,0 @@
* The molecular orbitals are assumed orthonormal

View File

@ -4,10 +4,6 @@ CIS Module
Assumptions
===========
.. Do not edit this section. It was auto-generated from the
.. NEEDED_MODULES_CHILDREN file by the `update_README.py` script.
* The molecular orbitals are assumed orthonormal

View File

@ -1,7 +0,0 @@
* The MOs are orthonormal
* All the determinants have the same number of electrons
* The determinants are orthonormal
* The number of generator determinants <= the number of determinants
* All the determinants in the H_apply buffer are supposed to be different from the
wave function determinants
* All the determinants in the H_apply buffer are supposed to be unique

View File

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

View File

@ -1 +0,0 @@
The active space is defined by the ``reference_bitmask``.

View File

@ -1,4 +0,0 @@
ASSUMPTONS
==========
* The AO basis functions are normalized.

View File

@ -1,6 +0,0 @@
* This is not allowed:
subroutine &
pt2_....

View File

@ -58,24 +58,15 @@ Ndet
N_st
Number of states
Assumptions
===========
.. Do not edit this section. It was auto-generated from the
.. NEEDED_MODULES file.
* This is not allowed:
subroutine &
pt2_....
Documentation
=============

View File

@ -1 +0,0 @@
THIS FILE HAS TO BE FILLED