Refactor PotentialFileReader
This commit is contained in:
@ -21,15 +21,17 @@
|
||||
#include <string>
|
||||
|
||||
#include "pointers.h"
|
||||
#include "text_file_reader.h"
|
||||
|
||||
namespace LAMMPS_NS
|
||||
{
|
||||
class PotentialFileReader : protected Pointers {
|
||||
std::string potential_name;
|
||||
TextFileReader * reader;
|
||||
std::string filename;
|
||||
static const int MAXLINE = 1024;
|
||||
char line[MAXLINE];
|
||||
FILE *fp;
|
||||
std::string potential_name;
|
||||
|
||||
TextFileReader * open_potential(const std::string& path);
|
||||
std::string get_potential_date(const std::string & path);
|
||||
|
||||
public:
|
||||
PotentialFileReader(class LAMMPS *lmp, const std::string &filename, const std::string &potential_name);
|
||||
|
||||
Reference in New Issue
Block a user