Commit 6768fae
Read species distribution from OPMD - part 2 (#859)
* Added <species>.profile=external_file and .profile_file
* Added description of input parameters to Docs
* Changed from profile to injection option for external file
* Fix typo in amrex abort message (due to copy paste)
* Added the OpenPMD use amrex abort message
* Minor fix - not sure how to remove EOL issue
* Tried to add AddExternalFileBeam functon to PhysicalParticleContainer
* Trued to fix EOL white space issue
* Added read/print species name from OPMD file
* Fixed OpenPMD charge and mass read
* Added number of particles in species
* Added nparts and converted charge/mass units to SI
* Fix to nr of particles
* Added q_tot parameter to determine part weight
* Added macroparticle's weight
* Fixed std::int typo - use only int
* Update Source/Initialization/PlasmaInjector.cpp
Co-Authored-By: Axel Huebl <[email protected]>
* Update Source/Particles/PhysicalParticleContainer.cpp
Co-Authored-By: Axel Huebl <[email protected]>
* Update Source/Particles/PhysicalParticleContainer.cpp
Co-Authored-By: Axel Huebl <[email protected]>
* Update Source/Particles/PhysicalParticleContainer.H
Co-Authored-By: Axel Huebl <[email protected]>
* Update Source/Particles/PhysicalParticleContainer.cpp
Co-Authored-By: Axel Huebl <[email protected]>
* No need to include openPMD header yet
* Minor Fixes
* Fix EOL according to @ax3l's recommendation in #845
* Remove commented out AbortMessage
Co-Authored-By: MaxThevenet <[email protected]>
* Removed commented out part initialization (used only in branch for next PR)
Co-Authored-By: MaxThevenet <[email protected]>
* Added warning that this is WIP
Co-Authored-By: MaxThevenet <[email protected]>
* Changed function name to AddPlasmaFromFile
* Removed AMReX warning from loop
Co-Authored-By: MaxThevenet <[email protected]>
* Added fix suggested in PR# 847
* Changed to mevpc2_kg
* Fix EOL again
* Style fix adding spaces around ` = `
Co-Authored-By: Axel Huebl <[email protected]>
* Update Source/Particles/PhysicalParticleContainer.cpp
Co-Authored-By: Axel Huebl <[email protected]>
* Style fix added spaces in definitions and between comma
Co-Authored-By: Axel Huebl <[email protected]>
* Style fix
Co-Authored-By: Axel Huebl <[email protected]>
* Added Assert Message for #iterations and TODO const mass/charge
* Fix EOL again
* Update Docs/source/running_cpp/parameters.rst
Co-Authored-By: Axel Huebl <[email protected]>
* Update Source/Particles/PhysicalParticleContainer.cpp
Co-Authored-By: Axel Huebl <[email protected]>
* Corrected division by int
Co-Authored-By: Axel Huebl <[email protected]>
* Update Source/Particles/PhysicalParticleContainer.cpp
Co-Authored-By: Axel Huebl <[email protected]>
* Update Source/Particles/PhysicalParticleContainer.cpp
Co-authored-by: Axel Huebl <[email protected]>
Co-authored-by: MaxThevenet <[email protected]>1 parent 8a0b7db commit 6768fae
File tree
5 files changed
+31
-10
lines changed- Docs/source/running_cpp
- Source
- Initialization
- Particles
- Utils
5 files changed
+31
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
232 | 233 | | |
233 | | - | |
234 | | - | |
| 234 | + | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
209 | 210 | | |
210 | | - | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
316 | 318 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
321 | 338 | | |
322 | 339 | | |
323 | 340 | | |
| |||
380 | 397 | | |
381 | 398 | | |
382 | 399 | | |
383 | | - | |
| 400 | + | |
| 401 | + | |
384 | 402 | | |
385 | 403 | | |
386 | 404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
0 commit comments