IDataSource
public class MeterPressureMolecular extends DataSourceScalar
data, dataInfo, tag
Constructor | Description |
---|---|
MeterPressureMolecular(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 |
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.
|
getData, getDataDouble, getDataInfo, getTag
public MeterPressureMolecular(Space space)
public void setIntegrator(IntegratorBox newIntegrator)
public IntegratorBox getIntegrator()
public void setIncludeLrc(boolean b)
public boolean isIncludeLrc()
public double getDataAsScalar()
getDataAsScalar
in class DataSourceScalar