PotentialCalculation
public class PotentialCalculationRDF extends java.lang.Object implements PotentialCalculation
Modifier and Type | Field | Description |
---|---|---|
protected Boundary |
boundary |
|
protected Vector |
dr |
|
protected long[] |
gSum |
|
protected DataSourceUniform |
xDataSource |
|
protected double |
xMax |
Constructor | Description |
---|---|
PotentialCalculationRDF(Space space,
Box box) |
Modifier and Type | Method | Description |
---|---|---|
void |
doCalculation(IAtomList atoms,
IPotentialAtomic potential) |
Method giving the specific calculation performed by this class.
|
long[] |
getGSum() |
|
DataSourceUniform |
getXDataSource() |
|
void |
reset() |
Zero's out the RDF sum tracked by this meter.
|
void |
setBox(Box box) |
protected final Vector dr
protected long[] gSum
protected Boundary boundary
protected final DataSourceUniform xDataSource
protected double xMax
public DataSourceUniform getXDataSource()
public void setBox(Box box)
public void reset()
public void doCalculation(IAtomList atoms, IPotentialAtomic potential)
PotentialCalculation
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 long[] getGSum()