From 6e94c3652bbbd58441094dd4d12195bb706d826c Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 9 Feb 2007 21:34:10 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@280 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- tools/restart2data.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/restart2data.cpp b/tools/restart2data.cpp index 95eddc8253..71968c197b 100644 --- a/tools/restart2data.cpp +++ b/tools/restart2data.cpp @@ -807,8 +807,11 @@ void pair(FILE *fp, Data &data, char *style, int flag) } } else if (strcmp(style,"eam") == 0) { + } else if (strcmp(style,"eam/opt") == 0) { } else if (strcmp(style,"eam/alloy") == 0) { + } else if (strcmp(style,"eam/alloy/opt") == 0) { } else if (strcmp(style,"eam/fs") == 0) { + } else if (strcmp(style,"eam/fs/opt") == 0) { } else if ((strcmp(style,"gran/history") == 0) || (strcmp(style,"gran/no_history") == 0) || @@ -821,6 +824,7 @@ void pair(FILE *fp, Data &data, char *style, int flag) } else if ((strcmp(style,"lj/charmm/coul/charmm") == 0) || (strcmp(style,"lj/charmm/coul/charmm/implicit") == 0) || + (strcmp(style,"lj/charmm/coul/long/opt") == 0) || (strcmp(style,"lj/charmm/coul/long") == 0)) { if (strcmp(style,"lj/charmm/coul/charmm") == 0) { @@ -925,6 +929,7 @@ void pair(FILE *fp, Data &data, char *style, int flag) } } else if ((strcmp(style,"lj/cut") == 0) || + (strcmp(style,"lj/cut/opt") == 0) || (strcmp(style,"lj/cut/coul/cut") == 0) || (strcmp(style,"lj/cut/coul/debye") == 0) || (strcmp(style,"lj/cut/coul/long") == 0) || @@ -1025,7 +1030,8 @@ void pair(FILE *fp, Data &data, char *style, int flag) } } - } else if (strcmp(style,"morse") == 0) { + } else if ((strcmp(style,"morse") == 0) || + (strcmp(style,"morse/opt") == 0)) { double cut_global = read_double(fp); int offset_flag = read_int(fp);