Comments (3)
Hey guys!
This'd be awesome! The algorithm for the implementation in FBPIC is detailed in the appendix of this paper. I think the only difficulty in FBPIC was with storing the 'old' momentum.
For FBPIC we have written a test to compare the spin evolution to the plane wave case, not sure if something similar would be applicable here.
from hipace.
Hello @pots007,
I am looking into adding this to HiPACE++ and I have a few questions regarding what is needed:
- Do you need openpmd input for sx sy and sz? If so, should they be multiplied by h bar?
- Do you need openpmd output for sx sy and sz?
- Should there be a standalone initialization option (no openpmd) for sx, sy and sz? Should this be uniform or random on a sphere surface or both? Would this be dependent on the beam particle positions?
- Should there be support for in-situ diagnostics with sx, sy and sz? If so what kind of moments should be collected?
- Is sx^2 + sy^2 + sz^2 always equal to 1, or another constant value that is the same for all particles?
from hipace.
Hey @AlexanderSinn ,
awesome, thanks for working on this! My thoughts would be:
- Do you need openpmd input for sx sy and sz? If so, should they be multiplied by h bar? -> no, they are all normalised so just the 'raw' value is OK.
- Do you need openpmd output for sx sy and sz? -> Yes, I've implemented them in FBPIC under 'spin/x' etc, similarly to momentum.
- Should there be a standalone initialization option (no openpmd) for sx, sy and sz? Should this be uniform or random on a sphere surface or both? Would this be dependent on the beam particle positions? -> this is a tricky one. I think in the first instance, fixed values (eg sz=1 ) are fine - as long as the user-inputted values are normalised. We can think of more complex values later, what I did here may be a good starting point for discussions.
- Should there be support for in-situ diagnostics with sx, sy and sz? If so what kind of moments should be collected? -> I am not sure what you mean here. I think OpenPMD output is fine.
- Is sx^2 + sy^2 + sz^2 always equal to 1, or another constant value that is the same for all particles? -> it's always 1 for all particles.
Cheers!
from hipace.
Related Issues (20)
- Laser reader has some issues HOT 2
- Improve style consistency
- Test and potentially remove unused option HOT 2
- More trouble from MacOS CI HOT 1
- Avoid using managed memory
- collisions have trouble in single precision
- Compilation on ARM HOT 2
- fixed_ppc beam with random_ppc issue
- Compiling error with FFTW installed via Homebrew
- Building on HPC cluster of CNAF-INFN HOT 3
- Large Kernels: Use `AMREX_NO_INLINE`
- diagnostic.field_data HOT 1
- Read laser profile from parser HOT 1
- Generate h5 file after filtering by particle ID HOT 3
- Discrepancy between RZ/3D (FBPIC/HiPACE++) for beam-driven wakefield HOT 1
- Discrepancy between fields driven in first and subsequent timesteps for `from_file` injection HOT 2
- Plasma density gradient falling edge HOT 4
- Too high particle density results in running errors HOT 1
- Latest version does not run in DEBUG mode HOT 1
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 hipace.