AtomLeafAgentManager.AgentSource<Vector>, BoxEventListenerIntegratorFixedWall, IntegratorImageHarmonicMD, IntegratorImageMultistepMD, IntegratorMDHarmonicMC, IntegratorVelocityVerletSAMpublic class IntegratorVelocityVerlet extends IntegratorMD implements AtomLeafAgentManager.AgentSource<Vector>
Integrator.Forcible, Integrator.TorquableIntegratorMD.ThermostatType, IntegratorMD.VectorSource| Modifier and Type | Field | Description |
|---|---|---|
protected AtomLeafAgentManager<Vector> |
agentManager |
|
protected IteratorDirective |
allAtoms |
|
protected PotentialCalculationForceSum |
forceSum |
|
protected Tensor |
pressureTensor |
|
protected Tensor |
workTensor |
eventManager, initialized, interval, stepCountbox, currentPotentialEnergy, isothermal, meterPE, potentialMaster, space, temperaturealwaysScaleMomenta, atomActionRandomizeVelocity, currentKineticEnergy, currentTime, integratorMC, mcSteps, meterKE, meterTemperature, momentum, nAccepted, nRejected, oldEnergy, oldPositionAgentManager, oldPotentialEnergy, random, temperatureVec, thermostat, thermostatCount, thermostatInterval, thermostatNoDrift, thermostatting, timeStep| Constructor | Description |
|---|---|
IntegratorVelocityVerlet(PotentialMaster potentialMaster,
IRandom random,
double timeStep,
double temperature,
Box box) |
|
IntegratorVelocityVerlet(Simulation sim,
PotentialMaster potentialMaster,
Box box) |
| 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.
|
AtomLeafAgentManager<Vector> |
getAgentManager() |
|
PotentialCalculationForceSum |
getForceSum() |
|
Tensor |
getPressureTensor() |
Returns the pressure tensor based on the forces calculated during the
last time step.
|
Vector |
makeAgent(IAtom a,
Box agentBox) |
Returns an agent for the given Atom.
|
void |
releaseAgent(Vector agent,
IAtom atom,
Box agentBox) |
This informs the agent source that the agent is going away and that
the agent source should disconnect the agent from other elements.
|
void |
reset() |
Performs superclass reset actions and recalculated currentPotentialEnergy
|
void |
setForceSum(PotentialCalculationForceSum pc) |
doStep, getEventInterval, getEventManager, getStepCount, isInitialized, setEventIntervalgetBox, getMeterPotentialEnergy, getPotentialEnergy, getPotentialMaster, getTemperature, getTemperatureDimension, isIsothermal, setBox, setMeterPotentialEnergyboxAtomLeafIndexChanged, boxGlobalAtomLeafIndexChanged, boxMoleculeAdded, boxMoleculeIndexChanged, boxMoleculeRemoved, boxNumberMolecules, doThermostat, doThermostatInternal, getAlwaysScaleRandomizedMomenta, getCurrentTime, getHybridAcceptance, getIntegratorMC, getKineticEnergy, getMeterTemperature, getThermostat, getThermostatInterval, getTimeStep, isThermostatNoDrift, randomizeMomenta, randomizeMomentum, randomizeTotalKE, resetHybridAcceptance, resetStepCount, scaleMomenta, scaleMomenta, setAlwaysScaleRandomizedMomenta, setIntegratorMC, setIsothermal, setMeterTemperature, setTemperature, setThermostat, setThermostatInterval, setThermostatNoDrift, setTimeStep, setup, shiftMomentaprotected PotentialCalculationForceSum forceSum
protected final IteratorDirective allAtoms
protected final Tensor pressureTensor
protected final Tensor workTensor
protected AtomLeafAgentManager<Vector> agentManager
public IntegratorVelocityVerlet(Simulation sim, PotentialMaster potentialMaster, Box box)
public IntegratorVelocityVerlet(PotentialMaster potentialMaster, IRandom random, double timeStep, double temperature, Box box)
public PotentialCalculationForceSum getForceSum()
public AtomLeafAgentManager<Vector> getAgentManager()
public void setForceSum(PotentialCalculationForceSum pc)
protected void doStepInternal()
IntegratordoStepInternal in class IntegratorMDpublic Tensor getPressureTensor()
public void reset()
IntegratorBoxreset in class IntegratorMDpublic Vector makeAgent(IAtom a, Box agentBox)
AtomLeafAgentManager.AgentSourcemakeAgent in interface AtomLeafAgentManager.AgentSource<Vector>agentBox - TODOpublic void releaseAgent(Vector agent, IAtom atom, Box agentBox)
AtomLeafAgentManager.AgentSourcereleaseAgent in interface AtomLeafAgentManager.AgentSource<Vector>