Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutputParticles work #339

Merged
merged 49 commits into from
Aug 30, 2024
Merged

OutputParticles work #339

merged 49 commits into from
Aug 30, 2024

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    82acae1 View commit details
    Browse the repository at this point in the history
  2. build: fix various warnings

    germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    fe283ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4cfd818 View commit details
    Browse the repository at this point in the history
  4. outp: put particles at x=1 and x=40

    So that they are in different cells.
    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c4ba1b4 View commit details
    Browse the repository at this point in the history
  5. outp/hdf5: use MPI_UNSIGNED_LONG to avoid warning

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    7dbeddc View commit details
    Browse the repository at this point in the history
  6. outp/hdf5: compute wdims in impl class

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    a2bb76b View commit details
    Browse the repository at this point in the history
  7. outp/hdf5: use std::vector for off, map, idx

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    5c9b111 View commit details
    Browse the repository at this point in the history
  8. outp/hdf5: pass off, map, idx as std::vector

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    19d5e9b View commit details
    Browse the repository at this point in the history
  9. outp/hdf5: std::vector for off2

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    560443a View commit details
    Browse the repository at this point in the history
  10. outp/hdf5: fix swapped off, map args

    Fortunately they were swapped throughout, so very confusing but not an
    actual bug...
    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    2bde15d View commit details
    Browse the repository at this point in the history
  11. outp/hdf5: use std::vector<std::vector<int>> for off, map

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e369068 View commit details
    Browse the repository at this point in the history
  12. outp/hdf5: use std::vector for gidx_{begin,end}

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e02627b View commit details
    Browse the repository at this point in the history
  13. outp/hdf5: much easier to init to -1 now

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    0226663 View commit details
    Browse the repository at this point in the history
  14. outp/hdf5: use std::vector for idx

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    57eca51 View commit details
    Browse the repository at this point in the history
  15. outp/hdf5: consolidate sort_index()

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    6b542b4 View commit details
    Browse the repository at this point in the history
  16. outp/hdf5: pass just the data to write_idx()

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    ddc12b5 View commit details
    Browse the repository at this point in the history
  17. outp/hdf5: use 4-d xtensor arrays for gidx_{begin,end}

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    074b01a View commit details
    Browse the repository at this point in the history
  18. outp/hdf5: access idx as 5-d through gtensor

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    ac9eebe View commit details
    Browse the repository at this point in the history
  19. outp/hdf5: idx directly gtensor-based

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c2dcdb3 View commit details
    Browse the repository at this point in the history
  20. outp/hdf5: use std::vector some more

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    8c4c9bd View commit details
    Browse the repository at this point in the history
  21. outp/hdf5: more std::vector

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    d22f04a View commit details
    Browse the repository at this point in the history
  22. outp/hdf5: remote_sz as std::vector

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    f39ac16 View commit details
    Browse the repository at this point in the history
  23. outp/hdf5: std::vector for lidx

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    8d30bea View commit details
    Browse the repository at this point in the history
  24. outp/hdf5: use loop over dims in get_sort_index()

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    241d5e0 View commit details
    Browse the repository at this point in the history
  25. outp/hdf5: std::vector for temp array of particles

    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    6b1e9be View commit details
    Browse the repository at this point in the history
  26. outp: use 2 patches in test, one particle each

    should work on 2 MPI procs now, too.
    Kai Germaschewski authored and germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    f46adea View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    59616b5 View commit details
    Browse the repository at this point in the history
  28. outp: start a separate write_hdf5() function

    The goal being to have the hdf5 specific stuff in one place
    germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    ab60b33 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    71fabac View commit details
    Browse the repository at this point in the history
  30. outp/hdf5: start OutputParticlesWriterHDF5 class

    That will eventually do all HDF5 specific writing
    germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    1e9040e View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    9f7eb41 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    7290e33 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    15367f8 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    103ec4f View commit details
    Browse the repository at this point in the history
  35. outp/hdf5: keep writer in top-level class

    so that it's persistent and can, next, take care of creating the
    hdf5 particle type
    germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    2f3a810 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    5a8c294 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    8fa13e5 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    0322491 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    215beb9 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    ac079db View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    5fed83b View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    fe6db7e View commit details
    Browse the repository at this point in the history
  43. outp/hdf5: adjust hi initially in Params

    So we don't need to keep passing this otherwise redundant info around.
    germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    1cb9467 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    a930803 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    23d2d90 View commit details
    Browse the repository at this point in the history
  46. outp/hdf5: don't need to count all particles

    Since we already know how many particles we have on a proc.
    germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    cf2f0f2 View commit details
    Browse the repository at this point in the history
  47. outp/hdf5: don't pass redundant n_write

    The number of particles is arr.size()
    germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    6b5170e View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    a1d0010 View commit details
    Browse the repository at this point in the history
  49. outp/hdf5: add template argument for particle selector

    This particle selector decides whether to include a given particle in the
    output. Other than the trivial ParticleSelectorAll,
    ParticleSelectorEveryNth<N> is provided ot select every nth particle.
    germasch committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    51224ff View commit details
    Browse the repository at this point in the history