Time Tracking in PTC. First order Time Tracking A high order integrator in the so-called “ s ” variable can be turned into a first order time tracker.

Slides:



Advertisements
Similar presentations
An insulating sphere of radius b has a spherical cavity of radius a located within its volume and centered a distance R from the center of the sphere.
Advertisements

Garbage collection David Walker CS 320. Where are we? Last time: A survey of common garbage collection techniques –Manual memory management –Reference.
Sect 5.9: Precession of Systems of Charges in a Magnetic Field A brief discussion of something that is not rigid body motion. Uses a similar formalism.
Vector: Data Layout Vector: x[n] P processors Assume n = r * p
2009 Spring Errors & Source of Errors SpringBIL108E Errors in Computing Several causes for malfunction in computer systems. –Hardware fails –Critical.
PID Detector Size & Acceptance Chris Rogers Analysis PC
The electromagnetic (EM) field serves as a model for particle fields
Some Ideas Behind Finite Element Analysis
Available at: – Program Optical Quad Encoders in Autonomous Mode Program optical quad encoders in autonomous mode.
Chapter 11 Angular Momentum; General Rotation Introduction Recap from Chapter 10 –Used torque with axis fixed in an inertial frame –Used equivalent of.
ME Robotics Dynamics of Robot Manipulators Purpose: This chapter introduces the dynamics of mechanisms. A robot can be treated as a set of linked.
The electromagnetic (EM) field serves as a model for particle fields  = charge density, J = current density.
Tirgul 9 Amortized analysis Graph representation.
Intro to Classical Mechanics 3.Oct.2002 Study of motion Space, time, mass Newton’s laws Vectors, derivatives Coordinate systems Force.
Quantum Theory of Hydrogen shrödinger's equation for hydrogen separation of variables “A facility for quotations covers the absence of original thought.”—
7/13/20151 Topic 3: Run-Time Environment Memory Model Activation Record Call Convention Storage Allocation Runtime Stack and Heap Garbage Collection.
Objectives of this Section Graph Inequalities Find Distance on the Real Number Line Evaluate Algebraic Expressions Determine the Domain of a Variable Use.
Dynamics. Chapter 1 Introduction to Dynamics What is Dynamics? Dynamics is the study of systems in which the motion of the object is changing (accelerating)
MAE 242 Dynamics – Section I Dr. Kostas Sierros.
Computer Graphics World, View and Projection Matrices CO2409 Computer Graphics Week 8.
Advanced EM - Master in Physics The (GENERAL) solution of Maxwell’s equations Then for very small r, outside the charge region but near it,
PTC Integration into MAD-X What is PTC? (Etienne’s words) Some Facts about PTC What are the advantages for MAD-X? Magnet Treatment in PTC How will we use.
IT253: Computer Organization Lecture 3: Memory and Bit Operations Tonga Institute of Higher Education.
Development of Simulation Environment UAL for Spin Studies in EDM Fanglei Lin December
6.852: Distributed Algorithms Spring, 2008 April 1, 2008 Class 14 – Part 2 Applications of Distributed Algorithms to Diverse Fields.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Memory: Relocation.
Making Decisions (True or False) Relational Operators >greater than =greater than or equal to
Quantum Two 1. 2 Evolution of Many Particle Systems 3.
Advanced EM - Master in Physics We have now calculated all the intermediate derivatives which we need for calculating the fields E and B. We.
RUN-Time Organization Compiler phase— Before writing a code generator, we must decide how to marshal the resources of the target machine (instructions,
Synchrotron Radiation
Sect. 1.2: Mechanics of a System of Particles Generalization to many (N) particle system: –Distinguish External & Internal Forces. –Newton’s 2 nd Law.
Project18’s Communication Drawing Design By: Camilo A. Silva BIOinformatics Summer 2008.
Frequency Map Analysis Workshop 4/2/2004 Peter Kuske Refinements of the non-linear lattice model for the BESSY storage ring P. Kuske Linear Lattice My.
Dear Power point User, This power point will be best viewed as a slideshow. At the top of the page click on slideshow, then click from the beginning.
Midwest Accelerator Physics Meeting. Indiana University, March 15-19, ORBIT Electron Cloud Model Andrei Shishlo, Yoichi Sato, Slava Danilov, Jeff.
Zeuten 19 - E. Wilson - 1/18/ Slide 1 Recap. of Transverse Dynamics E. Wilson – 15 th September 2003  Transverse Coordinates  Relativistic definitions.
Unique Games Approximation Amit Weinstein Complexity Seminar, Fall 2006 Based on: “Near Optimal Algorithms for Unique Games" by M. Charikar, K. Makarychev,
PTC-ORBIT code for CERN machines (PSB, PS, SPS) Alexander Molodozhentsev (KEK) Etienne Forest (KEK) Group meeting, CERN June 1, 2011 current status …
Vibrational Motion Harmonic motion occurs when a particle experiences a restoring force that is proportional to its displacement. F=-kx Where k is the.
CSCI 156: Lab 11 Paging. Our Simple Architecture Logical memory space for a process consists of 16 pages of 4k bytes each. Your program thinks it has.
Lecture 6: Cross Section for Electron Scattering 23/9/2003 Recall from last time: where V n is the normalization volume for the plane wave electron.
Chapter 1: Survey of Elementary Principles
Multiplication of vectors Two different interactions (what’s the difference?)  Scalar or dot product : the calculation giving the work done by a force.
Lecture 4 - E. Wilson - 23 Oct 2014 –- Slide 1 Lecture 4 - Transverse Optics II ACCELERATOR PHYSICS MT 2014 E. J. N. Wilson.
MAGNETIZATION AND SPIN MAGNETIC MOMENTS Among macroscopic objects we find those which have a permanent magnetic field, even if there are no obvious macroscopic.
COMP091 – Operating Systems 1 Memory Management. Memory Management Terms Physical address –Actual address as seen by memory unit Logical address –Address.
1 Machine Learning in Natural Language More on Discriminative models Dan Roth University of Illinois, Urbana-Champaign
CIS 310: Visual Programming, Spring 2006 Western State College 310: Visual Programming Ray Tracing.
MINER A at the Triple Point: Three Phases at once Deborah Harris AEM August 31, 2009.
Lecture 4 - E. Wilson –- Slide 1 Lecture 4 - Transverse Optics II ACCELERATOR PHYSICS MT 2009 E. J. N. Wilson.
One Dimension: Conservation of Linear Momentum Misaki, Christine, and Bonny.
ME451 Kinematics and Dynamics of Machine Systems Review of Elements of Calculus – 2.5 Vel and Acc of a Point fixed in a Ref Frame – 2.6 Jan. 29, 2009 ©
Gravitational Fields Pg Gravitational Fields  The universal law of gravitation tells us that at any point in space surrounding a massive.
Lesson #8 Structures Linked Lists Command Line Arguments.
User-Written Functions
The Electric Field We know that the electric force between charges is transmitted by force carriers, known as “photons”, more technically known as “virtual.
Validating Magnets Using Beam
Clk_ch4 Clk_ch3 Clk_ch2 Clk_ch1 L1A global L1A _ch T0+T0r
Q v B The force on a moving charge in a magnetic field is related related to its charge and velocity.
Total Angular Momentum
Lecture 4 - Transverse Optics II
Grand Prix.
Notes 8 ECE 6340 Intermediate EM Waves Fall 2016
Lecture 4 - Transverse Optics II
Management From the memory view, we can list four important tasks that the OS is responsible for ; To know the used and unused memory partitions To allocate.
5. Describing Flow CH EN 374: Fluid Mechanics.
Data Structures & Algorithms
Chap 5 Distributed Coordination
Quantum One.
Presentation transcript:

Time Tracking in PTC

First order Time Tracking A high order integrator in the so-called “ s ” variable can be turned into a first order time tracker provided it has some information about the 3d environment PTC has a full 3d information around each of its steps of integrations of type integration_node

The Probe TYPE PROBE REAL(DP) X(6) TYPE(SPINOR) S LOGICAL U TYPE(INTEGRATION_NODE),POINTER :: LOST_NODE END TYPE PROBE The probe can track position X(6) and spin. Here we only will care about position. Notice also that the logical U is true if the particle is unstable.

Type Temporal_probe TYPE TEMPORAL_PROBE TYPE(PROBE) XS TYPE(INTEGRATION_NODE), POINTER :: NODE REAL(DP) DS,POS(6) TYPE(INTERNAL_STATE) STATE END TYPE TEMPORAL_PROBE The probe XS contains the coordinates as explained in the previous slide. The NODE points to the actual integration where the particle is at. The distance DS is the very approximate distance inside the node the particle traveled assuming a drift. POS(6) is the actual position of the particle in an absolute 3D frame STATE is the tracking state of that beam/machine

Temporal Beam TYPE TEMPORAL_BEAM TYPE(TEMPORAL_PROBE), POINTER :: TP(:) REAL(DP) A(3),ENT(3,3),P0C,TOTAL_TIME INTEGER N TYPE(INTEGRATION_NODE),POINTER :: C END TYPE TEMPORAL_BEAM This is obviously a collection of Temporal Probes, i.e., of particles. First it must be allocated: CALL ALLOC(TB,N,P0C) P0C is the reference momentum of the beam

Initial Conditions in the Layout CALL POSITION_TEMPORAL_BEAM(LAYOUT,TB,STATE) Locates the beam in 3d and stores TB%TP(i)%POS(1:3)=(X,Y,Z); this is in the global frame of the universe! Calls LOCATE_TEMPORAL_BEAM which then calls ORIGINAL_P_TO_PTC. The beam is values of TB%TP(i)%XS%X(1:6) are now in the local PTC coordinates. ORIGINAL_P_TO_PTC adjusts the momenta. This routine will have to be fixed to take into account the vector potential and the type pancake.

Pictorial Representation Here we see an exaggerated view on an integration node of PTC of cas=0, i.e., a true step in the body of some magnet. The darker red dot is the actual position in the accurate ‘ s ’ tracking algorithm of PTC. The light pinkish dot is the projected position inside the step. Time tracking is obviously first order at best and non-symplectic in the time domain due to hard edges in ‘ s ’. Unavoidable! In the absence of collective effects, it is the original PTC since the projected position at DS never enters in any calculations.

Initialization The lattice must be surveyed make_node_layout must be called fill_survey_data_in_node_layout must be called call alloc(TB,N,p0c) must be done to allocated N particles at momentum p0c TB%ENT=ENT(3,3) initial frame TB%A=A initial origin TB%TOTAL_TIME= Time at beginning

Initial Conditions in Space to be filled in by User Particle “ i ” of the initial beam is located in the temporal probe TB%TP(i)%XS%X(1:6) TB%TP(i)%XS%X(1:3)=(x,y,z) TB%TP(i)%XS%X(4:6)=(p x,p y,p z )/ TB%p0c these are the mechanical momenta.

Ready for Tracking Call position_temporal_beam(LAYOUT,TB,STATE) TB%C points to the approximate integration node at the centre of the beam (to be determined by position_temporal_beam) State of temporal beam is set The tracking command is: TRACK_TEMPORAL_BEAM(TB,DT,STATE) State is optional The variable TB%TP(i)%POS(1:6)=(X,Y,Z,P x,P y,P z ) contains the position in absolute space