Remove trailing whitespace
This commit is contained in:
@ -30,7 +30,7 @@ using namespace LAMMPS_NS;
|
|||||||
|
|
||||||
PotentialFileReader::PotentialFileReader(LAMMPS *lmp,
|
PotentialFileReader::PotentialFileReader(LAMMPS *lmp,
|
||||||
const std::string &filename,
|
const std::string &filename,
|
||||||
const std::string &potential_name) :
|
const std::string &potential_name) :
|
||||||
Pointers(lmp),
|
Pointers(lmp),
|
||||||
reader(nullptr),
|
reader(nullptr),
|
||||||
filename(filename),
|
filename(filename),
|
||||||
|
|||||||
@ -28,7 +28,7 @@ using namespace LAMMPS_NS;
|
|||||||
|
|
||||||
TableFileReader::TableFileReader(LAMMPS *lmp,
|
TableFileReader::TableFileReader(LAMMPS *lmp,
|
||||||
const std::string &filename,
|
const std::string &filename,
|
||||||
const std::string &type) :
|
const std::string &type) :
|
||||||
PotentialFileReader(lmp, filename, type + " table")
|
PotentialFileReader(lmp, filename, type + " table")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
using namespace LAMMPS_NS;
|
using namespace LAMMPS_NS;
|
||||||
|
|
||||||
TextFileReader::TextFileReader(const std::string &filename, const std::string &filetype)
|
TextFileReader::TextFileReader(const std::string &filename, const std::string &filetype)
|
||||||
: filename(filename), filetype(filetype)
|
: filename(filename), filetype(filetype)
|
||||||
{
|
{
|
||||||
fp = fopen(filename.c_str(), "r");
|
fp = fopen(filename.c_str(), "r");
|
||||||
|
|||||||
@ -33,7 +33,7 @@ namespace LAMMPS_NS
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
bool ignore_comments;
|
bool ignore_comments;
|
||||||
|
|
||||||
TextFileReader(const std::string &filename, const std::string &filetype);
|
TextFileReader(const std::string &filename, const std::string &filetype);
|
||||||
~TextFileReader();
|
~TextFileReader();
|
||||||
|
|
||||||
@ -48,10 +48,10 @@ namespace LAMMPS_NS
|
|||||||
public:
|
public:
|
||||||
FileReaderException(const std::string & msg) : message(msg) {
|
FileReaderException(const std::string & msg) : message(msg) {
|
||||||
}
|
}
|
||||||
|
|
||||||
~FileReaderException() throw() {
|
~FileReaderException() throw() {
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual const char * what() const throw() {
|
virtual const char * what() const throw() {
|
||||||
return message.c_str();
|
return message.c_str();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user