PotentialCalculation
public class PotentialCalculationForceStress extends PotentialCalculationForcePressureSum
Modifier and Type | Field | Description |
---|---|---|
protected double |
load |
pressureTensor
integratorAgentManager
Constructor | Description |
---|---|
PotentialCalculationForceStress(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.
|
double |
getLoad() |
|
void |
reset() |
Zeros out the pressureTensor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPressureTensor
setAgentManager
public PotentialCalculationForceStress(Space space)
public void reset()
PotentialCalculationForcePressureSum
reset
in class PotentialCalculationForcePressureSum
public double getLoad()
public void doCalculation(IAtomList atoms, IPotentialAtomic potential)
doCalculation
in interface PotentialCalculation
doCalculation
in class PotentialCalculationForcePressureSum
atoms
- IAtomSet the atom sets for which the calculation is performed.potential
- The potential used to apply the action defined by this class.