DataSourceIndependent, IDataSourcepublic class MeterWidomCavity extends java.lang.Object implements IDataSource, DataSourceIndependent
| Modifier and Type | Field | Description |
|---|---|---|
protected Box |
box |
|
protected DataFunction |
data |
|
protected DataFunction.DataInfoFunction |
dataInfo |
|
protected Vector |
dr |
|
protected Vector |
r0 |
|
protected IRandom |
random |
|
protected DataDoubleArray |
rData |
|
protected DataDoubleArray.DataInfoDoubleArray |
rDataInfo |
|
protected DataTag |
rTag |
|
protected DataTag |
tag |
|
protected IMolecule |
testMolecule |
| Constructor | Description |
|---|---|
MeterWidomCavity(Box box,
IRandom random,
PotentialMaster potentialMaster) |
| Modifier and Type | Method | Description |
|---|---|---|
IData |
getData() |
|
IDataInfo |
getDataInfo() |
|
int |
getIndependentArrayDimension() |
Returns the number of independent data dimensions
|
DataDoubleArray |
getIndependentData(int i) |
Returns the X data for the given dimension
|
DataDoubleArray.DataInfoDoubleArray |
getIndependentDataInfo(int i) |
Returns the DataInfo for the given dimension
|
DataTag |
getIndependentTag() |
Returns the tag associated with this DataSource.
|
int |
getNInsert() |
Accessor to number of Widom insertions attempted with each call to
currentValue
|
ISpecies |
getSpecies() |
Accessor for the species for which chemical potential is evaluated
|
DataTag |
getTag() |
|
void |
setInsertionDistances(double[] r) |
|
void |
setNInsert(int n) |
Number of Widom insertions attempted with each call to currentValue
|
void |
setSpecies(ISpecies s) |
Sets the species, takes a prototype molecule, and gets handle to
appropriate species agent in box
|
protected DataFunction data
protected DataFunction.DataInfoFunction dataInfo
protected final DataTag tag
protected final DataTag rTag
protected DataDoubleArray rData
protected DataDoubleArray.DataInfoDoubleArray rDataInfo
protected final IRandom random
protected Box box
protected final Vector dr
protected final Vector r0
protected IMolecule testMolecule
public MeterWidomCavity(Box box, IRandom random, PotentialMaster potentialMaster)
public void setInsertionDistances(double[] r)
public void setSpecies(ISpecies s)
public ISpecies getSpecies()
public void setNInsert(int n)
public int getNInsert()
public IData getData()
getData in interface IDataSourcepublic DataTag getTag()
getTag in interface IDataSourcepublic IDataInfo getDataInfo()
getDataInfo in interface IDataSourcepublic DataDoubleArray getIndependentData(int i)
DataSourceIndependentgetIndependentData in interface DataSourceIndependentpublic DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependentgetIndependentDataInfo in interface DataSourceIndependentpublic int getIndependentArrayDimension()
DataSourceIndependentgetIndependentArrayDimension in interface DataSourceIndependentpublic DataTag getIndependentTag()
DataSourceIndependentgetIndependentTag in interface DataSourceIndependent