diff --git a/src/USER-REACTION/fix_bond_react.cpp b/src/USER-REACTION/fix_bond_react.cpp index e2e49bdece..c3998a901a 100644 --- a/src/USER-REACTION/fix_bond_react.cpp +++ b/src/USER-REACTION/fix_bond_react.cpp @@ -4019,27 +4019,6 @@ void FixBondReact::parse_keyword(int flag, char *line, char *keyword) strcpy(keyword,&line[start]); } - -void FixBondReact::skip_lines(int n, char *line) -{ - for (int i = 0; i < n; i++) readline(line); -} - -int FixBondReact::parse(char *line, char **words, int max) -{ - char *ptr; - - int nwords = 0; - words[nwords++] = strtok(line," \t\n\r\f"); - - while ((ptr = strtok(nullptr," \t\n\r\f"))) { - if (nwords < max) words[nwords] = ptr; - nwords++; - } - - return nwords; -} - /* ---------------------------------------------------------------------- */ double FixBondReact::compute_vector(int n) diff --git a/src/USER-REACTION/fix_bond_react.h b/src/USER-REACTION/fix_bond_react.h index b55fedafd6..15c640684f 100644 --- a/src/USER-REACTION/fix_bond_react.h +++ b/src/USER-REACTION/fix_bond_react.h @@ -186,8 +186,6 @@ class FixBondReact : public Fix { void open(char *); void readline(char *); void parse_keyword(int, char *, char *); - void skip_lines(int, char *); - int parse(char *, char **, int); void far_partner(); void close_partner();