|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.integrator.Integrator
etomica.integrator.IntegratorBox
etomica.integrator.IntegratorMD
etomica.integrator.IntegratorRigidIterative
public class IntegratorRigidIterative
| Nested Class Summary | |
|---|---|
static class |
IntegratorRigidIterative.MoleculeAgent
|
| Nested classes/interfaces inherited from class etomica.integrator.IntegratorMD |
|---|
IntegratorMD.ThermostatType |
| Nested classes/interfaces inherited from class etomica.integrator.Integrator |
|---|
Integrator.Forcible, Integrator.Torquable |
| Field Summary | |
|---|---|
protected AtomPositionCOM |
atomPositionCOM
|
protected AtomLeafAgentManager |
leafAgentManager
|
protected int |
maxIterations
|
protected MoleculeAgentManager |
moleculeAgentManager
|
protected double |
omegaTolerance
|
protected Tensor |
pressureTensor
|
int |
printInterval
|
protected RotationTensor3D |
rotationTensor
|
protected ISimulation |
sim
|
protected boolean |
storeAngularMomentum
|
protected IVectorMutable |
tempAngularVelocity
|
protected OrientationFull3D |
tempOrientation
|
protected RotationTensor3D |
tempRotationTensor
|
protected PotentialCalculationTorqueSum |
torqueSum
|
protected AtomActionTranslateBy |
translateBy
|
protected MoleculeChildAtomAction |
translator
|
protected SpeciesAgentManager |
typeAgentManager
|
protected Tensor |
workTensor
|
protected IVectorMutable |
xWork
|
| Fields inherited from class etomica.integrator.IntegratorMD |
|---|
atomActionRandomizeVelocity, currentKineticEnergy, currentTime, meterKE, meterTemperature, momentum, random, space, thermostat, thermostatCount, thermostatInterval, timeStep |
| Fields inherited from class etomica.integrator.IntegratorBox |
|---|
box, currentPotentialEnergy, isothermal, meterPE, potentialMaster, temperature |
| Fields inherited from class etomica.integrator.Integrator |
|---|
eventManager, initialized, interval, stepCount |
| Constructor Summary | |
|---|---|
IntegratorRigidIterative(ISimulation sim,
IPotentialMaster potentialMaster,
double timeStep,
double temperature,
ISpace _space)
|
|
IntegratorRigidIterative(ISimulation sim,
IPotentialMaster potentialMaster,
ISpace _space)
|
|
| Method Summary | |
|---|---|
void |
doStepInternal()
Performs the elementary integration step, such as a molecular dynamics time step, or a Monte Carlo trial. |
Class |
getAgentClass()
Returns the Class of the agent. |
static EtomicaInfo |
getEtomicaInfo()
|
Class |
getMoleculeAgentClass()
Returns the Class of the agent. |
Tensor |
getPressureTensor()
Returns the pressure tensor based on the forces calculated during the last time step. |
Class |
getSpeciesAgentClass()
Returns the Class of the agent. |
static void |
main(String[] args)
|
Object |
makeAgent(IAtom a)
Returns an agent for the given Atom. |
Object |
makeAgent(IMolecule a)
Returns an agent for the given Atom. |
Object |
makeAgent(ISpecies type)
Returns an agent for the given AtomType. |
void |
randomizeMomenta()
randomizes the velocities for the given box using velocities chosen form a Maxwell-Boltzmann distribution as in the Andersen thermostat. |
void |
randomizeMomentum(IAtomKinetic atom)
randomizes the velocity of an atom in the given box using velocities chosen form a Maxwell-Boltzmann distribution as in the Andersen thermostat. |
void |
releaseAgent(Object agent,
IAtom atom)
This informs the agent source that the agent is going away and that the agent source should disconnect the agent from other elements |
void |
releaseAgent(Object agent,
IMolecule atom)
This informs the agent source that the agent is going away and that the agent source should disconnect the agent from other elements |
void |
releaseAgent(Object agent,
ISpecies type)
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()
reset the integrator's kinetic energy tracker |
void |
scaleMomenta()
Crude method to enforce constant-temperature constraint Scales momenta of all atoms by a constant factor so that box adheres to setpoint temperature. |
void |
setBox(IBox p)
Performs activities needed to set up integrator to work on given box. |
void |
setMaxIterations(int newMaxIterations)
|
void |
setOrientationCalc(ISpecies moleculeType,
OrientationCalc calcer)
|
void |
setTorqueSum(PotentialCalculationTorqueSum pc)
|
| Methods inherited from class etomica.integrator.IntegratorBox |
|---|
getBox, getMeterPotentialEnergy, getPotentialEnergy, getPotentialMaster, getTemperature, getTemperatureDimension, isIsothermal, setMeterPotentialEnergy |
| Methods inherited from class etomica.integrator.Integrator |
|---|
doStep, getEventInterval, getEventManager, getStepCount, setEventInterval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PotentialCalculationTorqueSum torqueSum
protected final Tensor pressureTensor
protected final Tensor workTensor
protected final RotationTensor3D rotationTensor
protected final RotationTensor3D tempRotationTensor
protected final IVectorMutable xWork
protected final SpeciesAgentManager typeAgentManager
protected final IVectorMutable tempAngularVelocity
protected final AtomPositionCOM atomPositionCOM
protected final AtomActionTranslateBy translateBy
protected final MoleculeChildAtomAction translator
protected final OrientationFull3D tempOrientation
public int printInterval
protected int maxIterations
protected double omegaTolerance
protected final boolean storeAngularMomentum
protected final ISimulation sim
protected AtomLeafAgentManager leafAgentManager
protected MoleculeAgentManager moleculeAgentManager
| Constructor Detail |
|---|
public IntegratorRigidIterative(ISimulation sim,
IPotentialMaster potentialMaster,
ISpace _space)
public IntegratorRigidIterative(ISimulation sim,
IPotentialMaster potentialMaster,
double timeStep,
double temperature,
ISpace _space)
| Method Detail |
|---|
public static EtomicaInfo getEtomicaInfo()
public void setBox(IBox p)
IntegratorBox
setBox in class IntegratorMDpublic void setTorqueSum(PotentialCalculationTorqueSum pc)
public void setOrientationCalc(ISpecies moleculeType,
OrientationCalc calcer)
public void setMaxIterations(int newMaxIterations)
public void doStepInternal()
Integrator
doStepInternal in class IntegratorMDpublic Tensor getPressureTensor()
public void scaleMomenta()
IntegratorMD
scaleMomenta in class IntegratorMDpublic void randomizeMomenta()
IntegratorMD
randomizeMomenta in class IntegratorMDpublic void randomizeMomentum(IAtomKinetic atom)
IntegratorMD
randomizeMomentum in class IntegratorMDatom - whose momenta is be randomizedpublic void reset()
IntegratorMD
reset in interface IIntegratorreset in class IntegratorMDpublic Class getMoleculeAgentClass()
MoleculeAgentManager.MoleculeAgentSource
getMoleculeAgentClass in interface MoleculeAgentManager.MoleculeAgentSourcepublic final Object makeAgent(IMolecule a)
MoleculeAgentManager.MoleculeAgentSource
makeAgent in interface MoleculeAgentManager.MoleculeAgentSource
public void releaseAgent(Object agent,
IMolecule atom)
MoleculeAgentManager.MoleculeAgentSource
releaseAgent in interface MoleculeAgentManager.MoleculeAgentSourcepublic Class getAgentClass()
AtomLeafAgentManager.AgentSource
getAgentClass in interface AtomLeafAgentManager.AgentSourcepublic final Object makeAgent(IAtom a)
AtomLeafAgentManager.AgentSource
makeAgent in interface AtomLeafAgentManager.AgentSource
public void releaseAgent(Object agent,
IAtom atom)
AtomLeafAgentManager.AgentSource
releaseAgent in interface AtomLeafAgentManager.AgentSourcepublic Class getSpeciesAgentClass()
SpeciesAgentManager.AgentSource
getSpeciesAgentClass in interface SpeciesAgentManager.AgentSourcepublic Object makeAgent(ISpecies type)
SpeciesAgentManager.AgentSource
makeAgent in interface SpeciesAgentManager.AgentSource
public void releaseAgent(Object agent,
ISpecies type)
SpeciesAgentManager.AgentSource
releaseAgent in interface SpeciesAgentManager.AgentSourcepublic static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||