Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
58ca99f
deposit test pgens
haykh Mar 15, 2025
9fcca0b
output domain shapes
haykh Mar 15, 2025
1e18874
i+di coord push for cart
haykh Mar 27, 2025
0ee06ce
new deposit scheme
haykh Apr 9, 2025
9a17030
keepconstinjector works
haykh Apr 9, 2025
bfbef1c
Merge branch 'dev/pgens' into dev/integerdeposit
haykh Apr 19, 2025
c2d44a2
bugfixes
LudwigBoess Apr 19, 2025
a8a3206
bugfix in temp calculation
LudwigBoess Apr 19, 2025
62d1ce4
change BCs routine
haykh Apr 20, 2025
c0361b0
Merge branch 'dev/integerdeposit' into bug/mpideposit
haykh Apr 21, 2025
5896e13
Merge pull request #101 from entity-toolkit/bug/mpideposit
haykh Apr 21, 2025
e0a7b18
rec setup BC + tested with MPI
haykh Apr 21, 2025
ec5c65c
inlined writer
haykh Apr 21, 2025
1f8db6c
minor print rm
haykh Apr 21, 2025
f82b681
new deposit scheme
haykh Apr 9, 2025
23822d2
Merge branch 'dev/integerdeposit' of github.com:entity-toolkit/entity…
haykh Apr 21, 2025
d66c2b5
(RUNTEST)
haykh Apr 21, 2025
9bc0f2c
minor bug in enum test (RUNTEST)
haykh Apr 21, 2025
9c58aa4
accuracy in deposit test (RUNTEST)
haykh Apr 21, 2025
4794254
long double -> simtime_t
haykh Apr 21, 2025
e1ae598
acc in dep test
haykh Apr 21, 2025
ab85454
(RUNTEST)
haykh Apr 21, 2025
d5cdbd9
proper comm test
haykh Apr 22, 2025
9b262e3
deptest fixed
haykh Apr 23, 2025
b1ebdf1
higher order Faraday kernel implemented by @vanthieg
LudwigBoess Apr 23, 2025
0515a9d
example settings for higher order field solver
LudwigBoess Apr 23, 2025
88050f2
deposit test pgens
haykh Apr 24, 2025
37c5613
Merge branch 'dev/integerdeposit' of github.com:entity-toolkit/entity…
haykh Apr 24, 2025
1eccfa4
Revert "example settings for higher order field solver"
LudwigBoess Apr 24, 2025
82cf56b
Revert "higher order Faraday kernel implemented by @vanthieg"
LudwigBoess Apr 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cmake/report.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ if(${Kokkos_DEVICES} MATCHES "CUDA")
COMMAND bash -c ${cmd}
OUTPUT_VARIABLE CUDACOMP_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE)
message(STATUS "CUDACOMP: ${CUDACOMP_VERSION}")
string(
APPEND
REPORT_TEXT
Expand Down
10 changes: 3 additions & 7 deletions setups/srpic/shock/pgen.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ namespace user {
// magnetic field properties
real_t Btheta, Bphi, Bmag;
InitFields<D> init_flds;
BCFields<D> bc_flds;

inline PGen(const SimulationParams& p, const Metadomain<S, M>& global_domain)
: arch::ProblemGenerator<S, M> { p }
Expand All @@ -105,7 +104,6 @@ namespace user {
, Btheta { p.template get<real_t>("setup.Btheta", ZERO) }
, Bphi { p.template get<real_t>("setup.Bphi", ZERO) }
, init_flds { Bmag, Btheta, Bphi, drift_ux }
, bc_flds { Bmag, Btheta, Bphi, drift_ux }
, filling_fraction { p.template get<real_t>("setup.filling_fraction", 1.0) }
, injector_velocity { p.template get<real_t>("setup.injector_velocity", 1.0) }
, injection_start { p.template get<real_t>("setup.injection_start", 0.0) }
Expand All @@ -114,7 +112,7 @@ namespace user {

inline PGen() {}

auto MatchFields(real_t time) const -> BCFields<D> {
auto MatchFields(real_t time) const -> InitFields<D> {
return init_flds;
}

Expand Down Expand Up @@ -178,8 +176,7 @@ namespace user {
const auto energy_dist = arch::TwoTemperatureMaxwellian<S, M>(
local_domain.mesh.metric,
local_domain.random_pool,
{ temperature_ratio * temperature *
(local_domain.species[2].mass() / local_domain.species[1].mass()),
{ temperature_ratio * temperature * local_domain.species[1].mass() ,
temperature },
{ 1, 2 },
-drift_ux,
Expand Down Expand Up @@ -321,8 +318,7 @@ namespace user {
const auto energy_dist = arch::TwoTemperatureMaxwellian<S, M>(
domain.mesh.metric,
domain.random_pool,
{ temperature_ratio * temperature *
(domain.species[2].mass() / domain.species[1].mass()),
{ temperature_ratio * temperature * domain.species[1].mass(),
temperature },
{ 1, 2 },
-drift_ux,
Expand Down
71 changes: 71 additions & 0 deletions setups/tests/deposit/deposit-mink.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
[simulation]
name = "deposit-test-mink"
engine = "srpic"
runtime = 5.0

[grid]
resolution = [32, 32]
extent = [[0.0, 1.0], [0.0, 1.0]]

[grid.metric]
metric = "minkowski"

[grid.boundaries]
fields = [["PERIODIC"], ["PERIODIC"]]
particles = [["PERIODIC"], ["PERIODIC"]]

[scales]
larmor0 = 0.1
skindepth0 = 0.1

[algorithms]
current_filters = 4

[algorithms.timestep]
CFL = 0.5

[particles]
ppc0 = 10.0

[[particles.species]]
label = "e-"
mass = 1.0
charge = -1.0
maxnpart = 1e2

[[particles.species]]
label = "e+"
mass = 1.0
charge = 1.0
maxnpart = 1e2

[setup]
x1_e = [0.25]
x2_e = [0.85]
x3_e = [0.33]
ux1_e = [0.6]
ux2_e = [-0.3]
ux3_e = [-0.2]

x1_i = [0.25]
x2_i = [0.85]
x3_i = [0.33]
ux1_i = [-0.6]
ux2_i = [0.3]
ux3_i = [0.2]

[output]
format = "hdf5"
interval = 5

[output.fields]
quantities = ["N_1", "N_2", "E", "B", "J"]

[output.particles]
enable = false

[output.spectra]
enable = false

[checkpoint]
keep = 0
71 changes: 71 additions & 0 deletions setups/tests/deposit/deposit-sr.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
[simulation]
name = "deposit-sr"
engine = "srpic"
runtime = 10.0

[grid]
resolution = [64, 64]
extent = [[1.0, 5.0]]

[grid.metric]
metric = "qspherical"

[grid.boundaries]
fields = [["FIXED", "FIXED"]]
particles = [["REFLECT", "REFLECT"]]

[scales]
larmor0 = 0.1
skindepth0 = 0.1

[algorithms]
current_filters = 4

[algorithms.timestep]
CFL = 0.5

[particles]
ppc0 = 10.0

[[particles.species]]
label = "e-"
mass = 1.0
charge = -1.0
maxnpart = 1e2

[[particles.species]]
label = "e+"
mass = 1.0
charge = 1.0
maxnpart = 1e2

[setup]
x1_e = [2.25]
x2_e = [1.25]
phi_e = [0.0]
ux1_e = [0.6]
ux2_e = [-0.3]
ux3_e = [-0.2]

x1_i = [2.25]
x2_i = [1.25]
phi_i = [0.0]
ux1_i = [-0.6]
ux2_i = [0.3]
ux3_i = [0.2]

[output]
format = "hdf5"
interval = 5

[output.fields]
quantities = ["N_1", "N_2", "E", "B", "J"]

[output.particles]
enable = false

[output.spectra]
enable = false

[checkpoint]
keep = 0
53 changes: 0 additions & 53 deletions setups/tests/deposit/deposit.toml

This file was deleted.

Loading