Apply override to remaining classes

This commit is contained in:
Richard Berger
2022-01-22 09:56:01 -05:00
parent 12d708b97c
commit 79a9829e92
52 changed files with 322 additions and 333 deletions

View File

@ -33,8 +33,8 @@ namespace LAMMPS_NS {
class DumpNetCDF : public DumpCustom {
public:
DumpNetCDF(class LAMMPS *, int, char **);
virtual ~DumpNetCDF();
virtual void write();
~DumpNetCDF() override;
void write() override;
private:
static constexpr int NC_FIELD_NAME_MAX = 100;
@ -88,12 +88,12 @@ class DumpNetCDF : public DumpCustom {
int cell_lengths_var;
int cell_angles_var;
virtual void openfile();
void openfile() override;
void closefile();
virtual void write_header(bigint);
virtual void write_data(int, double *);
void write_header(bigint) override;
void write_data(int, double *) override;
virtual int modify_param(int, char **);
int modify_param(int, char **) override;
void ncerr(int, const char *, int);
};

View File

@ -33,8 +33,8 @@ namespace LAMMPS_NS {
class DumpNetCDFMPIIO : public DumpCustom {
public:
DumpNetCDFMPIIO(class LAMMPS *, int, char **);
virtual ~DumpNetCDFMPIIO();
virtual void write();
~DumpNetCDFMPIIO() override;
void write() override;
private:
static constexpr int NC_MPIIO_FIELD_NAME_MAX = 100;
@ -85,13 +85,13 @@ class DumpNetCDFMPIIO : public DumpCustom {
int cell_lengths_var;
int cell_angles_var;
virtual void openfile();
void openfile() override;
void closefile();
void write_time_and_cell();
virtual void write_data(int, double *);
void write_data(int, double *) override;
void write_prmtop();
virtual int modify_param(int, char **);
int modify_param(int, char **) override;
void ncerr(int, const char *, int);
};