Copyright | (c) Claude Heiland-Allen 20112015 |
---|---|
License | BSD3 |
Maintainer | claude@mathr.co.uk |
Stability | unstable |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Mu-atom coordinate and address algorithms.
- data MuAtom r = MuAtom {}
- data FindAtom r
- = AtomSplitTodo
- | AtomSplitDone AngledInternalAddress [Angle]
- | AtomAnglesTodo
- | AtomAnglesDone !Angle !Angle
- | AtomRayTodo
- | AtomRay !Int
- | AtomRayDone !(Complex r)
- | AtomNucleusTodo
- | AtomNucleus !Int
- | AtomNucleusDone !(Complex r)
- | AtomBondTodo
- | AtomBond !Int
- | AtomBondDone !(Complex r)
- | AtomSuccess !(MuAtom r)
- | AtomFailed
- findAtom :: (Floating r, NearZero r, Real r) => AngledInternalAddress -> [FindAtom r]
- findAtom' :: [FindAtom r] -> Maybe (MuAtom r)
- findAtom_ :: (Floating r, NearZero r, Real r) => AngledInternalAddress -> Maybe (MuAtom r)
- data FindAddress r
- = AddressCuspTodo
- | AddressCuspDone !(Complex r)
- | AddressDwellTodo
- | AddressDwell !Int
- | AddressDwellDone !Int
- | AddressRayOutTodo
- | AddressRayOut !Double
- | AddressRayOutDone !(Complex r)
- | AddressExternalTodo
- | AddressExternalDone !Angle
- | AddressAddressTodo
- | AddressSuccess AngledInternalAddress
- | AddressFailed
- findAddress :: (Floating r, NearZero r, Real r, RealFrac r) => MuAtom r -> [FindAddress r]
- findAddress' :: [FindAddress r] -> Maybe AngledInternalAddress
- findAddress_ :: (Floating r, NearZero r, Real r, RealFrac r) => MuAtom r -> Maybe AngledInternalAddress
- data Locate r
- = LocateScanTodo
- | LocateScan
- | LocateScanDone !Int
- | LocateNucleusTodo
- | LocateNucleus !Int
- | LocateNucleusDone !(Complex r)
- | LocateBondTodo
- | LocateBond !Int
- | LocateBondDone !(Complex r)
- | LocateSuccess !(MuAtom r)
- | LocateFailed
- locate :: (Floating r, NearZero r, Real r) => Complex r -> Double -> [Locate r]
- locate' :: [Locate r] -> Maybe (MuAtom r)
- locate_ :: (Floating r, NearZero r, Real r) => Complex r -> Double -> Maybe (MuAtom r)
Documentation
Mu-atom properties.
Progress updates for findAtom
.
findAtom :: (Floating r, NearZero r, Real r) => AngledInternalAddress -> [FindAtom r] Source #
Try to find an atom, providing progress updates.
findAtom_ :: (Floating r, NearZero r, Real r) => AngledInternalAddress -> Maybe (MuAtom r) Source #
Find an atom from its address.
data FindAddress r Source #
Progress updates for findAddress
.
Eq r => Eq (FindAddress r) Source # | |
Read r => Read (FindAddress r) Source # | |
Show r => Show (FindAddress r) Source # | |
findAddress :: (Floating r, NearZero r, Real r, RealFrac r) => MuAtom r -> [FindAddress r] Source #
Try to find an address, providing progress updates.
findAddress' :: [FindAddress r] -> Maybe AngledInternalAddress Source #
Find the first success in the progress list.
findAddress_ :: (Floating r, NearZero r, Real r, RealFrac r) => MuAtom r -> Maybe AngledInternalAddress Source #
Find an address for a mu-atom.
Progress updates for locate
.
Try to find an atom close to a coordinate, providing progress updates.