pair_style table


i used a table for harmonic repulsive potential, but there was an error
ERROR: Invalid pair table cutoff (pair_table.cpp:271), it was mentioned in
manual that the last entry in table will be considered as cutoff, i don't
know, where is it wrong these are two line i used input script file and i
have also attached the table of potential.
pair_style table linear 1001
pair_coeff 1 1 soft_potential.t SOFT_JAM

soft_potential.t (31.3 KB)

your file has no newline at the end,
it probably didn’t read the last line