Add convenience functions to PotentialFileReader

This commit is contained in:
Richard Berger
2020-06-04 11:18:33 -04:00
parent 9291d2a9d7
commit 34ff7aa1fe
2 changed files with 63 additions and 0 deletions

View File

@ -38,9 +38,18 @@ namespace LAMMPS_NS
PotentialFileReader(class LAMMPS *lmp, const std::string &filename, const std::string &potential_name);
virtual ~PotentialFileReader();
void ignore_comments(bool value);
void skip_line();
char * next_line(int nparams = 0);
void next_dvector(int n, double * list);
// convenience functions
double next_double();
int next_int();
tagint next_tagint();
bigint next_bigint();
std::string next_string();
};
} // namespace LAMMPS_NS