|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--xzli.jecp.unitcell.NiggliMatrix
Implemention of Niggli reduction and lattice symmetry search alogrithms. This is the core of JECP/UNITCELL.
ReducedCellGUI.java,
LatticeSymmetryGUI.java| Field Summary | |
double |
a
The lattice parameter of a primitive cell |
double |
A
The component of Niggli matrix |
double |
alpha
The lattice parameter of a primitive cell |
double |
b
The lattice parameter of a primitive cell |
double |
B
The component of Niggli matrix |
double |
beta
The lattice parameter of a primitive cell |
double |
c
The lattice parameter of a primitive cell |
double |
C
The component of Niggli matrix |
double |
D
The component of Niggli matrix |
double |
E
The component of Niggli matrix |
double |
F
The component of Niggli matrix |
double |
gamma
The lattice parameter of a primitive cell |
| Constructor Summary | |
NiggliMatrix()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Main function for testing |
void |
NiggliMatrix()
Constructor: It should be used together with setNiggliMatrix method |
void |
NiggliMatrix(double s11,
double s22,
double s33,
double s12,
double s23,
double s31)
Constructor: To create an instrance with the components of a Niggli matrix |
boolean |
reduce()
Niggli cell reduction algorithm: A Unified Algorithm for Determining the Reduced (Niggli) Cell. |
java.util.ArrayList |
searchLatticeSymmetry()
Procedure for identification of lattice symmetry: Cell Reduction and Lattice Symmetry Determination. |
java.util.ArrayList |
searchLatticeSymmetry(java.io.PrintWriter pw)
Procedure for identification of lattice symmetry: Cell Reduction and Lattice Symmetry Determination. |
void |
setCellParameters()
Get cell paramters from Niggli Matrix |
void |
setNiggliMatrix(double a,
double b,
double c,
double aphla,
double beta,
double gamma)
To set up a NiggliMatrix instance with lattice parameters. |
void |
setTolerance(double t)
A tolerance parameter t means if|A-B| |
void |
showConventionalCell(java.util.ArrayList list,
int v1,
int v2,
int v3)
To transform conventional cell of Bravais lattice and print the conventional cell on monitor. |
void |
showConventionalCell(java.io.PrintWriter pw,
java.util.ArrayList list,
int v1,
int v2,
int v3)
To transform conventional cell of Bravais lattice and write to a given output stream. |
void |
showNiggliMatrix()
To print Niggli matrix on monitor. |
void |
showPrimitiveCell()
To print lattice parameters on monitor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public double A
public double B
public double C
public double D
public double E
public double F
public double a
public double b
public double c
public double alpha
public double beta
public double gamma
| Constructor Detail |
public NiggliMatrix()
| Method Detail |
public void NiggliMatrix()
public void NiggliMatrix(double s11,
double s22,
double s33,
double s12,
double s23,
double s31)
public void setNiggliMatrix(double a,
double b,
double c,
double aphla,
double beta,
double gamma)
a - in Angstrom or 1/Angstromb - in Angstrom or 1/Angstromc - in Angstrom or 1/Angstrombeta - in Degreegamma - in Degreepublic void setTolerance(double t)
public void setCellParameters()
public boolean reduce()
public void showNiggliMatrix()
public void showPrimitiveCell()
public java.util.ArrayList searchLatticeSymmetry()
public java.util.ArrayList searchLatticeSymmetry(java.io.PrintWriter pw)
pw - a output stream
public void showConventionalCell(java.util.ArrayList list,
int v1,
int v2,
int v3)
list - a list of vectors generated using the Clegg's algorithmv1 - the number of the 1st selected vectorv2 - the number of the 2nd selected vectorv3 - the number of the 3rd selected vector
public void showConventionalCell(java.io.PrintWriter pw,
java.util.ArrayList list,
int v1,
int v2,
int v3)
list - a list of vectors generated using the Clegg's algorithmv1 - the number of the 1st selected vectorv2 - the number of the 2nd selected vectorv3 - the number of the 3rd selected vectorpublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||