Next: Atomic Basis Set
Up: Further details of the
Previous: Pseudopotentials
  Contents
  Index
Constraints and Restraints
CONSTRAINTS ... END CONSTRAINTS
Within this input block you can specify several
constraints and restraints on the atoms.
Please note, that for calculations using the Gromos
QM/MM-interface (see section 9.14) the atom indices
refer to the ordering of the atoms
as it appears in the respective Gromos coordinate file.
The following suboptions are possible:
- FIX ALL
-
All coordinates of all atoms are kept fixed.
For wavefunction optimization via simulated annealing.
- FIX QM
-
All coordinates of all QM atoms are kept fixed.
This is the same as above unless you are running a QM/MM
calculation with the Gromos interface code.
- FIX MM
-
All coordinates of all MM atoms are kept fixed.
This is ignored unless you are running a QM/MM
calculation with the Gromos interface code.
- FIX SOLUTE
-
All coordinates of all solute atoms are kept fixed.
This is ignored unless you are running a QM/MM
calculation with the Gromos interface code.
The definition of what is a solute is taken from the
respecitve GROMOS topology file.
- FIX SEQUENCE
-
All coordinates of a series of atoms are kept fixed.
This keyword is followed by the index numbers of the first and
the last atoms to be fixed in the next line.
Example:
FIX SEQUENCE
5 25 all coordinates of atoms no. 5 to 25 are kept fixed
- FIX ELEMENT [SEQUENCE]
-
All coordinates of all atoms belonging to the same
element are kept fixed. This works across
pseudopotential types or QM and MM atoms in case of a QM/MM
calculation. The keyword is followed by the core charge of
the respective element. With the optional SEQUENCE modifier
two more numbers are read in, specifying the first and the
last index of a sequence of atoms to which this keyword will
be applied.
Example:
FIX ELEMENT
8 all coordinates of oxygen atoms are kept fixed
- FIX PPTYPE [SEQUENCE]
-
All coordinates of all atoms belonging to the same
potential type are kept fixed. The keyword is followed by the
atom type index number on the next line, corresponds to the
sequence of how the atom types are specified in the &ATOMS
section of the CPMD input. In case of a QM/MM calculation
this is expanded to respective classical atom types. In this
case the QM atom types come first followed by the GROMOS atom
types.
With the optional SEQUENCE modifier
two more numbers are read in, specifying the first and the
last index of a sequence of atoms to which this keyword will
be applied.
Example:
FIX PPTYPE SEQUENCE
2 5 25 atoms corresponding to the
second atom type with an index between 5 and 25 are kept fixed
- FIX ATOMS
-
All coordinates of certain atoms can be fixed.
This keyword is followed by the number of atoms to be fixed
and a list of these atoms specifying them by the number of
their position in the input file (NOTE: in the file
GEOMETRY.xyz the atoms have the same ordering).
Example:
FIX ATOMS
5 2 5 20 21 23 all coordinates of atoms
2, 5, 20, 21, and 23 are kept fixed
- FIX COORDINATES
-
Certain coordinates of atoms are fixed.
This keyword is followed by the number of
atoms with fixed coordinates and a list of these atoms
together with flags indicating which coordinates are fixed.
A zero indicates a fixed coordinate.
Example:
| FIX COORDINATES |
|
2 |
|
|
|
Two atoms have fixed coordinates |
|
1 |
1 |
1 |
0 |
for atom #1 is fixed |
|
4 |
0 |
1 |
0 |
for atom #4 and are fixed
|
- FIX COM
-
Fix the center of mass.
NOTE: This currently works only for OPTIMIZE GEOMETRY
and not for the LBFGS optimizer.
- FIX STRUCTURE [SHOVE]
-
This keyword starts a group of individual constraints where
whole structural units can be fixed. The keyword is
followed by the number of individual constraints on the next line.
- DIST
Fixes the distance
between the atoms
and
.
- STRETCH
Fixes
defined by the atoms
and
.
- DIFFER
Fixes
defined by the atoms
,
, and
,
where
is the distance between atoms a and b.
- BEND
Fixes the bending angle defined by the atoms
,
and
.
- TORSION
Fixes the torsion angle defined by the atoms
,
,
and
.
- OUTP
``Out of Plane''; Angle between plane
(
,
,
) and atom
is fixed.
- RIGID
...
Keeps the structure formed by the
atoms
,
, ...
You can put your atom index in several lines.
The number of constraints nfix is equal to
for
(
for
).
- COORD
``Coordination constraint'' for atom
.
The parameters
and
for the Fermi function
are given in Bohr (
) and 1/Bohr (
), (or
in Angstrom (
) and 1/Angstrom (
) if the
keyword ANGSTROM was set),
see Ref. [68].
- COORSP
Fixes the coordination number (CN) of one
selected atom
with respect to only one selected
species
. The CN is defined by a Fermi like function as for
,
but in this case
runs only over the atoms belonging to the selected
species
.
- COOR_RF
CN of one selected atom
with respect to one selected
species,
.
The CN value is calculated as the sum of rational functions
 |
(2) |
where j runs over the indexes of the atoms belonging to
or over the
indexes given in the list
.
- BNSWT
Reciprocal CN between 2 selected atoms, defined with the same
functional form as the one described for
.
This coordinate states the presence of the bond between the
two atoms
and
.
- TOT_COOR
Average CN of the atoms belonging to a selected species
with respect to a second selected species,
, or with respect to a given
list of atoms,
.
The same functional forms and input options are used, as those
described for
, but the index of one selected species
is read in place of the index of one atom.
, ... are the atom numbers,
distances and
angles.
A function value of -999. for
or
refers to the
current value to be fixed. The constraint is linearly added
to the CP Lagrangian according to the Blue Moon ensemble
prescription[54]. The values of the Lagrange
multipliers and of the actual constraint are printed in the file
CONSTRAINT.
The options DIST, STRETCH, BEND, TORSION, OUTP, DIFFER, COORD,
COORSP, COOR_RF, TOT_COOR can have
an optional additional keyword at the end of the line of the form
DIST 1 2 -999. GROWTH 0.001
The keyword GROWTH indicates that the constraint value should be
changed at each time step. The rate of change is given after the keyword
in units per atomic time unit, i.e. independent from
the current length of a time step.
Note: In MD runs only the actual initial value
(-999.) can be fixed.
The SHOVE option requires an additional entry at the end
of each constraint line. This entry has to be either
, 0, or
. The constraint is then either fixed (0)
or allowed to shrink (
) or grow (
).
- RESTRAINTS
-
- nres
-
Number of restraints.
- DIST
Restrains the distance
between the atoms
and
by
a harmonic potential.
- STRETCH
Restrains
defined by the atoms
and
by
a harmonic potential.
- DIFFER
Restrains
defined by the atoms
,
, and
,
where
is the distance between atoms a and b by
a harmonic potential.
- BEND
Restrains the bending angle defined by the atoms
,
and
by
a harmonic potential.
- TORSION
Restrains the torsion angle defined by the atoms
,
,
and
by
a harmonic potential.
- OUTP
``Out of Plane''; Angle between plane
(
,
,
) and atom
is restrained by
a harmonic potential.
- RESPOS
,
,
,
Restrains the position
of atom
to oscillate
around
with a constraint harmonic
potential
.
The limits
and
correspond
to free and fixed atomic positions, respectively.
The keyword GROWTH is not supposed to be used for this restraint.
, ... are the atom numbers,
distances and
angles. A
function value of -999. for
or
refers to the current value.
The restraining potential is harmonic with the force constant
.
The options can have an optional additional keyword at the
end of the line of the form
DIST 1 2 -999. 0.1 GROWTH 0.001
The keyword GROWTH indicates that the constraint value should be
changed at each time step. The rate of change is given after the keyword
in units per atomic time unit.
- PENALTY
-
The weight factors for the penalty function
for stretches, bends and torsions are read from the
next line.
Next: Atomic Basis Set
Up: Further details of the
Previous: Pseudopotentials
  Contents
  Index
2006-03-29 cpmd@cpmd.org