From 776de1f5939221c989100da67dd834c74820255b Mon Sep 17 00:00:00 2001 From: csendlinger Date: Tue, 24 Nov 2026 09:29:51 +0100 Subject: [PATCH] Forgot the header files... --- include/IO/mpi_particle_reader.h | 1 + include/IO/restart.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/IO/mpi_particle_reader.h b/include/IO/mpi_particle_reader.h index 26e35c8..9a66db9 100644 --- a/include/IO/mpi_particle_reader.h +++ b/include/IO/mpi_particle_reader.h @@ -15,6 +15,7 @@ class MpiParticleReader { MpiParticleReader(std::string abs_filename_without_extension, int restart_at); void readParticles(std::vector& storage_queue); + void readParticles(std::vector& storage_queue, int nold); private: std::string absolute_filename_; diff --git a/include/IO/restart.h b/include/IO/restart.h index 2d1c066..47dd94c 100644 --- a/include/IO/restart.h +++ b/include/IO/restart.h @@ -46,9 +46,11 @@ class Restart { // only load in the potential and calc the electric field void restartPoissonSolver(PoissonSolver* solver); void restartRandomNumbers(RandomNumbers* random); + void restartRandomNumbers(RandomNumbers* random, int nold); void restartParticles(std::vector& storage_queue); bool do_restart_; + int process_number_old_; // number of processes of the state the simulation is restarted from std::string restart_identifier_; // i.e. "LastSyncPeriod" or "SyncPeriod_*" Hdf5Reader reader_; MpiParticleReader particle_reader_;