Skip to content

Commit

Permalink
Removed dupicate provider
Browse files Browse the repository at this point in the history
  • Loading branch information
scemama committed Dec 17, 2024
1 parent b3f481b commit a61f629
Show file tree
Hide file tree
Showing 26 changed files with 1,412 additions and 10 deletions.
2 changes: 2 additions & 0 deletions plugins/local/tc_scf/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Transcorrelated SCF
===================
104 changes: 104 additions & 0 deletions src/ao_extra_basis/EZFIO.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
[ao_extra_basis]
type: character*(256)
doc: Name of the |ao_extra| basis set
interface: ezfio

[ao_extra_only_1s]
type: logical
doc: If |true|, you know that the additional AO basis is built only with 1s functions
interface: ezfio, provider
default: true

[ao_extra_num]
type: integer
doc: Number of |ao_extras|
interface: ezfio, provider

[ao_extra_prim_num]
type: integer
doc: Number of primitives per |ao_extra|
size: (ao_extra_basis.ao_extra_num)
interface: ezfio, provider

[ao_extra_prim_num_max]
type: integer
doc: Maximum number of primitives
default: =maxval(ao_extra_basis.ao_extra_prim_num)
interface: ezfio

[ao_extra_nucl]
type: integer
doc: Index of the nucleus on which the |ao_extra| is centered
size: (ao_extra_basis.ao_extra_num)
interface: ezfio, provider

[ao_extra_power]
type: integer
doc: Powers of x, y and z for each |ao_extra|
size: (ao_extra_basis.ao_extra_num,3)
interface: ezfio, provider

[ao_extra_coef]
type: double precision
doc: Primitive coefficients, read from input. Those should not be used directly, as the MOs are expressed on the basis of **normalized** ao_extras.
size: (ao_extra_basis.ao_extra_num,ao_extra_basis.ao_extra_prim_num_max)
interface: ezfio, provider

[ao_extra_expo]
type: double precision
doc: Exponents for each primitive of each |ao_extra|
size: (ao_extra_basis.ao_extra_num,ao_extra_basis.ao_extra_prim_num_max)
interface: ezfio, provider

[ao_extra_md5]
type: character*(32)
doc: MD5 key, specific of the |ao_extra| basis
interface: ezfio, provider

[ao_extra_cartesian]
type: logical
doc: If |true|, use |ao_extras| in Cartesian coordinates (6d,10f,...)
interface: ezfio, provider
default: false

[ao_extra_normalized]
type: logical
doc: Use normalized basis functions
interface: ezfio, provider
default: true

[primitives_normalized_extra]
type: logical
doc: Use normalized primitive functions
interface: ezfio, provider
default: true

[ao_extra_expo_im]
type: double precision
doc: imag part for Exponents for each primitive of each cGTOs |ao_extra|
size: (ao_extra_basis.ao_extra_num,ao_extra_basis.ao_extra_prim_num_max)
interface: ezfio, provider

[ao_extra_expo_pw]
type: double precision
doc: plane wave part for each primitive GTOs |ao_extra|
size: (3,ao_extra_basis.ao_extra_num,ao_extra_basis.ao_extra_prim_num_max)
interface: ezfio, provider

[ao_extra_expo_phase]
type: double precision
doc: phase shift for each primitive GTOs |ao_extra|
size: (3,ao_extra_basis.ao_extra_num,ao_extra_basis.ao_extra_prim_num_max)
interface: ezfio, provider

[ao_extra_one_e_dm]
type: double precision
doc: reduced density matrix on the ao extra basis
size: (ao_extra_basis.ao_extra_num,ao_extra_basis.ao_extra_num)
interface: ezfio, provider

[ao_extra_center]
type: double precision
doc: shift with which the atoms are shifted to mimick p functions
interface: ezfio

4 changes: 4 additions & 0 deletions src/ao_extra_basis/LiH.xyz
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
2

H 0. 0. 0.
Li 0. 0. 1.0
3 changes: 3 additions & 0 deletions src/ao_extra_basis/NEED
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
extra_nuclei
basis
ao_basis
15 changes: 15 additions & 0 deletions src/ao_extra_basis/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
===========
extra_basis
===========

Plugin to handle an extra basis, which is attached to the extra_nuclei.
It is essentially a duplication of all important quantities (coefficients, exponents and so on) of the usual |AO| basis.

An interesting feature is the possibility to fit any basis made at most with "p" functions onto a purely "s" basis.
This is done with the various scripts here:

- qp_fit_1s_basis : script that creates an |EZFIO| folder corresponding to an .xyz file and a basis fitted with only "s" functions
- qp_add_extra_fit_system : script that takes as input an |EZFIO| folder and an .xyz file and add an extra_basis and extra_nuclei with a 1s fitted basis

Ex:
qp_add_extra_fit_system LiH.ezfio/ h2o.xyz # takes the EZFIO folder "LiH.ezfio" and creates all necessary additional basis and nuclei based on h2o.xyz, but only with 1s functions.
Loading

0 comments on commit a61f629

Please sign in to comment.