Commit 24ec1489 by Francois Gygi

Fix pure virtual functions declarations in SampleStepper.h

parent 0cae8842
......@@ -47,6 +47,8 @@ class CPSampleStepper : public SampleStepper
mutable TimerMap tmap;
void step(int niter);
ChargeDensity& cd(void) { return cd_; }
EnergyFunctional& ef(void) { return ef_; }
CPSampleStepper(Sample& s);
~CPSampleStepper();
......
......@@ -56,8 +56,8 @@ class SampleStepper
void set_iter_cmd(std::string s) { iter_cmd_ = s; }
void set_iter_cmd_period(int i) { iter_cmd_period_ = i; }
virtual EnergyFunctional& ef(void) {}
virtual ChargeDensity& cd(void) {}
virtual EnergyFunctional& ef(void) = 0;
virtual ChargeDensity& cd(void) = 0;
SampleStepper(Sample& s);
virtual ~SampleStepper(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment