Apply override to Compute classes
This commit is contained in:
@ -27,21 +27,21 @@ namespace LAMMPS_NS {
|
||||
class ComputeTempPartial : public Compute {
|
||||
public:
|
||||
ComputeTempPartial(class LAMMPS *, int, char **);
|
||||
virtual ~ComputeTempPartial();
|
||||
void init() {}
|
||||
void setup();
|
||||
double compute_scalar();
|
||||
void compute_vector();
|
||||
~ComputeTempPartial() override;
|
||||
void init() override {}
|
||||
void setup() override;
|
||||
double compute_scalar() override;
|
||||
void compute_vector() override;
|
||||
|
||||
int dof_remove(int);
|
||||
void remove_bias(int, double *);
|
||||
void remove_bias_thr(int, double *, double *);
|
||||
void remove_bias_all();
|
||||
void reapply_bias_all();
|
||||
void restore_bias(int, double *);
|
||||
void restore_bias_thr(int, double *, double *);
|
||||
void restore_bias_all();
|
||||
double memory_usage();
|
||||
int dof_remove(int) override;
|
||||
void remove_bias(int, double *) override;
|
||||
void remove_bias_thr(int, double *, double *) override;
|
||||
void remove_bias_all() override;
|
||||
void reapply_bias_all() override;
|
||||
void restore_bias(int, double *) override;
|
||||
void restore_bias_thr(int, double *, double *) override;
|
||||
void restore_bias_all() override;
|
||||
double memory_usage() override;
|
||||
|
||||
protected:
|
||||
int xflag, yflag, zflag;
|
||||
|
||||
Reference in New Issue
Block a user