-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into implicit_solvers_pc
- Loading branch information
Showing
20 changed files
with
622 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
Examples/Tests/electrostatic_sphere/inputs_test_3d_electrostatic_sphere_adaptive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
stop_time = 60e-6 | ||
warpx.cfl = 0.2 | ||
warpx.dt_update_interval = 10 | ||
warpx.max_dt = 1.5e-6 | ||
amr.n_cell = 64 64 64 | ||
amr.max_level = 0 | ||
amr.blocking_factor = 8 | ||
amr.max_grid_size = 128 | ||
geometry.dims = 3 | ||
geometry.prob_lo = -0.5 -0.5 -0.5 | ||
geometry.prob_hi = 0.5 0.5 0.5 | ||
boundary.field_lo = pec pec pec | ||
boundary.field_hi = pec pec pec | ||
warpx.do_electrostatic = relativistic | ||
|
||
particles.species_names = electron | ||
|
||
algo.field_gathering = momentum-conserving | ||
|
||
# Order of particle shape factors | ||
algo.particle_shape = 1 | ||
|
||
my_constants.n0 = 1.49e6 | ||
my_constants.R0 = 0.1 | ||
|
||
electron.charge = -q_e | ||
electron.mass = m_e | ||
electron.injection_style = "NUniformPerCell" | ||
electron.num_particles_per_cell_each_dim = 2 2 2 | ||
electron.profile = parse_density_function | ||
electron.density_function(x,y,z) = "(x*x + y*y + z*z < R0*R0)*n0" | ||
electron.momentum_distribution_type = at_rest | ||
|
||
diagnostics.diags_names = diag1 diag2 | ||
|
||
diag1.intervals = 30 | ||
diag1.diag_type = Full | ||
diag1.fields_to_plot = Ex Ey Ez rho | ||
|
||
diag2.intervals = 30 | ||
diag2.diag_type = Full | ||
diag2.fields_to_plot = none | ||
diag2.format = openpmd | ||
|
||
warpx.reduced_diags_names = timestep | ||
timestep.intervals = 1 | ||
timestep.type = Timestep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Examples/Tests/open_bc_poisson_solver/inputs_test_3d_open_bc_poisson_solver_heffte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
FILE = inputs_test_3d_open_bc_poisson_solver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
Regression/Checksum/benchmarks_json/test_3d_electrostatic_sphere_adaptive.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"lev=0": { | ||
"Ex": 5.177444767224255, | ||
"Ey": 5.177444767224254, | ||
"Ez": 5.177444767224256, | ||
"rho": 2.6092568008333797e-10 | ||
}, | ||
"electron": { | ||
"particle_momentum_x": 1.3215019655285216e-23, | ||
"particle_momentum_y": 1.3215019655285214e-23, | ||
"particle_momentum_z": 1.3215019655285217e-23, | ||
"particle_position_x": 912.2310003741203, | ||
"particle_position_y": 912.2310003741203, | ||
"particle_position_z": 912.2310003741202, | ||
"particle_weight": 6212.501525878906 | ||
} | ||
} |
18 changes: 9 additions & 9 deletions
18
Regression/Checksum/benchmarks_json/test_3d_open_bc_poisson_solver.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
CEXE_sources += MultiReducedDiags.cpp | ||
CEXE_sources += ReducedDiags.cpp | ||
CEXE_sources += ParticleEnergy.cpp | ||
CEXE_sources += ParticleMomentum.cpp | ||
CEXE_sources += FieldEnergy.cpp | ||
CEXE_sources += FieldProbe.cpp | ||
CEXE_sources += FieldProbeParticleContainer.cpp | ||
CEXE_sources += FieldMomentum.cpp | ||
CEXE_sources += BeamRelevant.cpp | ||
CEXE_sources += ChargeOnEB.cpp | ||
CEXE_sources += ColliderRelevant.cpp | ||
CEXE_sources += DifferentialLuminosity.cpp | ||
CEXE_sources += FieldEnergy.cpp | ||
CEXE_sources += FieldMaximum.cpp | ||
CEXE_sources += FieldMomentum.cpp | ||
CEXE_sources += FieldProbe.cpp | ||
CEXE_sources += FieldProbeParticleContainer.cpp | ||
CEXE_sources += FieldReduction.cpp | ||
CEXE_sources += LoadBalanceCosts.cpp | ||
CEXE_sources += LoadBalanceEfficiency.cpp | ||
CEXE_sources += ParticleEnergy.cpp | ||
CEXE_sources += ParticleExtrema.cpp | ||
CEXE_sources += ParticleHistogram.cpp | ||
CEXE_sources += ParticleHistogram2D.cpp | ||
CEXE_sources += FieldMaximum.cpp | ||
CEXE_sources += FieldProbe.cpp | ||
CEXE_sources += ParticleExtrema.cpp | ||
CEXE_sources += RhoMaximum.cpp | ||
CEXE_sources += ParticleMomentum.cpp | ||
CEXE_sources += ParticleNumber.cpp | ||
CEXE_sources += FieldReduction.cpp | ||
CEXE_sources += ChargeOnEB.cpp | ||
CEXE_sources += RhoMaximum.cpp | ||
CEXE_sources += Timestep.cpp | ||
|
||
VPATH_LOCATIONS += $(WARPX_HOME)/Source/Diagnostics/ReducedDiags |
Oops, something went wrong.