Package ffx.algorithms.mc
Class RosenbluthOBMC
java.lang.Object
ffx.algorithms.mc.RosenbluthOBMC
- All Implemented Interfaces:
MonteCarloListener
Orientational Biased Monte Carlo (as applied to chi0 torsion of peptide side-chains).
As described by Frenkel/Smit in "Understanding Molecular Simulation" Chapter 13.1.2. This uses the "orientational biasing" method to select chi[0] moves that are frequently accepted.
- Author:
- Stephen D. LuCore
-
Constructor Summary
ConstructorDescriptionRosenbluthOBMC
(MolecularAssembly molecularAssembly, ForceFieldEnergy forceFieldEnergy, Thermostat thermostat, List<Residue> targets, int mcFrequency, int trialSetSize) RRMC constructor.RosenbluthOBMC
(MolecularAssembly molecularAssembly, ForceFieldEnergy forceFieldEnergy, Thermostat thermostat, List<Residue> targets, int mcFrequency, int trialSetSize, boolean writeSnapshots) Constructor for RosenbluthOBMC. -
Method Summary
Modifier and TypeMethodDescriptionboolean
mcUpdate
(double temperature) After a successful step or interval of an algorithm, this method of the listener will be called.
-
Constructor Details
-
RosenbluthOBMC
public RosenbluthOBMC(MolecularAssembly molecularAssembly, ForceFieldEnergy forceFieldEnergy, Thermostat thermostat, List<Residue> targets, int mcFrequency, int trialSetSize) RRMC constructor.- Parameters:
molecularAssembly
- aMolecularAssembly
object.forceFieldEnergy
- aForceFieldEnergy
object.thermostat
- aThermostat
object.targets
- Residues to undergo RRMC.mcFrequency
- Number of MD steps between RRMC proposals.trialSetSize
- Larger values cost more but increase acceptance.
-
RosenbluthOBMC
public RosenbluthOBMC(MolecularAssembly molecularAssembly, ForceFieldEnergy forceFieldEnergy, Thermostat thermostat, List<Residue> targets, int mcFrequency, int trialSetSize, boolean writeSnapshots) Constructor for RosenbluthOBMC.- Parameters:
molecularAssembly
- aMolecularAssembly
object.forceFieldEnergy
- aForceFieldEnergy
object.thermostat
- aThermostat
object.targets
- aList
object.mcFrequency
- a int.trialSetSize
- a int.writeSnapshots
- a boolean.
-
-
Method Details
-
mcUpdate
public boolean mcUpdate(double temperature) After a successful step or interval of an algorithm, this method of the listener will be called.Temperature argument is necessary since Potentials package cannot import Thermostat/MD.
- Specified by:
mcUpdate
in interfaceMonteCarloListener
- Parameters:
temperature
- The Metropolis Monte Carlo temperature.- Returns:
- A return of
true
indicates the algorithm continues.
-