dead code removal

This commit is contained in:
Jacob Gissinger
2021-05-12 14:22:48 -04:00
parent 1f2b709b83
commit e715688d03
2 changed files with 0 additions and 23 deletions

View File

@ -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)

View File

@ -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();