public class IntegratorHybrid extends IntegratorBox
Integrator.Forcible, Integrator.Torquable| Modifier and Type | Field | Description |
|---|---|---|
protected IntegratorMC |
integratorMC |
|
protected IntegratorMD |
integratorMD |
eventManager, initialized, interval, stepCountbox, currentPotentialEnergy, isothermal, meterPE, potentialMaster, space, temperature| Constructor | Description |
|---|---|
IntegratorHybrid(PotentialMasterHybrid potentialMaster,
IntegratorMD integratorMD,
IntegratorMC integratorMC,
double temperature) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doStepInternal() |
Performs the elementary integration step, such as a molecular dynamics
time step, or a Monte Carlo trial.
|
double |
getCurrentTime() |
|
void |
reset() |
Performs superclass reset actions and recalculated currentPotentialEnergy
|
void |
resetStepCount() |
This method resets the step counter.
|
void |
setIsothermal(boolean b) |
|
void |
setMCMoveInsertDelete(MyMCMove mcMoveIDA,
MyMCMove mcMoveIDB) |
|
void |
setMDStepRepetitions(int interval) |
|
void |
setTemperature(double t) |
|
protected void |
setup() |
Perform initialization.
|
doStep, getEventInterval, getEventManager, getStepCount, isInitialized, setEventIntervalgetBox, getMeterPotentialEnergy, getPotentialEnergy, getPotentialMaster, getTemperature, getTemperatureDimension, isIsothermal, setBox, setMeterPotentialEnergyprotected final IntegratorMC integratorMC
protected final IntegratorMD integratorMD
public IntegratorHybrid(PotentialMasterHybrid potentialMaster, IntegratorMD integratorMD, IntegratorMC integratorMC, double temperature)
public void setMDStepRepetitions(int interval)
protected void setup()
Integratorsetup in class Integratorpublic void setTemperature(double t)
setTemperature in class IntegratorBoxt - the new temperaturepublic void setIsothermal(boolean b)
setIsothermal in class IntegratorBoxb - specifies whether the Integrator should (if true) sample according to a specified temperatureprotected void doStepInternal()
IntegratordoStepInternal in class Integratorpublic double getCurrentTime()
public void reset()
IntegratorBoxreset in class IntegratorBoxpublic void resetStepCount()
IntegratorresetStepCount in class Integrator