IDataSource
public class MeterPressure2 extends DataSourceScalar
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected PotentialMaster |
potentialMaster |
data, dataInfo, tag
Constructor | Description |
---|---|
MeterPressure2(Space space) |
Modifier and Type | Method | Description |
---|---|---|
Box |
getBox() |
|
double |
getDataAsScalar() |
Computes total pressure in box by summing virial over all pairs, and adding
ideal-gas contribution.
|
PotentialMaster |
getPotentialMaster() |
Returns the integrator associated with this instance.
|
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) |
Sets the integrator associated with this instance.
|
getData, getDataDouble, getDataInfo, getTag
protected PotentialMaster potentialMaster
protected Box box
public MeterPressure2(Space space)
public void setPotentialMaster(PotentialMaster newPotentialMaster)
public PotentialMaster getPotentialMaster()
public void setBox(Box newBox)
public Box getBox()
public void setIncludeLrc(boolean b)
public boolean isIncludeLrc()
public double getDataAsScalar()
getDataAsScalar
in class DataSourceScalar