DataSourceIndependent
, IDataSource
, java.io.Serializable
public class MeterProfileByAtoms extends java.lang.Object implements IDataSource, DataSourceIndependent, java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected DataFunction |
data |
|
protected IDataInfo |
dataInfo |
|
protected DataSourceMolecular |
meter |
Meter that defines the property being profiled.
|
protected int[] |
nAtoms |
|
protected Vector |
position |
|
protected int |
profileDim |
Vector describing the orientation of the profile.
|
protected ISpecies |
species |
|
protected DataTag |
tag |
|
protected DataSourceUniform |
xDataSource |
|
protected double[] |
y |
Constructor | Description |
---|---|
MeterProfileByAtoms(Space space) |
Default constructor sets profile along the y-axis, with 100 histogram points.
|
Modifier and Type | Method | Description |
---|---|---|
Box |
getBox() |
|
IData |
getData() |
Returns the profile for the current configuration.
|
IDataInfo |
getDataInfo() |
|
DataSourceMolecular |
getDataSource() |
The meter that defines the profiled quantity
|
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.
|
IMoleculePositionDefinition |
getPositionDefinition() |
|
int |
getProfileDim() |
Accessor method for vector describing the direction along which the profile is measured.
|
ISpecies |
getSpecies() |
|
DataTag |
getTag() |
|
void |
reset() |
|
void |
setBox(Box box) |
|
void |
setDataSource(DataSourceMolecular m) |
Accessor method for the meter that defines the profiled quantity.
|
void |
setPositionDefinition(IMoleculePositionDefinition positionDefinition) |
|
void |
setProfileDim(int dim) |
Accessor method for vector describing the direction along which the profile is measured.
|
void |
setSpecies(ISpecies newSpecies) |
protected Box box
protected DataSourceUniform xDataSource
protected DataFunction data
protected double[] y
protected int[] nAtoms
protected IDataInfo dataInfo
protected int profileDim
protected final Vector position
protected DataSourceMolecular meter
protected final DataTag tag
protected ISpecies species
public MeterProfileByAtoms(Space space)
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public DataSourceMolecular getDataSource()
public void setDataSource(DataSourceMolecular m)
public int getProfileDim()
public void setProfileDim(int dim)
public IData getData()
getData
in interface IDataSource
public DataDoubleArray getIndependentData(int i)
DataSourceIndependent
getIndependentData
in interface DataSourceIndependent
public DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependent
getIndependentDataInfo
in interface DataSourceIndependent
public int getIndependentArrayDimension()
DataSourceIndependent
getIndependentArrayDimension
in interface DataSourceIndependent
public DataTag getIndependentTag()
DataSourceIndependent
getIndependentTag
in interface DataSourceIndependent
public Box getBox()
public void setBox(Box box)
box
- The box to set.public ISpecies getSpecies()
public void setSpecies(ISpecies newSpecies)
public void reset()
public void setPositionDefinition(IMoleculePositionDefinition positionDefinition)
public IMoleculePositionDefinition getPositionDefinition()