utilities
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
utilities [2013/08/21 15:12] – daniel | utilities [2013/08/29 11:22] – daniel | ||
---|---|---|---|
Line 25: | Line 25: | ||
| | ||
- | [[Utilities/ | + | [[Utilities/ |
A series of awk scripts to handle various tasks with potential files, like combining, appending, creating from analytical functions, generating from scratch, plotting, | A series of awk scripts to handle various tasks with potential files, like combining, appending, creating from analytical functions, generating from scratch, plotting, | ||
Line 143: | Line 143: | ||
This utility generates a simple parameter file for //potfit//. | This utility generates a simple parameter file for //potfit//. | ||
- | |||
- | Usage: | ||
- | potfit_setup [-c config file] [-p potential file] [-s prefix] | ||
< | < | ||
- | | + | usage: potfit_setup [-h] [-c config file] [-p potential file] [-s prefix] |
- | | + | |
- | for analytic potentials this can easily be created with | + | Create a simple potfit parameter file from scratch. |
- | the makeapot script from the awkscripts | + | |
- | -s <prefix> | + | optional arguments: |
- | | + | -h, --help |
- | | + | -c config file |
- | if they are not found, -c and -p will be read | + | -p potential file name of the potfit |
+ | -s prefix | ||
+ | |||
+ | The prefix takes precedence over the -c and -p switches.If | ||
+ | and < | ||
</ | </ | ||
+ | If the config file is given via the -c or -s option, the number of atom | ||
+ | types is automatically determined and adjusted in the output. | ||
==== vasp2force | ==== vasp2force | ||
Line 193: | Line 196: | ||
Writes a force file to be used as a //potfit// reference configuration to standard output. If no options are given, force data is generated from each ionic step. | Writes a force file to be used as a //potfit// reference configuration to standard output. If no options are given, force data is generated from each ionic step. | ||
- | |||
- | ==== pottrans | ||
- | |||
- | Converts betweeen various potential models. | ||
- | |||
- | Compilation: | ||
- | |||
- | Usage: | ||
- | pottrans < | ||
- | |||
- | required parameters in paramfile (here with example values) | ||
- | |||
- | < | ||
- | ntypes | ||
- | ncols 3 # number of output potentials | ||
- | infile | ||
- | outfile | ||
- | nsteps | ||
- | atomic_e-density_file | ||
- | embedding_energy_file | ||
- | core_potential_file | ||
- | |||
- | # optional parameters | ||
- | |||
- | reorder | ||
- | # ntypes parameters necessary | ||
- | r_start | ||
- | </ | ||
- | |||
- | in.pot is converted to out.pot. in.pot can be of IMD potential format 1 or 2, out.pot is of //potfit// potential format. For EAM potentials, specify the appropriate number of columns in ncols and the required IMD format potential files. The order of the different atom types can be changed with the reorder parameter by specifying the desired sequence. | ||
- | |||
- | To convert from //potfit// to IMD use //potfit// with '' | ||
- | |||
- | |||
- | |||
- | |||
- | ==== awk scripts | ||
- | |||
- | The awk scripts are listed on a [[utilities/ | ||
- | |||
- |