Package ffx.crystal
Class HKL
java.lang.Object
ffx.crystal.HKL
The HKL class represents a single reflection.
- Since:
- 1.0
- Author:
- Timothy D. Fenn
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
centric()
centricint
epsilonc()
epsiloncboolean
double
getAllowedint
getBin()
getBinint
getEpsilonint
getH()
hint
getIndex()
indexint
getK()
kint
getL()
lint
hashCode()
neg()
negdouble
quadForm
(double[][] mat) quadFormvoid
setAllowed
(int allowed) setAllowedvoid
setBin
(int bin) setBinvoid
setEpsilon
(int eps) setEpsilonvoid
setH
(int h) hvoid
setIndex
(int index) indexvoid
setK
(int k) kvoid
setL
(int l) lboolean
sysAbs()
sysAbstoString()
-
Field Details
-
h
protected int h -
k
protected int k -
l
protected int l -
epsilon
protected int epsilon -
allowed
protected int allowed -
bin
protected int bin -
index
protected int index
-
-
Constructor Details
-
HKL
public HKL()Constructor for HKL. -
HKL
public HKL(int h, int k, int l) Constructor for HKL.- Parameters:
h
- an int.k
- an int.l
- an int.
-
HKL
public HKL(int h, int k, int l, int eps, int allowed) Constructor for HKL.- Parameters:
h
- an int.k
- an int.l
- an int.eps
- an int.allowed
- an int.
-
-
Method Details
-
neg
neg- Returns:
- a
HKL
object.
-
sysAbs
public boolean sysAbs()sysAbs- Returns:
- a boolean.
-
quadForm
public double quadForm(double[][] mat) quadForm- Parameters:
mat
- an array of double.- Returns:
- a double.
-
getAllowed
public double getAllowed()getAllowed- Returns:
- a double.
-
setAllowed
public void setAllowed(int allowed) setAllowed- Parameters:
allowed
- an int.
-
getBin
public int getBin()getBin- Returns:
- an int.
-
setBin
public void setBin(int bin) setBin- Parameters:
bin
- an int.
-
centric
public boolean centric()centric- Returns:
- a boolean.
-
getEpsilon
public int getEpsilon()getEpsilon- Returns:
- an int.
-
setEpsilon
public void setEpsilon(int eps) setEpsilon- Parameters:
eps
- an int.
-
epsilonc
public int epsilonc()epsilonc- Returns:
- an int.
-
equals
-
getH
public int getH()h- Returns:
- an int.
-
setH
public void setH(int h) h- Parameters:
h
- an int.
-
hashCode
public int hashCode() -
getIndex
public int getIndex()index- Returns:
- an int.
-
setIndex
public void setIndex(int index) index- Parameters:
index
- an int.
-
getK
public int getK()k- Returns:
- an int.
-
setK
public void setK(int k) k- Parameters:
k
- an int.
-
getL
public int getL()l- Returns:
- an int.
-
setL
public void setL(int l) l- Parameters:
l
- an int.
-
toString
-