Back to main menu

Format: bopfox

Name: BOPfox file

Extension: .bx

Specification: BOPfox documentation

Visualization programs: none

BOPfox is a program for tight-binding and analytic bond-order potential calculations. When reading files in the BOPfox format, Atomsk will detect if flags are present at the end of each line to define if atoms are fixed along the X, Y, and/or Z direction, and save it as auxiliary properties. If a "magnetisation" section exists, then it will also be stored as auxiliary property. Beware that this information is transferable to some file formats only (see the list of formats).

When writing to the BOPfox format, Atomsk follows the following template:

example.bx

aLat = 1.0
a1 = <H(1,1)> <H(1,2)> <H(1,3)>
a2 = <H(2,1)> <H(2,2)> <H(2,3)>
a3 = <H(3,1)> <H(3,2)> <H(3,3)>
# Natoms = <NP>
coord = Cartesian
<species1> <x1> <y1> <z1> [<F|T> <F|T> <F|T>]
<species2> <x2> <y2> <z2> [<F|T> <F|T> <F|T>]
...
<speciesNP> <xNP> <yNP> <zNP> [<F|T> <F|T> <F|T>]
magnetisation = true
<µx1> <µy1> <µz1>
<µx2> <µy2> <µz2>
...
<µxNP> <µyNP> <µzNP>

The lattice constant (following the keyword aLat) will always be equal to 1. If some atoms are fixed (as defined in the input file or with the option -fix) then the three flags (T or F) will appear at the end of each line, otherwise they are omitted. The section "magnetisation" will be written only if magnetizations (magx, magy, magz) are defined.

Examples

Back to main menu