PotentialCalculation
public class PotentialCalculationForcePressureSumGB extends PotentialCalculationForceSum
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected ISpecies |
fixed |
|
protected Tensor |
pressureTensor |
integratorAgentManager
Constructor | Description |
---|---|
PotentialCalculationForcePressureSumGB(Space _space,
Box box) |
Modifier and Type | Method | Description |
---|---|---|
void |
doCalculation(IAtomList atoms,
IPotential 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, wait
doCalculation, setAgentManager
protected final Tensor pressureTensor
protected ISpecies fixed
protected Box box
public void reset()
reset
in class PotentialCalculationForceSum
public void doCalculation(IAtomList atoms, IPotential potential)
public Tensor getPressureTensor()