4#ifndef lethe_write_checkpoint_h
5#define lethe_write_checkpoint_h
13#include <deal.II/base/timer.h>
15#include <deal.II/distributed/tria.h>
34template <
int dim,
typename PropertiesIndex>
37 TimerOutput &computing_timer,
39 std::shared_ptr<SimulationControl> &simulation_control,
42 parallel::distributed::Triangulation<dim> &triangulation,
43 Particles::ParticleHandler<dim> &particle_handler,
46 const ConditionalOStream &pcout,
47 MPI_Comm &mpi_communicator,
Handles all the parameters declared in the parameter handler file.
Base interface for classes that carry out the insertion of particles in the system.
The PVDHandler class manages the storage of the information required to write pvd file....
void write_checkpoint(TimerOutput &computing_timer, const DEMSolverParameters< dim > ¶meters, std::shared_ptr< SimulationControl > &simulation_control, PVDHandler &particles_pvdhandler, PVDHandler &grid_pvdhandler, parallel::distributed::Triangulation< dim > &triangulation, Particles::ParticleHandler< dim > &particle_handler, std::shared_ptr< Insertion< dim, PropertiesIndex > > &insertion_object, std::vector< std::shared_ptr< SerialSolid< dim - 1, dim > > > &solid_objects, const ConditionalOStream &pcout, MPI_Comm &mpi_communicator, const CheckpointControl &checkpoint_controller)
Write_checkpoint Write a DEM simulation checkpointing to allow for DEM simulation restart.