public class VolumeToLatticeParamModifier extends BaseDatasetModifier
(volume/pa * atoms/cell) ^ (1/3).
The dataset must have "volume_pa" as a property for this to work. The target property
will be changed to "lat_param" after this operation completes.
Usage: <atoms/cell>
| Constructor and Description |
|---|
VolumeToLatticeParamModifier() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
convertVolumeToLatticeParam(double volume)
Calculate the equivalent cubic lattice parameter corresponding to a volume per
atom, given the number of atoms in the unit cell
|
protected void |
modifyDataset(Dataset Data)
Apply changes to the Dataset.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setOptions(java.util.List Options)
Set any options for this object.
|
void |
setPerCell(int perCell)
Set number of atoms in unit cell.
|
transformpublic void setOptions(java.util.List Options)
throws java.lang.Exception
OptionsOptions - Array of options as Objects - can be nulljava.lang.Exception - if problem with inputspublic java.lang.String printUsage()
Optionspublic void setPerCell(int perCell)
perCell - Number of atoms per unit cellprotected void modifyDataset(Dataset Data)
BaseDatasetModifiermodifyDataset in class BaseDatasetModifierData - Dataset to be modifiedprotected double convertVolumeToLatticeParam(double volume)
volume - Volume per atom