AtomStressSource, PotentialCalculationpublic class PotentialCalculationForceSumGlass extends PotentialCalculationForcePressureSum implements AtomStressSource
pressureTensorintegratorAgentManager| Constructor | Description |
|---|---|
PotentialCalculationForceSumGlass(Box box) |
| 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.
|
double[][][] |
getStress() |
|
void |
reset() |
Zeros out the pressureTensor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPressureTensorsetAgentManagerpublic PotentialCalculationForceSumGlass(Box box)
public void reset()
PotentialCalculationForcePressureSumreset in class PotentialCalculationForcePressureSumpublic void doCalculation(IAtomList atoms, IPotentialAtomic potential)
doCalculation in interface PotentialCalculationdoCalculation in class PotentialCalculationForcePressureSumatoms - IAtomSet the atom sets for which the calculation is performed.potential - The potential used to apply the action defined by this class.public double[][][] getStress()
getStress in interface AtomStressSource