PotentialCalculation
PotentialCalculationSolidSuperCutLS
public class PotentialCalculationSolidSuperCut extends java.lang.Object implements PotentialCalculation
Modifier and Type | Field | Description |
---|---|---|
protected Boundary |
boundary |
|
protected Box |
box |
|
protected CoordinateDefinition |
coordinateDefinition |
|
protected double[] |
dadbSum |
|
protected Vector |
dr |
|
protected Vector |
dr0 |
|
protected Vector |
drA |
|
protected Vector |
drB |
|
protected Vector |
drSite0 |
|
protected Vector |
drSite1 |
|
protected double[] |
energySum |
|
protected double |
fac1 |
|
protected Vector |
pTmp1 |
|
protected double[] |
pzxySum |
|
protected double[] |
r2Cut |
|
protected Space |
space |
|
protected double[] |
sum1 |
|
protected double[] |
virialSum |
Constructor | Description |
---|---|
PotentialCalculationSolidSuperCut(Space space,
CoordinateDefinition coordinateDefinition,
double[] cutoffs) |
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[] |
getDADBSum() |
Returns sum of Fi dot ri
|
double[] |
getEnergySum() |
|
double[] |
getPressure1() |
|
double[] |
getPzxy() |
|
double[] |
getVirialSum() |
|
void |
setBox(Box box) |
|
void |
zeroSum() |
protected final CoordinateDefinition coordinateDefinition
protected final Vector drSite0
protected final Vector drSite1
protected final Vector drA
protected final Vector dr
protected final Vector drB
protected final Vector dr0
protected final Space space
protected double[] pzxySum
protected final Vector pTmp1
protected double[] sum1
protected double[] virialSum
protected double[] energySum
protected double[] dadbSum
protected double fac1
protected Box box
protected Boundary boundary
protected final double[] r2Cut
public PotentialCalculationSolidSuperCut(Space space, CoordinateDefinition coordinateDefinition, double[] cutoffs)
public void doCalculation(IAtomList atoms, IPotentialAtomic potential)
doCalculation
in interface PotentialCalculation
atoms
- IAtomSet the atom sets for which the calculation is performed.potential
- The potential used to apply the action defined by this class.public double[] getPressure1()
public double[] getVirialSum()
public double[] getPzxy()
public double[] getEnergySum()
public double[] getDADBSum()
public void zeroSum()
public void setBox(Box box)