Comments (1)
Verifying the evolution of the reference particle is a good check. However, in many cases (all the straight magnetic elements), all components of the momentum (including pt) will be unchanged. In the IOTA ring example, (x,y,z,px,py,pz,pt) are all periodic. If we want to exclude the trivial solution, I suggest looking at the reference particle quantities arc length s and the time t, which will always change (unless the lattice has only zero-length elements).
Because the beam particles are defined relative to the reference particle, the expected average position of the particle beam usually does not change more than a small amount (resulting from noise associated with the statistics due to the finite number of particles).
In order to verify that the beam particles have moved, one simple solution is to check that the initial and final values of the second moments are not identical to all digits (as they should not be), but that they agree within the specified tolerance. Another possibility is to check explicitly that the first particle in the distribution has moved to a different position.
from impactx.
Related Issues (20)
- Check handling of low-energy beams HOT 1
- 1D CSR Model
- Grid Control: Based on Beam RMS
- Profile: Many Subsequent Python Runs
- Script for building dependencies references non-existing requirements files for LibEnsemble and Optimas HOT 1
- ImpactX version not printing in Python module
- Parallelize Particle Init HOT 1
- GPU Support for Lost Particle Collection HOT 2
- MPI Domain-Decomposition w/o Space Charge HOT 1
- January 17, 2024 NERSC Perlmutter Update HOT 1
- MAD-X: `Call, FILENAME` Support HOT 1
- Example: `pc.add_n_particles`
- Large Kernels: Use `AMREX_NO_INLINE` HOT 1
- Reduced beam diagnostic output - kinetic energy HOT 5
- Impact_X_surrogate_model_definitions HOT 3
- Diagnostics: Custom Prefix Support
- Monitor Helper: Add every ds & Slice Elements
- User-Defined Linear Map
- Spin Tracking
- install with conda error: Symbol not found: __ZN5amrex6OpenMP9omp_locksE HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from impactx.