mirror of
https://github.com/LCPQ/quantum_package
synced 2024-10-19 22:41:48 +02:00
Moved qp_plugins
This commit is contained in:
parent
67161ce4e5
commit
aa48b24f0d
@ -6,6 +6,9 @@ Developing plugins
|
||||
Creating a repository of plugins
|
||||
--------------------------------
|
||||
|
||||
The purpose of :file:`$QP_ROOT/plugins` is to contain local copies of
|
||||
external repositories of plugins.
|
||||
|
||||
Create a repository, for example :file:`qp_plugins_user`, hosted somewhere
|
||||
(GitLab, GitHub, etc...), and clone the repository in the
|
||||
:file:`$QP_ROOT/plugins` directory.
|
||||
|
@ -85,6 +85,8 @@ def save_new_module(path, l_child):
|
||||
""")
|
||||
|
||||
def main(arguments):
|
||||
arguments["<name>"] = [ os.path.normpath(name) for name in arguments["<name>"] ]
|
||||
|
||||
if arguments["list"]:
|
||||
if arguments["-q"]:
|
||||
l_result = [ f for f in listdir(QP_PLUGINS) if f not in [ ".gitignore", "local" ] ]
|
||||
@ -218,6 +220,8 @@ def main(arguments):
|
||||
l_name = [ normalize_case[name.lower()] for name in arguments["<name>"] ]
|
||||
|
||||
for name in l_name:
|
||||
|
||||
print name
|
||||
if name in d_local:
|
||||
print "{0} Is already installed".format(name)
|
||||
|
@ -53,8 +53,7 @@ subroutine run
|
||||
|
||||
! Choose SCF algorithm
|
||||
|
||||
call damping_SCF ! Deprecated routine
|
||||
! call Roothaan_Hall_SCF
|
||||
call damping_SCF
|
||||
|
||||
end
|
||||
|
||||
|
@ -48,6 +48,9 @@ END_DOC
|
||||
! Increment cycle number
|
||||
|
||||
iteration_SCF += 1
|
||||
if(no_oa_or_av_opt)then
|
||||
call initialize_mo_coef_begin_iteration
|
||||
endif
|
||||
|
||||
! Current size of the DIIS space
|
||||
|
||||
@ -79,6 +82,10 @@ END_DOC
|
||||
endif
|
||||
|
||||
MO_coef = eigenvectors_Fock_matrix_MO
|
||||
if(no_oa_or_av_opt)then
|
||||
call reorder_active_orb
|
||||
call initialize_mo_coef_begin_iteration
|
||||
endif
|
||||
|
||||
TOUCH MO_coef
|
||||
|
||||
@ -105,6 +112,10 @@ END_DOC
|
||||
TOUCH mo_coef
|
||||
level_shift = level_shift * 2.0d0
|
||||
mo_coef(1:ao_num,1:mo_tot_num) = eigenvectors_Fock_matrix_MO(1:ao_num,1:mo_tot_num)
|
||||
if(no_oa_or_av_opt)then
|
||||
call reorder_active_orb
|
||||
call initialize_mo_coef_begin_iteration
|
||||
endif
|
||||
TOUCH mo_coef level_shift
|
||||
Delta_Energy_SCF = SCF_energy - energy_SCF_previous
|
||||
energy_SCF = SCF_energy
|
||||
|
Loading…
Reference in New Issue
Block a user