<gh_stars>1-10
# Common
#
# Some constants common to many parts of the geometry

import math
RT2 = math.sqrt(2.0)
TANPI8 = math.tan(math.pi/8)

# Remember that surfaces must go in this order!
ORDER = ("E", "W", "N", "S", "NE", "NW", "SW", "SE")

# Unit conversion
IN = 2.54               # inches to centimeters

# Lattice parameters
PITCH = 10.16           # Proper assembly / lattice pitch
HPITCH = PITCH / 2.0
LATTICE_SIZE = 19       # number of element positions across the lattice
LATTICE_WIDTH = PITCH*LATTICE_SIZE


# Common
#
# Some constants common to many parts of the geometry

import math
RT2 = math.sqrt(2.0)
TANPI8 = math.tan(math.pi/8)

# Remember that surfaces must go in this order!
ORDER = ("E", "W", "N", "S", "NE", "NW", "SW", "SE")

# Unit conversion
IN = 2.54               # inches to centimeters

# Lattice parameters
PITCH = 10.16           # Proper assembly / lattice pitch
HPITCH = PITCH / 2.0
LATTICE_SIZE = 19       # number of element positions across the lattice
LATTICE_WIDTH = PITCH*LATTICE_SIZE
# Common # # Some constants common to many parts of the geometry # Remember that surfaces must go in this order! # Unit conversion # inches to centimeters # Lattice parameters # Proper assembly / lattice pitch # number of element positions across the lattice