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