IDataSource
public class MeterPU extends java.lang.Object implements IDataSource
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected DataDoubleArray |
data |
|
protected DataDoubleArray.DataInfoDoubleArray |
dataInfo |
|
protected PotentialCalculationEnergySum |
energy |
|
protected IteratorDirective |
iteratorDirective |
|
protected PotentialMaster |
potentialMaster |
|
protected DataTag |
tag |
|
protected double |
temperature |
|
protected PotentialCalculationVirialSum |
virial |
Modifier and Type | Method | Description |
---|---|---|
IData |
getData() |
Computes total pressure in box by summing virial over all pairs, and adding
ideal-gas contribution.
|
IDataInfo |
getDataInfo() |
|
DataTag |
getTag() |
|
boolean |
isIncludeLrc() |
Indicates whether calculated energy should include
long-range correction for potential truncation (true) or not (false).
|
void |
setBox(Box newBox) |
|
void |
setIncludeLrc(boolean b) |
Sets flag indicating whether calculated energy should include
long-range correction for potential truncation (true) or not (false).
|
void |
setPotentialMaster(PotentialMaster newPotentialMaster) |
|
void |
setTemperature(double newTemperature) |
protected final DataDoubleArray data
protected final DataDoubleArray.DataInfoDoubleArray dataInfo
protected final DataTag tag
protected IteratorDirective iteratorDirective
protected final PotentialCalculationVirialSum virial
protected final PotentialCalculationEnergySum energy
protected PotentialMaster potentialMaster
protected double temperature
protected Box box
public MeterPU(Space space)
public void setPotentialMaster(PotentialMaster newPotentialMaster)
public void setTemperature(double newTemperature)
public void setBox(Box newBox)
public void setIncludeLrc(boolean b)
public boolean isIncludeLrc()
public IData getData()
getData
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource