File: averd.rst

package info (click to toggle)
openmolcas 25.02-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 170,204 kB
  • sloc: f90: 498,088; fortran: 139,779; python: 13,587; ansic: 5,745; sh: 745; javascript: 660; pascal: 460; perl: 325; makefile: 17
file content (207 lines) | stat: -rw-r--r-- 5,833 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
.. index::
   single: Program; Averd
   single: Averd

.. _UG\:sec\:averd:

:program:`averd`
================

.. only:: html

  .. contents::
     :local:
     :backlinks: none

.. _UG\:sec\:averd_description:

Description
-----------

.. xmldoc:: <MODULE NAME="AVERD">
            %%Description:
            <HELP>
            Computes average densities and corresponding natural molecular orbitals
            </HELP>

:program:`Averd` computes average densities and corresponding
natural molecular orbitals. Given a set of density
matrices in the same basis set, an average density matrix is
constructed and diagonalized to give average natural orbitals.
These orbitals have non-integer occupation numbers, although they
usually are fairly well clustered in one strongly occupied
part and one weakly occupied part. From basic mathematical
properties of natural orbitals, a truncated set of the orbitals
constructed this way constitutes the most compact basis of
one-electron functions of that given size. In other words, the smallest
set of functions to span the average space within a certain
accuracy has been obtained. :program:`Averd`
is in essence very similar to :program:`Genano`.

.. _UG\:sec\:averd_dependencies:

Dependencies
------------

:program:`Averd` needs a set of input densities. Any of the
programs, which generate a density must precede.

.. _UG\:sec\:averd_files:

Files
-----

Below is a list of the files that are used/created by
:program:`Averd`.

Input files
...........

.. class:: filelist

:file:`RUNFILE`
  File for communication of auxiliary information generated by the program
  :program:`SEWARD`.

:file:`ONEINT`
  File with one-electron integrals generated by :program:`SEWARD`.

:file:`RUN***`
  A set of RunFiles on which a density matrix is stored. This density
  matrix is read and added to the average. If :kword:`ORBItals` is
  given, these files are not needed.

:file:`NAT***`
  A set of orbitals in the format generated by :program:`SCF` or
  :program:`RASSCF`. The orbitals are used to generate a density matrix,
  which is added to the average. Only required if :kword:`ORBItals` is
  given.

Output files
............

.. class:: filelist

:file:`AVEORB`
  The average orbitals generated by :program:`Averd`. They are stored in
  the same way as SCF-orbitals and can be used as INPORB.

.. _UG\:sec\:averd_input:

Input
-----

.. class:: keywordlist

:kword:`TITLe`
  Title of the calculation.

  .. xmldoc:: <KEYWORD MODULE="AVERD" NAME="TITLE" APPEAR="Title" KIND="STRING" LEVEL="BASIC">
              %%Keyword: Title <basic>
              <HELP>
              Title of the calculation
              </HELP>
              </KEYWORD>

:kword:`WSET`
  Followed by two rows. On the first the number of input orbitals are
  given, :math:`N`. Second row contains :math:`N` numbers each giving a weight
  for the :math:`k`\th input density matrix to the average density. The
  weights are normalized by :program:`Averd`, hence only the
  ratio of the numbers have any significance. **This keyword
  is mandatory.**

  .. xmldoc:: <KEYWORD MODULE="AVERD" NAME="WSET" APPEAR="Relative weights" KIND="REALS_COMPUTED" SIZE="1" LEVEL="BASIC">
              %%Keyword: WSet <compulsory>
              <HELP>
              Number of input sets of orbitals and relative weight for each of them.
              </HELP>
              </KEYWORD>

:kword:`PRINt`
  Print level. 1 is default. Higher than 3 is not recommended for the
  average user.

  .. xmldoc:: <KEYWORD MODULE="AVERD" NAME="PRINT" APPEAR="Print level" KIND="INT" LEVEL="BASIC" DEFAULT_VALUE="1">
              %%Keyword: Print <basic>
              <HELP>
              Print level. Default is 1.
              </HELP>
              </KEYWORD>

:kword:`ORBItals`
  This keyword signifies that the densities should be created from
  average orbitals in the files :file:`NAT***`, not directly from the density
  matrices on the files :file:`RUN***`. The default is to use the density
  matrices on :file:`RUN***`.

  .. xmldoc:: <KEYWORD MODULE="AVERD" NAME="ORBITALS" APPEAR="Densities from orbital files" KIND="SINGLE" LEVEL="BASIC">
              %%Keyword: Orbitals <basic>
              <HELP>
              This keyword signifies that the densities should be created from
              average orbitals in the NAT*** files, not directly from the density
              matrices in the RUN*** files.
              </HELP>
              </KEYWORD>

:kword:`OCCUpation`
  Followed by one number. The number of average orbitals with an
  occupation higher than this number is reported for each symmetry.
  Since the occupation is the guide for how to truncate the orbitals
  in subsequent applications, this is an easy way to get hold of
  that number. The default is :math:`10^{-5}`.

  .. xmldoc:: <KEYWORD MODULE="AVERD" NAME="OCCUPATION" APPEAR="Occupation threshold" KIND="REAL" LEVEL="BASIC" DEFAULT_VALUE="1.0D-5">
              %%Keyword: Occupation <basic>
              <HELP>
              The number of average orbitals with an
              occupation higher than this number is reported for each symmetry.
              The default is 1.0d-5.
              </HELP>
              </KEYWORD>

Input example
.............

In this example, two density matrices are averaged and their
average orbitals are computed. ::

  &Seward
  Basis set
  O.ano-s.Pierloot.10s6p3d.7s4p2d.
  O  0.0000  0.0000  0.3000
  End of Basis set
  Basis set
  H.ano-s.Pierloot.7s3p.4s1p.
  H1 0.0000 -1.4300 -0.8070
  H2 0.0000  1.4300 -0.8070
  End of Basis Set

  &FfPt
  Dipo
  z 0.005
  End of Input

  &Scf
  Occupation
  5
  >>COPY $Project.RunFile RUN001

  &FfPt
  Dipo
  z -0.005

  &Scf
  Occupation
  5
  End of Input
  >>COPY $Project.RunFile RUN002

  &Averd &End
  Wset
  2
  1.0 1.0
  Occupation
  1d-6

.. xmldoc:: </MODULE>