diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/WarpXBoostedFrameDiagnostic.H | 4 | ||||
-rw-r--r-- | Source/WarpXBoostedFrameDiagnostic.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/WarpXBoostedFrameDiagnostic.H b/Source/WarpXBoostedFrameDiagnostic.H index a5f0bd7ff..96a77f182 100644 --- a/Source/WarpXBoostedFrameDiagnostic.H +++ b/Source/WarpXBoostedFrameDiagnostic.H @@ -67,8 +67,8 @@ class BoostedFrameDiagnostic { int boost_direction_; amrex::Vector<std::unique_ptr<amrex::MultiFab> > data_buffer_; - int num_buffer_ = 32; - int max_box_size_ = 64; + int num_buffer_ = 256; + int max_box_size_ = 256; amrex::Vector<int> buff_counter_; amrex::Vector<LabSnapShot> snapshots_; diff --git a/Source/WarpXBoostedFrameDiagnostic.cpp b/Source/WarpXBoostedFrameDiagnostic.cpp index f2e795600..62d7096bc 100644 --- a/Source/WarpXBoostedFrameDiagnostic.cpp +++ b/Source/WarpXBoostedFrameDiagnostic.cpp @@ -167,7 +167,7 @@ LabSnapShot(Real t_lab_in, Real zmin_lab_in, current_z_boost = 0.0; file_name = Concatenate("lab_frame_data/snapshot", file_num, 5); - if (ParallelDescriptor::MyProc() == ParallelDescriptor::IOProcessor()) { + if (ParallelDescriptor::IOProcessor()) { const int nlevels = 1; const std::string level_prefix = "Level_"; @@ -183,7 +183,7 @@ LabSnapShot(Real t_lab_in, Real zmin_lab_in, ParallelDescriptor::Barrier(); - if (ParallelDescriptor::MyProc() == ParallelDescriptor::IOProcessor()) writeSnapShotHeader(); + if (ParallelDescriptor::IOProcessor()) writeSnapShotHeader(); } void |