John W. Campbell
This class stores the unique parameters for a reciprocal unit cell and has
methods to regenerate the full set when needed.
Class, constructors and methods:
Class Details
Accessible Fields
Constructor
Get Cell Parameters
List Contents
- Package:
- Jdl.JdlPX;
- Class name:
- JdlUniqueReciprocalCell
- Class definition:
- public class JdlUniqueReciprocalCell
- Extends:
- Object
- Implements:
- Cloneable
- Actions:
- none
No fields with public, package or protected access defined.
A single constructor is available to construct a JdlUniqueReciprocalCell
object from a JdlReciprocalCell object and the crstal system.
Constructor:
Constructor
Create a JdlUniqueReciprocalCell object from a JdlReciprocalCell object and
the crystal system number.
- Constructor Definition:
- public JdlUniqueReciprocalCell (JdlReciprocalCell cell, int isys)
- Parameters List:
- cell
- The reciprocal cell parameters.
- isys
- The crystal system:
= 1, Triclinic
= 2, Monoclinic
= 3, Orthorhombic
= 4, Tetragonal
= 5, Hexagonal
= 6, Rhombohedral
= 7, Cubic
Note: Will be reset to 1 if outside valid range.
This section has methods to retrieve the unique or full set of
cell parameters into an array or a full set into a JdlReciprocalCell object.
Method:
Unique cell into array - getUniqueCellArray
Get crystal system - getCrystalSystem
Get number of unique parameters - getNumberOfUnique
Full cell into array - getFullCellArray
Get full cell - getFullCell
Get wavelength - getWavelength
Returns the unique reciprocal cell parameters in a 6 element double array.
- Method Definition:
- public void getUniqueCellArray(double[] cell)
- Parameters List:
- cell
- 6 element double array in which the data are to be returned
(from 1-6 parameters depending on the crystal system).
Returns the stored crystal system number.
- Method Definition:
- public int getCrystalSystem()
- Parameters List:
- none
- Method Return:
-
The crystal system number from 1-7.
Returns the number of unique cell parameters stored
- Method Definition:
- public int getNumberOfUnique()
- Parameters List:
- none
- Method Return:
-
The number of unique cell parameters.
Returns the full set of reciprocal cell parameters in a 6 element double array.
- Method Definition:
- public void getFullCellArray(double[] cell)
- Parameters List:
- cell
- 6 element double array in which the data are to be returned.
Returns the full cell in a JdlReciprocalCell object.
- Method Definition:
- public JdlReciprocalCell getFullCell()
- Parameters List:
- none
- Method Return:
-
The cell.
Return the wavelength.
- Method Definition:
- public double getWavelength()
- Parameters List:
- none
- Method Return:
-
The wavelength
This section has a single method to list the object contents primarily
for diagnostic purposes.
Method:
List contents - listContents
List the JdlUniqueCell object contents.
- Method Definition:
- public void listContents()
- Parameters List:
- none
⇑ Up 2
⇑ Up 1
⇑ Top of this