Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
86a9550
First commit for 2x OAP for mirrors. Major changes are made to how th…
Maxwell-Rosen Dec 10, 2025
913f20a
Add peak finding functionality for DG fields
Maxwell-Rosen Dec 11, 2025
220fdbb
Add a project on peaks function to array_dg_find_peaks, which evaluat…
Maxwell-Rosen Dec 11, 2025
9665556
Add a method to only evaluate the array at one peak, reducing the amm…
Maxwell-Rosen Dec 11, 2025
aa4afa0
Remove some memory allocation during the advance methods and evaluati…
Maxwell-Rosen Dec 11, 2025
976b6bd
Remove old elements from gk_geometry. Add a agkyl_array_dg_reduce_dir…
Maxwell-Rosen Dec 11, 2025
61fa5ca
Merge branch 'main' into gk-oap-2x-multispecies
Maxwell-Rosen Jan 7, 2026
3b933bb
Implement kinetic electrons into the POA scheme. The unit tests run a…
Maxwell-Rosen Jan 7, 2026
79133e7
Add support for symmetric tandem mirrors. Unit tests pass and are va…
Maxwell-Rosen Jan 8, 2026
4229238
Refactor loss cone mask gyrokinetic code for improved clarity and per…
Maxwell-Rosen Jan 8, 2026
aa8b733
Update gk_species_damping to match the new capabilities of fdot_multi…
Maxwell-Rosen Jan 9, 2026
a6bff16
gk_species_damping is working on this branch too now. I needed to rem…
Maxwell-Rosen Jan 9, 2026
e2bc28f
Add another unit test to the loss cone mask
Maxwell-Rosen Jan 9, 2026
fe0e3ed
Merge branch 'main' into gk-oap-2x-tandem-multispecies
Maxwell-Rosen Feb 18, 2026
1fb0516
Update variable name
Maxwell-Rosen Feb 19, 2026
ce57b6a
GPU unit tests all pass. It's compute sanitizer clean. I will have to…
Maxwell-Rosen Feb 20, 2026
a3f949e
rework array find peaks to have a full GPU implementation because the…
Maxwell-Rosen Feb 20, 2026
017e360
Wrap the array_find_peaks into the loss cone mask. I had an issue wit…
Maxwell-Rosen Feb 20, 2026
f3977bf
Merge branch 'main' into gk-oap-2x-tandem-multispecies
Maxwell-Rosen Feb 20, 2026
909d741
Fix loss cone mask unit test. Someone didn't run make check when comm…
Maxwell-Rosen Feb 20, 2026
c689992
fdot multiplier works in parallel. Unit test fixed
Maxwell-Rosen Feb 20, 2026
eed58bc
Refactor global potential handling in damping modules to use shared p…
Maxwell-Rosen Feb 24, 2026
0821a27
Fix missing semicolon in gk_species_damping_release function for prop…
Maxwell-Rosen Feb 24, 2026
dec21d3
remove the array_reduce_dir object. This is leftover from an old vers…
Maxwell-Rosen Feb 24, 2026
a807e79
Merge branch 'main' into gk-oap-2x-tandem-multispecies
Maxwell-Rosen Feb 24, 2026
6a4931a
Uncrustify format the files this PR modifies and also depricate all p…
Maxwell-Rosen Feb 24, 2026
34d6229
Merge branch 'main' into gk-oap-2x-tandem-multispecies
Maxwell-Rosen Mar 5, 2026
740cf5a
Merge branch 'main' into gk-oap-2x-tandem-multispecies
Maxwell-Rosen Mar 6, 2026
062d869
Fix an issue with the non-uniform grids in the 2x2v nonuniform wham r…
Maxwell-Rosen Mar 6, 2026
5eb57ae
Merge branch 'main' into gk-oap-2x-tandem-multispecies
Maxwell-Rosen Mar 12, 2026
d687d0f
Fix two egregious mistakes in using the gk_run methods for the POA sc…
Maxwell-Rosen Mar 12, 2026
2d39244
More dramatic potential for this regression test
Maxwell-Rosen Mar 12, 2026
724fb7f
Add commented out calls to c2p_pos in loss_cone_mask_gyrokinetic kernels
Maxwell-Rosen Mar 12, 2026
6ae3332
Update the 1x2v boltz elc mirror poa to resemble the 2x2v case for de…
Maxwell-Rosen Mar 12, 2026
baad16f
I found a parallelism bug. I was passing the global allgathered phi i…
Maxwell-Rosen Mar 13, 2026
153d7b2
Merge branch 'main' into gk-oap-2x-tandem-multispecies
Maxwell-Rosen Mar 13, 2026
6d95ed7
Reduce the number of frames in the regression tests
Maxwell-Rosen Mar 13, 2026
443c76c
Add sprintf to the app name
Maxwell-Rosen Mar 13, 2026
122f3be
Remove c2p from the loss cone mask, as it shouldn't be there since ev…
Maxwell-Rosen Mar 13, 2026
f8f799b
Remove c2p context from damping
Maxwell-Rosen Mar 14, 2026
92a3c05
Merge branch 'main' into gk-oap-2x-tandem-multispecies
Maxwell-Rosen Mar 24, 2026
6785b3f
Merge branch 'main' into gk-oap-2x-tandem-multispecies
Maxwell-Rosen Apr 1, 2026
a3ee0ac
Merge branch 'main' into gk-oap-2x-tandem-multispecies
Maxwell-Rosen Apr 11, 2026
65aff2f
Refactor damping implementation: remove loss cone damping references …
Maxwell-Rosen Apr 12, 2026
a69b487
Refactor position mapping logic: improve limiter line calculations an…
Maxwell-Rosen Apr 17, 2026
2983f83
Refactor loss cone mask gyrokinetic implementation
Maxwell-Rosen Apr 19, 2026
888f367
Refactor loss cone mask implementation: streamline bmag handling and …
Maxwell-Rosen Apr 19, 2026
894c31c
Refactor loss cone mask implementation: update bmag handling and enha…
Maxwell-Rosen Apr 19, 2026
87f8027
Add unit test for loss cone mask gyrokinetic implementation: validate…
Maxwell-Rosen Apr 19, 2026
f3f575b
Refactor loss cone mask implementation: enhance barrier calculations …
Maxwell-Rosen Apr 19, 2026
2a2dea9
Refactor loss cone mask gyrokinetic implementation
Maxwell-Rosen Apr 19, 2026
c71d782
Refactor loss cone mask implementation: add GPU/CPU mismatch checks a…
Maxwell-Rosen Apr 19, 2026
aacc2fb
Refactor loss cone mask implementation: add extern "C" linkage for CU…
Maxwell-Rosen Apr 19, 2026
96d7090
Remove the find_peaks method. Nothing is using it anymore. It is usef…
Maxwell-Rosen Apr 21, 2026
51a51cd
I pushed to the wrong branch. I forgot the GPU flag in this branch too
Maxwell-Rosen Apr 21, 2026
139f14a
Cleanup: remove unnecessary blank lines and adjust formatting in loss…
Maxwell-Rosen Apr 24, 2026
1528838
Merge branch 'main' into gk-lc-mask-yushmanov
Maxwell-Rosen May 27, 2026
67be09b
Merge branch 'main' into gk-lc-mask-yushmanov
Maxwell-Rosen May 28, 2026
485ecb4
Merge branch 'main' into gk-lc-mask-yushmanov
Maxwell-Rosen Jun 7, 2026
4bea130
Adjust spacing
Maxwell-Rosen Jun 7, 2026
09f5d3a
Merge branch 'main' into gk-lc-mask-yushmanov
Maxwell-Rosen Jun 27, 2026
9c6d202
Add caching for global bmag in loss-cone fdot multiplier to avoid mid…
Maxwell-Rosen Jun 27, 2026
9c4a5de
Revert "Add caching for global bmag in loss-cone fdot multiplier to a…
Maxwell-Rosen Jun 27, 2026
3c93f60
Add gyrokinetic mirror simulation for two species with POA integration
Maxwell-Rosen Jun 27, 2026
c3080cf
I solved a very very old bug as to why mirror simulations couldn't ru…
Maxwell-Rosen Jun 27, 2026
5dbb53e
Merge branch 'main' into gk-lc-mask-yushmanov
Maxwell-Rosen Aug 28, 2026
f53fdd9
Add support for loss cone boundary conditions in gyrokinetic fdot mul…
Maxwell-Rosen Aug 28, 2026
958b04a
Refactor biased wall functionality and introduce wall potential manag…
Maxwell-Rosen Aug 28, 2026
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
6 changes: 0 additions & 6 deletions gyrokinetic/apps/gk_field.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,6 @@ gk_field_new(struct gkyl_gk *gk, struct gkyl_gyrokinetic_app *app)
}
}

// Initialize biased walls.
gk_field_biased_wall_new(app, f);

return f;
}

Expand Down Expand Up @@ -432,8 +429,5 @@ gk_field_release(const gkyl_gyrokinetic_app* app, struct gk_field *f)
// Release energy diagnostics.
gk_field_energy_release(app, f);

// Release biased walls.
gk_field_biased_wall_release(app, f);

gkyl_free(f);
}
96 changes: 0 additions & 96 deletions gyrokinetic/apps/gk_field_biased_wall.c

This file was deleted.

8 changes: 6 additions & 2 deletions gyrokinetic/apps/gk_species.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ gk_species_apply_bc_dynamic(gkyl_gyrokinetic_app *app, const struct gk_species *
switch (species->lower_bc[d].type) {
case GKYL_BC_GK_SPECIES_SHEATH:
gkyl_bc_sheath_gyrokinetic_advance(species->bc_sheath_lo, app->field->phi_smooth,
app->field->phi_wall_lo, f, &app->local);
species->phi_wall_lo.phi, f, &app->local);
break;
case GKYL_BC_GK_SPECIES_TWISTSHIFT:
gkyl_bc_twistshift_advance(species->bc_ts_lo, f, f);
Expand All @@ -233,7 +233,7 @@ gk_species_apply_bc_dynamic(gkyl_gyrokinetic_app *app, const struct gk_species *
switch (species->upper_bc[d].type) {
case GKYL_BC_GK_SPECIES_SHEATH:
gkyl_bc_sheath_gyrokinetic_advance(species->bc_sheath_up, app->field->phi_smooth,
app->field->phi_wall_up, f, &app->local);
species->phi_wall_up.phi, f, &app->local);
break;
case GKYL_BC_GK_SPECIES_TWISTSHIFT:
gkyl_bc_twistshift_advance(species->bc_ts_up, f, f);
Expand Down Expand Up @@ -1497,6 +1497,8 @@ gk_species_init(struct gkyl_gk *gk_app_inp, struct gkyl_gyrokinetic_app *app, st
gks->upper_bc[d].type = GKYL_BC_GK_SPECIES_PERIODIC;
}
}

gk_species_wall_potential_init(app, gks);

// Species properties metadata.
struct gkyl_msgpack_map_elem io_meta_sprop[] = {
Expand Down Expand Up @@ -2036,6 +2038,8 @@ gk_species_release(const gkyl_gyrokinetic_app* app, const struct gk_species *gks

gk_species_fdot_multiplier_release(app, &gks->fdot_mult);

gk_species_wall_potential_release(app, gks);

gk_species_lbo_release(app, &gks->lbo);

gk_species_bgk_release(app, &gks->bgk);
Expand Down
Loading
Loading