git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2257 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -143,7 +143,7 @@ switch t
|
||||
end
|
||||
|
||||
% Pair Potentials
|
||||
n_pair = ntypes + (factorial(ntypes)/2);
|
||||
n_pair = ntypes * (ntypes + 1) / 2;
|
||||
for np = 1 : 1 : n_pair
|
||||
for i = 1 : 1 : nr/5
|
||||
pair(i,:,np) = str2num(fgetl(fid));
|
||||
|
||||
Reference in New Issue
Block a user