READ
command).
Here is a portion of what you are trying to make; an XMD potential file.
# # This is an example XMD potential file # eunit eV potential set eam 2 # potential pair 1 1 10 0.0 5.0 900.0 800.0 700.0 < 600.0 500.0 400.0 <  This is the original table 300.0 200.0 100.0 0.0 < # potential dens 1 10 0.0 5.0 900.0 800.0 700.0 600.0 500.0 400.0 300.0 200.0 100.0 0.0 # potential embed 1 20 0.0 1000 .... 
The beginning of an example XMD potential file. 

EUNIT (unit)where (unit) can be either
eV
,
ERG
,
K
,
JOULE
,
or
EUNIT (name) (value)where (name) is a name that you specify, and (value) is the number of ergs in one of your units.
You can specify this command more than once, which is useful if your tables do not all use the same energy units.
POTENTIAL SET EAM nwhere n is the number of types. Thus if you have an alloy with two component elements, you would use the command
POTENTIAL SET EAM 2
In general there are (n^{2} + 5n)/2 EAM functions for n atom types.
The tables are entered with commands such as
POTENTIAL PAIR

1 1

2000

1.2 6.3

POTENTIAL DENS

1

2000

1.2 6.3

POTENTIAL EMBED

1

1000

0 20.0

POTENTIAL

Identifies the command as a type of potential command.
PAIR
, DENS
, EMBED

Identifies the table as either a pair potential,
electron density of embedding function.
Thus, for a pair potential or electron density function the last number in the table should be zero, since the function must go to zero at the cutoff. Similarly, for the embedding function the first value in the table must be zero, since it must be zero when the electron density is zero.
It is strongly recommended that your table values use the largest number of digits possible. Having too low a precision can cause erratic values for calculated energies and related quantities.