Package xal.sim.sync
Class PermanentMagnetSynchronizer
java.lang.Object
xal.sim.sync.PermanentMagnetSynchronizer
- All Implemented Interfaces:
Synchronizer
Synchronizes IdealPermMagQuad elements using the supplied value map. For now
just permanent quads, but may be generalized in the future to other permanent
magnets
- Author:
- Tom Pelaia
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkSynchronization
(IComponent aComp, Map<String, Double> valueMap) void
resync
(IComponent aComp, Map<String, Double> valueMap)
-
Constructor Details
-
PermanentMagnetSynchronizer
public PermanentMagnetSynchronizer()
-
-
Method Details
-
resync
- Specified by:
resync
in interfaceSynchronizer
- Throws:
SynchronizationException
-
checkSynchronization
public void checkSynchronization(IComponent aComp, Map<String, Double> valueMap) throws SynchronizationException- Specified by:
checkSynchronization
in interfaceSynchronizer
- Throws:
SynchronizationException
-