IDF|BDF|WFN
| |||||||||||||||||||||||||||||
Synopsis | |||||||||||||||||||||||||||||
[-]idf|bdf|wfn filename | |||||||||||||||||||||||||||||
Description | |||||||||||||||||||||||||||||
This keyword enters the pathname to a valid interface data file (IDF) on disk. | |||||||||||||||||||||||||||||
Aim | |||||||||||||||||||||||||||||
The IDF provides a link between PAMoC and other computer packages, which are able to produce a representation of the electron density distribution of an isolated molecule or molecular crystal. | |||||||||||||||||||||||||||||
Types of IDF recognized by PAMoC | |||||||||||||||||||||||||||||
PAMoC is interfaced to two main classes of software codes, namely ab initio electronic structure packages and computer programs for multipole refinement of experimental and theoretical structure factors. Eventually, PAMoC accepts other types of IDF (like CIF's and CRYSTAL-XX print-output files), but in these cases the actions that PAMoC can take, are limited by the type and content of the IDF itself, and additional data input may be required. Here is the list of recognized interfaces:
VALRAY bdf is the only binary data files recognized by PAMoC. The remaining IDF's are all ascii files. PAMoC distinguishes one from the other because of a specific character string in the first line of each file. In the absence of such a string, the IDF is assumed to be an AIM wavefunction file. AIM wavefunction files (.wfn files)Many popular ab initio quantum chemistry programs can create a traditional AIM wavefunction file (extension .wfn) and, eventually, an extended AIM wave function file (extension .wfx). The extended AIM wavefunction file is a new wavefunction file format originally defined for AIMAll. The .wfx file format is not yet supported by PAMoC. Here we mention a few general purpose ab initio electronic structure packages which are capable of producing .wfn files that have been submitted to PAMoC successfully:
Among the three ab initio packages mentioned above, only GAMESS is distributed under a "site license at no cost". However there are other ab initio packages that are capable of producing .wfn files and are distributed at no cost, like ORCA (available under a research group license to academic users) and NWCHEM (distributed as open-source under the terms of the Educational Community License version 2.0, ECL 2.0). ORCA has a built-in procedure, instead NWCHEM needs a third-party patch. VALRAY ascii data input files and binary data files (bdf)VALRAY is a program package for multipole refinement and analysis of electron densities from X-ray diffraction data based on Stewart multipole formalism. It stores and retrieves much of its data on a binary data file (bdf), that PAMoC is able to read. Alternatively, PAMoC can read a VALRAY ascii data input file, that has to be prepared
by the user, following the instructions in the
VALRAY Users's Manual[1
Stewart, R. F.; Spackman, M. A.; Flensburg, C. XD filesXD is a computer program package
for multipole refinement and analysis of electron densities from X-ray diffraction data based
on Hansen-Coppens multipole formalism.[2
Koritsanszky, T.; Mallison, P.; Macchi, P.; Volkov, A.; Gatti, C.; Richter, T.;
Farrugia, L.: The XD interface data file must contain the identifier XD as the first two characters, in order to let PAMoC recognize the type of interface. Then the names of the Master, Parameter and Databank files follow in this order, unless they are introduced by a keyword. The recognized keyword are:
File-names must not contain any keyword-name as a substring. Any line in the interface data file which begins with either '!' or '#' is a comment line and therefore it is ignored by PAMoC. An example of XD-interface-data-file (xd.idf) follows:
The same IDF of the previous example can be written in the following way:
The interface generates a disk file 'valray.dat' which contains atomic scattering factors (FCORE, FVAL, FLSHEL, FDIPOL, FQUAD, FOCTAP, FHEXAD) and atomic populations (POPVAL) in VALRAY format, available for merging into an input data deck for VALRAY code. The interface between XD and PAMoC is still in preparation. It has been tested for calculation of outer moments (Stewart pseudoatom) and of intermolecular interactions and lattice energies (Spackman model). Any application which implies a direct evaluation of the electron density is likely to fail. 3D grid data filesGaussian Cube File FormatThe cube file, originated by the Gaussian software package, is an ascii text file that consists of a header followed by volumetric data. All values in the cube file are in atomic units. The Header. The first two lines of the header are comments (generally ignored by
parsing packages or used as two default labels). PAMoC can recognize a 3d-grid or cube
file if the first line of the header has CUBE as its first four characters. The Volumetric Data. This section consists of one floating point number for each
volumetric element (format 6E13.9). The grid is arranged with the x axis as the outer loop
and the z axis as the inner loop. It is written as (Nx*Ny)
records, each of length Nz, with a separate write for each record and format
6E13.5 so that if Nz is not a multiple of six, there may be blank space in
some lines.
An Example. For a Gaussian density cube, the output file looks like this:
The coordinates (X,Y,Z) of a point (Ix, Iy, Iz) are calculated as:
PAMoC Cube File FormatThe cube file, originated by PAMoC, has the same structure of the cube file generated by the Gaussian software package. However it differs by the way that the volumetric data are printed out. Indeed, PAMoC uses the following Fortran loop:
An example of 3d-interface-data-file (h2o.g3d), generated by PAMoC, follows:
Crystallographic Information File (CIF)At the Sagamore XIII conference held at Stare Jablonski, Poland, in 2000, the IUCr Commission
on Charge, Spin and Momentum Densities decided to prepare a CIF dictionary
("rhoCIF")[3
Mallison, P. R.; Brown, I. D. The XD program package (starting from its 2003 version) can read and write CIF's which include data items described in the "rhoCIF" dictionary, as well as items in the "coreCIF" dictionary. PAMoC actually uses a limited implementation of the "rhoCIF" and "coreCIF" dictionaries,
based on the CIFtbx library of Fortran functions for programming CIF
applications.[4
Hall, S. R.; Bernstein, H. J. The CIF-IDF must contain the identifier CIF as the first three characters. Then, the name of a standard CIF file follows, not necessarily on the same line. Optionally, an XD-type data-bank file-name (introduced by keywords XDBNK or DBNK) and a set of semicolon-separated dictionary file-names (introduced by keyword DICT) can be provided on separate lines. CIF dictionaries can be defined also through the environment variable CIF_DIC (set externally to PAMoC). Dictionaries defined in the IDF file override those defined externally. If an XD-type data-bank file (atom wave-function) has been made available, the interface generates a disk file, 'valray.dat', which contains atomic scattering factors (FCORE, FVAL, FLSHEL, FDIPOL, FQUAD, FOCTAP, FHEXAD) and atomic populations (POPVAL) in VALRAY format, available for merging into an input data deck for VALRAY code. Any line in the interface data file which begins with either '!' or '#' is a comment line and therefore it is ignored by PAMoC. An example of CIF-interface-data-file (cif.idf) follows:
CRYSTAL-XX print output filesThe CRYSTAL package provides a nuclear-centered multipole expansion of the periodic wave function, based on Mulliken partitioning scheme. Mulliken moments can be used to estimate molecule-molecule electrostatic interaction energies as well as the electrostatic contribution to the crystal lattice energy. The interface-data-file to PAMoC is the union of the output files produced by the CRYSTAL programs crystal (which calculates a periodic wave-function) and properties (which calculates spherical harmonics multipole moments, using the keyword POLI). The following shell-script illustrates the procedure:
Only a limited number of tests has been made, using versions 1998, 2003 and 2006 of the CRYSTAL package. PAMoC users are kindly invited to report bugs and problems to the author. CRYSTAL print output files are also recognized by PAMoC as an external-dma file (see keyword ext). promoleculeThe first line of the promolecule IDF must specify the identifier PROM as the first four characters. The remaining characters on the line may define a title for the job. For a promolecule calculation only the coord block data is needed, unless fractional coordinates are given, in which case also the crystal block data (cell, latt, sym, space) are required. For a procrystal calculation both the coord and the crystal (cell, latt, sym, space) block data are needed. Any line in the IDF beginning with either ! or # is a comment line. Data are provided in the form of a keyword followed by arguments, as shown in the following Table:
An example of promolecule-interface-data-file (h2o.idf) follows:
| |||||||||||||||||||||||||||||
References | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||