public class CoordinationNumberAttributeGenerator extends BaseAttributeGenerator
DEV NOTE (LW 15Jul15): Could benefit from adding a face size cutoff, where
atoms are only defined as coordinated if the face between them is larger than
a certain fraction of the surface area of both cells. Otherwise faces on the
cells that are only present to numerical issues will be counted as neighbors.
Metallic glass community commonly removes any faces smaller than 1% of the
total surface area of a cell.
Usage: *No options*
| Constructor and Description |
|---|
CoordinationNumberAttributeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributes(Dataset data)
Generate new attributes for a dataset.
|
java.lang.String |
printDescription(boolean htmlFormat)
Print out description of attributes.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setOptions(java.util.List<java.lang.Object> Options)
Set any options for this object.
|
runCommandpublic CoordinationNumberAttributeGenerator()
public void setOptions(java.util.List<java.lang.Object> 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 addAttributes(Dataset data) throws java.lang.Exception
BaseAttributeGeneratoraddAttributes in class BaseAttributeGeneratordata - Dataset to be added tojava.lang.ExceptionDataset.addAttribute(java.lang.String, double[])public java.lang.String printDescription(boolean htmlFormat)
BaseAttributeGeneratorImplementation Notes
Format should look like
[Full Name of generator]: (Number of attributes) Text description of what these attributes are
For HTML format, omit the ":".
printDescription in class BaseAttributeGeneratorhtmlFormat - Whether to print in HTML format