Skip to content

Commit a203655

Browse files
authored
Update differential luminosity test (#5555)
Fixes the species in the test: `test_3d_diff_lumi_diag_photons` from `electron` and `positron` to `photons`. Updates checksums consequently. (Off Topic: it's 5555!)
1 parent 188e401 commit a203655

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

Examples/Tests/diff_lumi_diag/inputs_test_3d_diff_lumi_diag_photons

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ FILE = inputs_base_3d
33

44
# Test with electrons/positrons: use parse_density_function
55

6-
beam1.species_type = electron
6+
particles.photon_species = beam1 beam2
7+
8+
beam1.species_type = photon
79
beam1.injection_style = "NUniformPerCell"
810
beam1.num_particles_per_cell_each_dim = 1 1 1
911
beam1.profile = parse_density_function
@@ -15,7 +17,7 @@ beam1.ymax = 4*sigmay
1517
beam1.zmin =-muz-4*sigmaz
1618
beam1.zmax =-muz+4*sigmaz
1719

18-
beam2.species_type = positron
20+
beam2.species_type = photon
1921
beam2.injection_style = "NUniformPerCell"
2022
beam2.num_particles_per_cell_each_dim = 1 1 1
2123
beam2.profile = parse_density_function
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
{
22
"lev=0": {
3-
"rho_beam1": 656097367.2335038,
4-
"rho_beam2": 656097367.2335038
3+
"rho_beam1": 0.0,
4+
"rho_beam2": 0.0
55
},
6-
"beam1": {
6+
"beam2": {
77
"particle_momentum_x": 0.0,
88
"particle_momentum_y": 0.0,
9-
"particle_momentum_z": 1.7512476113279403e-11,
9+
"particle_momentum_z": 1.7511853009715152e-11,
1010
"particle_position_x": 0.2621440000000001,
11-
"particle_position_y": 0.005242880000000001,
12-
"particle_position_z": 314572.79999473685,
13-
"particle_weight": 11997744756.90957
11+
"particle_position_y": 0.005242880000000004,
12+
"particle_position_z": 314572.8000000002,
13+
"particle_weight": 11997744756.909575
1414
},
15-
"beam2": {
15+
"beam1": {
1616
"particle_momentum_x": 0.0,
1717
"particle_momentum_y": 0.0,
18-
"particle_momentum_z": 1.7513431895752007e-11,
18+
"particle_momentum_z": 1.75121641230803e-11,
1919
"particle_position_x": 0.2621440000000001,
20-
"particle_position_y": 0.005242880000000001,
21-
"particle_position_z": 314572.79999472946,
20+
"particle_position_y": 0.005242880000000004,
21+
"particle_position_z": 314572.8000000004,
2222
"particle_weight": 11997744756.909573
2323
}
24-
}
24+
}
25+

0 commit comments

Comments
 (0)