John W. Campbell
This class stores a reciprocal cell and has methods to determine
the corresponding real cell if required.
Class, constructors and methods:
Class Details
Accessible Fields
Constructors
Set Cell Parameters
Get Cell Parameters
Get Real Cell
List Contents
- Package:
- Jdl.JdlPX;
- Class name:
- JdlReciprocalCell
- Class definition:
- public class JdlReciprocalCell
- Extends:
- Object
- Implements:
- Cloneable
- Actions:
- none
No fields with public, package or protected access defined.
Constructors are available to construct a JdlReciprocalCell object from
an array of values or from a set of individual reciprocal cell parameters.
Constructors:
Constructor 1
Constructor 2
Create a JdlReciprocalCell object from an array containing the reciprocal
cell parameters and the wavelength.
- Constructor Definition:
- public JdlReciprocalCell (double[] rcell, double wavelength)
- Parameters List:
- rcell
- The reciprocal cell parameters in a 6 element double array
(a*, b*, c*, alpha*, beta*, gamma* (dimensionless and degrees)).
- wavelength
- The wavelength in Angstroms.
Create a JdlReciprocalCell object from a real cell and the wavelength.
- Constructor Definition:
- public JdlReciprocalCell (JdlCell cell, double wavelength)
- Parameters List:
- cell
- The real cell.
- wavelength
- The wavelength in Angstroms.
This section has a methods to set individual cell parameters an the
wavelength.
Methods:
Set A* - setAstar
Set B* - setBstar
Set C* - setCstar
Set Alpha* - setAlphastar
Set Beta* - setBetastar
Set Gamma* - setGammastar
Set wavelength - setWavelength
Set the reciprocal cell parameter A*.
- Method Definition:
- public void setAstar(double astar)
- Parameters List:
- astar
- The reciprocal cell parameter A* (dimensionless).
Set the reciprocal cell parameter B*.
- Method Definition:
- public void setBstar(double bstar)
- Parameters List:
- bstar
- The reciprocal cell parameter B* (dimensionless).
Set the reciprocal cell parameter C*.
- Method Definition:
- public void setCstar(double cstar)
- Parameters List:
- cstar
- The reciprocal cell parameter C* (dimensionless).
Set the reciprocal cell parameter Alpha*.
- Method Definition:
- public void setAlphastar(double alphastar)
- Parameters List:
- alphastar
- The reciprocal cell parameter Alpha* in degrees.
Set the reciprocal cell parameter Beta*.
- Method Definition:
- public void setBetastar(double betastar)
- Parameters List:
- betastar
- The reciprocal cell parameter Beta* in degrees.
Set the reciprocal cell parameter Gamma*.
- Method Definition:
- public void setGammastar(double gammastar)
- Parameters List:
- gammastar
- The reciprocal cell parameter Gamma* in degrees.
Set the wavelength.
- Method Definition:
- public void setWavelength (double wavelength)
- Parameters List:
- wavelength
- The wavelength in Angstroms.
This section has methods to retrieve the reciprocal cell parameters into
an array from a JdlReciprocalCell object and to retrieve the wavelength.
Method:
Cell into array - getCellArray
Get wavelength - getWavelength
Returns the array elements in a 6 element double array.
- Method Definition:
- public void getCellArray(double[] rcell)
- Parameters List:
- rcell
- 6 element double array in which the data are to be returned.
Return the wavelength.
- Method Definition:
- public double getWavelength()
- Parameters List:
- none
- Method Return:
-
The wavelength
This section has methods to calculate the real cell and return
it either as a JdlCell object or in an array.
Methods:
Get real cell - realCell
Get real cell - realCell
Return the real cell.
- Method Definition:
- public JdlCell realCell()
- Parameters List:
- none
- Method Return:
-
The real cell as a JdlCell object.
Return the real cell in an array.
- Method Definition:
- public void realCell (double[] cll)
- Parameters List:
- cll
- A six element double array in which the cell parameters
will be returned.
This section has a single method to list the object contents primarily
for diagnostic purposes.
Method:
List contents - listContents
List the JdlReciprocalCell object contents.
- Method Definition:
- public void listContents()
- Parameters List:
- none
⇑ Up 2
⇑ Up 1
⇑ Top of this