add (empty) read/write_restart_settings() functions to bond/angle/dihedral/improper base classes

This commit is contained in:
Axel Kohlmeyer 2019-07-25 07:32:15 -04:00
parent f4df51763d
commit b1a5444815
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
4 changed files with 8 additions and 0 deletions

View File

@ -46,6 +46,8 @@ class Angle : protected Pointers {
virtual double equilibrium_angle(int) = 0;
virtual void write_restart(FILE *) = 0;
virtual void read_restart(FILE *) = 0;
virtual void write_restart_settings(FILE *) {};
virtual void read_restart_settings(FILE *) {};
virtual void write_data(FILE *) {}
virtual double single(int, int, int, int) = 0;
virtual double memory_usage();

View File

@ -48,6 +48,8 @@ class Bond : protected Pointers {
virtual double equilibrium_distance(int) = 0;
virtual void write_restart(FILE *) = 0;
virtual void read_restart(FILE *) = 0;
virtual void write_restart_settings(FILE *) {};
virtual void read_restart_settings(FILE *) {};
virtual void write_data(FILE *) {}
virtual double single(int, double, int, int, double &) = 0;
virtual double memory_usage();

View File

@ -45,6 +45,8 @@ class Dihedral : protected Pointers {
virtual void coeff(int, char **) = 0;
virtual void write_restart(FILE *) = 0;
virtual void read_restart(FILE *) = 0;
virtual void write_restart_settings(FILE *) {};
virtual void read_restart_settings(FILE *) {};
virtual void write_data(FILE *) {}
virtual double memory_usage();

View File

@ -45,6 +45,8 @@ class Improper : protected Pointers {
virtual void coeff(int, char **) = 0;
virtual void write_restart(FILE *) = 0;
virtual void read_restart(FILE *) = 0;
virtual void write_restart_settings(FILE *) {};
virtual void read_restart_settings(FILE *) {};
virtual void write_data(FILE *) {}
virtual double memory_usage();