PotentialCalculationPotentialCalculationForceStress, PotentialCalculationForceSumGlasspublic class PotentialCalculationForcePressureSum extends PotentialCalculationForceSum
| Modifier and Type | Field | Description |
|---|---|---|
protected Tensor |
pressureTensor |
integratorAgentManager| Constructor | Description |
|---|---|
PotentialCalculationForcePressureSum(Space space) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
doCalculation(IAtomList atoms,
IPotentialAtomic potential) |
Adds forces due to given potential acting on the atoms produced by the iterator.
|
Tensor |
getPressureTensor() |
Returns the virial portion of pressure tensor calculated during the last
potential calculation.
|
void |
reset() |
Zeros out the pressureTensor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetAgentManagerprotected final Tensor pressureTensor
public PotentialCalculationForcePressureSum(Space space)
public void reset()
reset in class PotentialCalculationForceSumpublic void doCalculation(IAtomList atoms, IPotentialAtomic potential)
doCalculation in interface PotentialCalculationdoCalculation in class PotentialCalculationForceSumatoms - IAtomSet the atom sets for which the calculation is performed.potential - The potential used to apply the action defined by this class.public Tensor getPressureTensor()