mcpele  1.0.0
The Monte Carlo Python Energy Landscape Explorer
mcpele/energy_window_test.h
00001 #ifndef _MCPELE_ENERGY_WINDOW_TEST_H__
00002 #define _MCPELE_ENERGY_WINDOW_TEST_H__
00003 
00004 #include "pele/array.h"
00005 #include "mc.h"
00006 
00007 namespace mcpele {
00008 
00014 class EnergyWindowTest : public AcceptTest {
00015 protected:
00016     double m_min_energy;
00017     double m_max_energy;
00018 public:
00019     EnergyWindowTest(const double min_energy, const double max_energy);
00020     virtual ~EnergyWindowTest() {}
00021     virtual bool test(pele::Array<double> &trial_coords, double trial_energy,
00022             pele::Array<double> & old_coords, double old_energy, double temperature,
00023             MC * mc);
00024 };
00025 
00026 } // namesapce mcpele
00027 
00028 #endif // #ifndef _MCPELE_ENERGY_WINDOW_TEST_H__
 All Classes Namespaces Functions Variables Typedefs