mcpele  1.0.0
The Monte Carlo Python Energy Landscape Explorer
mcpele/record_energy_timeseries.h
00001 #ifndef _MCPELE_RECORD_ENERGY_TIMESERIES_H__
00002 #define _MCPELE_RECORD_ENERGY_TIMESERIES_H__
00003 
00004 #include "record_scalar_timeseries.h"
00005 
00006 namespace mcpele {
00007 
00008 class RecordEnergyTimeseries : public RecordScalarTimeseries{
00009 public:
00010     RecordEnergyTimeseries(const size_t niter, const size_t record_every)
00011         : RecordScalarTimeseries(niter, record_every)
00012     {}
00013     virtual ~RecordEnergyTimeseries(){}
00014     virtual double get_recorded_scalar(pele::Array<double> &coords,
00015             const double energy, const bool accepted, MC* mc) { return energy; }
00016 };
00017 
00018 } // namespace mcpele
00019 
00020 #endif // #ifndef _MCPELE_RECORD_ENERGY_TIMESERIES_H__
 All Classes Namespaces Functions Variables Typedefs