From 6e3ea06b117306feb2773e724a1c324dd704d24d Mon Sep 17 00:00:00 2001 From: stamoor Date: Mon, 21 Mar 2016 14:51:07 +0000 Subject: [PATCH] Allowing read_restart to use suffix style with pair style, etc git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14754 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/read_restart.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/read_restart.cpp b/src/read_restart.cpp index 251b993277..3b6a32ac6f 100644 --- a/src/read_restart.cpp +++ b/src/read_restart.cpp @@ -940,31 +940,31 @@ void ReadRestart::force_fields() if (flag == PAIR) { style = read_string(); - force->create_pair(style,0); + force->create_pair(style,1); delete [] style; force->pair->read_restart(fp); } else if (flag == BOND) { style = read_string(); - force->create_bond(style,0); + force->create_bond(style,1); delete [] style; force->bond->read_restart(fp); } else if (flag == ANGLE) { style = read_string(); - force->create_angle(style,0); + force->create_angle(style,1); delete [] style; force->angle->read_restart(fp); } else if (flag == DIHEDRAL) { style = read_string(); - force->create_dihedral(style,0); + force->create_dihedral(style,1); delete [] style; force->dihedral->read_restart(fp); } else if (flag == IMPROPER) { style = read_string(); - force->create_improper(style,0); + force->create_improper(style,1); delete [] style; force->improper->read_restart(fp);