aboutsummaryrefslogtreecommitdiff
path: root/julia/CrystFEL/src/CrystFEL.jl
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-10-31 15:16:41 +0100
committerThomas White <taw@physics.org>2024-02-06 16:59:34 +0100
commit64410538e50883c3366bbbfcf67a0f72a5ea5f13 (patch)
treeaba6a40e31829fb106c83fe00d23909bb2b8d6be /julia/CrystFEL/src/CrystFEL.jl
parentddd00f0cf738541fb073cf180dc253ddd2eb2472 (diff)
Julia: Improve UnitCell implementation
This adds Julian enums for lattice type, centering and unique axis, and a "show" method.
Diffstat (limited to 'julia/CrystFEL/src/CrystFEL.jl')
-rw-r--r--julia/CrystFEL/src/CrystFEL.jl5
1 files changed, 4 insertions, 1 deletions
diff --git a/julia/CrystFEL/src/CrystFEL.jl b/julia/CrystFEL/src/CrystFEL.jl
index 007468ba..66ad1176 100644
--- a/julia/CrystFEL/src/CrystFEL.jl
+++ b/julia/CrystFEL/src/CrystFEL.jl
@@ -15,9 +15,12 @@ libcrystfel = "libcrystfel.so"
include("cell.jl")
using .UnitCells
-export UnitCell, LatticeType
+export UnitCell, LatticeType, CenteringType, UniqueAxis
export TriclinicLattice, MonoclinicLattice, OrthorhombicLattice
export TetragonalLattice, HexagonalLattice, RhombohedralLattice, CubicLattice
+export PrimitiveCell, ACenteredCell, BCenteredCell, CCenteredCell
+export BodyCenteredCell, FaceCenteredCell, RhombohedralCell, RhombohedralCellOnHexagonalAxes
+export NoUniqueAxis, UnknownUniqueAxis, UniqueAxisA, UniqueAxisB, UniqueAxisC
include("detgeom.jl")
using .DetGeoms