IDataSource
public class MeterPressureTensor extends java.lang.Object implements IDataSource
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected DataTensor |
data |
|
protected DataInfo |
dataInfo |
|
protected IteratorDirective |
iteratorDirective |
|
protected PotentialCalculationPressureTensor |
pc |
|
protected PotentialMaster |
potentialMaster |
|
protected double |
rD |
|
protected DataTag |
tag |
Constructor | Description |
---|---|
MeterPressureTensor(PotentialMaster potentialMaster,
Space space) |
Modifier and Type | Method | Description |
---|---|---|
Box |
getBox() |
Returns the integrator associated with this instance.
|
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) |
Sets the integrator associated with this instance.
|
void |
setIncludeLrc(boolean b) |
Sets flag indicating whether calculated energy should include
long-range correction for potential truncation (true) or not (false).
|
void |
setTemperature(double newT) |
protected final DataTag tag
protected final DataTensor data
protected final DataInfo dataInfo
protected final PotentialMaster potentialMaster
protected Box box
protected IteratorDirective iteratorDirective
protected final PotentialCalculationPressureTensor pc
protected final double rD
public MeterPressureTensor(PotentialMaster potentialMaster, Space space)
public DataTag getTag()
getTag
in interface IDataSource
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public void setBox(Box newBox)
public Box getBox()
public void setIncludeLrc(boolean b)
public boolean isIncludeLrc()
public void setTemperature(double newT)
public IData getData()
getData
in interface IDataSource