Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: psc-code/psc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: psc-code/psc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: tagging
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 1 file changed
  • 1 contributor

Commits on Feb 8, 2024

  1. Configuration menu
    Copy the full SHA
    6a35a43 View commit details
    Browse the repository at this point in the history
  2. auto-format psc_whistler.cxx

    This does do no actual changes, but it'll make it easier to see the actual
    changes in subsequent commits, rather than them being obscured by
    formatting changes.
    germasch committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    d44f785 View commit details
    Browse the repository at this point in the history
  3. fix psc_whistler.cxx to properly handle 3 species

    Usually it's best not to specify a number of populations (last argument to
    `setup_particles()`, so it'll automatically use the number of species
    (a.k.a., particle kinds).
    
    I didn't touch the `neutralizing_population`, but that may need to be fixed
    as well. Generally speaking, it's good practice to use named constants
    instead of hard coded numbers, e.g., replace "4" by "N_MY_KINDS", so it'll
    automatically adjust if you change the number of particle kinds used.
    germasch committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    d6d7a3e View commit details
    Browse the repository at this point in the history
  4. use ParticleWithId

    This particle type will actually carry around a unique particle id, as well
    as a tag. The id should be set automatically -- if you want to also give
    particles specific tags during initialization, one can do as demonstrated
    via npt.tag (for testing, I just set the tag to 10x the particle kind,
    which doesnt actually make much sense...)
    germasch committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    9a235a0 View commit details
    Browse the repository at this point in the history
Loading