Fixed outputfile numeration:
Adding leading 0 to match length of file_endings. MPI_RANK 9 with MPI_SIZE 100 -> '009'
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#define simulation_hpp
|
||||
|
||||
#include <mpi.h>
|
||||
|
||||
#include "particle_looper.hpp"
|
||||
|
||||
class Simulation {
|
||||
@@ -47,6 +48,7 @@ private:
|
||||
int calc_dir_number();
|
||||
std::string build_dirname(int dir_number);
|
||||
void create_out_dir(std::string dirname);
|
||||
std::string create_number_extension();
|
||||
|
||||
public:
|
||||
void doit();
|
||||
|
||||
Reference in New Issue
Block a user