IntegratorDCVGCMD
, IntegratorDCVGCMD
, IntegratorDimerApproach
, IntegratorDimerMin
, IntegratorDimerRT
, IntegratorEnergyMap
, IntegratorHybrid
, IntegratorKMC
, IntegratorKMCCluster
, IntegratorMC
, IntegratorMD
public abstract class IntegratorBox extends Integrator
Integrator.Forcible, Integrator.Torquable
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected double |
currentPotentialEnergy |
|
protected boolean |
isothermal |
|
protected DataSourceScalar |
meterPE |
|
protected PotentialMaster |
potentialMaster |
|
protected Space |
space |
|
protected double |
temperature |
eventManager, initialized, interval, stepCount
Constructor | Description |
---|---|
IntegratorBox(PotentialMaster potentialMaster,
double temperature,
Box box) |
Modifier and Type | Method | Description |
---|---|---|
Box |
getBox() |
|
DataSourceScalar |
getMeterPotentialEnergy() |
|
double |
getPotentialEnergy() |
|
PotentialMaster |
getPotentialMaster() |
|
double |
getTemperature() |
|
Dimension |
getTemperatureDimension() |
|
boolean |
isIsothermal() |
|
void |
reset() |
Performs superclass reset actions and recalculated currentPotentialEnergy
|
protected void |
setBox(Box box) |
|
void |
setIsothermal(boolean b) |
|
void |
setMeterPotentialEnergy(DataSourceScalar mpe) |
|
void |
setTemperature(double t) |
doStep, doStepInternal, getEventInterval, getEventManager, getStepCount, isInitialized, resetStepCount, setEventInterval, setup
protected final PotentialMaster potentialMaster
protected final Box box
protected final Space space
protected double temperature
protected boolean isothermal
protected DataSourceScalar meterPE
protected double currentPotentialEnergy
public IntegratorBox(PotentialMaster potentialMaster, double temperature, Box box)
potentialMaster
- PotentialMaster instance used to compute energy etc.temperature
- used by integration algorithm and/or to initialize velocitiespublic PotentialMaster getPotentialMaster()
public void reset()
reset
in class Integrator
ConfigurationOverlapException
- if energy of current configuration is infinitepublic final double getTemperature()
public void setTemperature(double t)
t
- the new temperaturepublic final Dimension getTemperatureDimension()
public double getPotentialEnergy()
public boolean isIsothermal()
public void setIsothermal(boolean b)
b
- specifies whether the Integrator should (if true) sample according to a specified temperaturepublic Box getBox()
protected void setBox(Box box)
box
- the Box to setpublic DataSourceScalar getMeterPotentialEnergy()
public void setMeterPotentialEnergy(DataSourceScalar mpe)
mpe
- the new meter used to compute the potential energy