IDataSource
public class MeterHyperVirial extends java.lang.Object implements IDataSource
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected IData |
data |
|
protected IDataInfo |
dataInfo |
|
protected PotentialCalculationHyperVirialSum |
hyperVirial |
|
protected IteratorDirective |
iteratorDirective |
|
protected PotentialMaster |
potentialMaster |
|
protected DataTag |
tag |
|
protected double |
temperature |
Constructor | Description |
---|---|
MeterHyperVirial() |
|
MeterHyperVirial(Space space,
boolean doFull) |
If full is true, then the pressure is also calculated and three values
are returned.
|
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 temperature) |
protected final IDataInfo dataInfo
protected final IData data
protected final DataTag tag
protected final IteratorDirective iteratorDirective
protected final PotentialCalculationHyperVirialSum hyperVirial
protected PotentialMaster potentialMaster
protected Box box
protected double temperature
public MeterHyperVirial()
public MeterHyperVirial(Space space, boolean doFull)
space
- doFull
- public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public void setPotentialMaster(PotentialMaster newPotentialMaster)
public void setBox(Box newBox)
public void setTemperature(double temperature)
public void setIncludeLrc(boolean b)
public boolean isIncludeLrc()
public IData getData()
getData
in interface IDataSource