9 #ifndef IMPISD_HYBRID_MONTE_CARLO_H
10 #define IMPISD_HYBRID_MONTE_CARLO_H
12 #include <IMP/isd/isd_config.h>
17 IMPISD_BEGIN_NAMESPACE
26 Float timestep=1.0,
unsigned persistence=1);
28 Float get_kinetic_energy()
const;
30 Float get_potential_energy()
const;
32 Float get_total_energy()
const;
35 void set_timestep(
Float ts);
36 double get_timestep()
const;
39 void set_number_of_md_steps(
unsigned nsteps);
40 unsigned get_number_of_md_steps()
const;
43 void set_persistence(
unsigned persistence=1);
44 unsigned get_persistence()
const;
53 double ekin = md_->get_kinetic_energy();
55 if (get_maximum_difference() < std::numeric_limits<double>::max()) {
67 unsigned num_md_steps_,persistence_;
68 unsigned persistence_counter_;
69 IMP::internal::OwnerPointer<MolecularDynamicsMover> mv_;
70 IMP::Pointer<MolecularDynamics> md_;