git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8106 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2012-05-21 14:37:50 +00:00
parent ce8f089859
commit caabcf6db4
3 changed files with 5 additions and 4 deletions

View File

@ -148,7 +148,7 @@ class Fix : protected Pointers {
virtual void read_data_header(char *) {}
virtual void read_data_section(char *, int, char *) {}
virtual int read_data_skip_lines(char *) {}
virtual bigint read_data_skip_lines(char *) {}
virtual int modify_param(int, char **) {return 0;}

View File

@ -188,7 +188,8 @@ void ReadData::command(int narg, char **arg)
if (nfix) {
for (n = 0; n < nfix; n++)
if (strstr(line,fix_section[n])) {
int nlines = modify->fix[fix_index[n]]->read_data_skip_lines(keyword);
bigint nlines =
modify->fix[fix_index[n]]->read_data_skip_lines(keyword);
fix(n,keyword,nlines);
parse_keyword(0,1);
break;
@ -1095,7 +1096,7 @@ void ReadData::impropercoeffs(int which)
n = index of fix
------------------------------------------------------------------------- */
void ReadData::fix(int ifix, char *line, int nlines)
void ReadData::fix(int ifix, char *line, bigint nlines)
{
int i,m,nchunk;

View File

@ -74,7 +74,7 @@ class ReadData : protected Pointers {
void dihedralcoeffs(int);
void impropercoeffs(int);
void fix(int, char *, int);
void fix(int, char *, bigint);
};
}