next up previous contents index
Next: Usage Up: Module FilePot_module Previous: Module FilePot_module   Contents   Index

Purpose

FilePot is a potential that computes things by writing atomic config to a file, running a command, and reading its output

it takes an argument string on initialization with one mandatory parameter


\begin{boxedminipage}{\textwidth}
\begin{verbatim}command=path_to_command\end{verbatim}
\end{boxedminipage}

and two optional parameters


\begin{boxedminipage}{\textwidth}
\begin{verbatim}property_list=prop1:T1:N1:prop2:T2:N2...\end{verbatim}
\end{boxedminipage}

which defaults to pos, and


\begin{boxedminipage}{\textwidth}
\begin{verbatim}min_cutoff=cutoff\end{verbatim}
\end{boxedminipage}

which default to zero. If min_cutoff is non zero and the cell is narrower than $2*min_cutoff$ in any direction then it will be replicated before being written to the file. The forces are taken from the primitive cell and the energy is reduced by a factor of the number of repeated copies.

The command takes 2 arguments, the names of the input and the output files. command output is in extended xyz form.

energy and virial (both optional) are passed via the comment, labeled as energy=E and virial="vxx vxy vxz vyx vyy vyz vzx vzy vzz".

per atoms data is at least atomic type and optionally a local energy (labeled local_e:R:1) and forces (labeled force:R:3)

right now (14/2/2008) the atoms_xyz reader requires the 1st 3 columns after the atomic type to be the position.

If you ask for some quantity from FilePot_Calc and it's not in the output file, it returns an error status or crashes (if err isn't present).


next up previous contents index
Next: Usage Up: Module FilePot_module Previous: Module FilePot_module   Contents   Index
gabor 2009-06-30