From 2f2500a0e98e2487e5e49050efc29c9c69e9b87e Mon Sep 17 00:00:00 2001 From: Andy Nonaka Date: Fri, 6 Dec 2024 12:08:22 -0800 Subject: [PATCH] whitespace --- .../Basic/HeatEquation_Restart/Source/checkpoint.cpp | 4 ++-- .../Basic/HeatEquation_Restart/Source/main.cpp | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ExampleCodes/Basic/HeatEquation_Restart/Source/checkpoint.cpp b/ExampleCodes/Basic/HeatEquation_Restart/Source/checkpoint.cpp index ef6c1531..3157d488 100644 --- a/ExampleCodes/Basic/HeatEquation_Restart/Source/checkpoint.cpp +++ b/ExampleCodes/Basic/HeatEquation_Restart/Source/checkpoint.cpp @@ -32,7 +32,7 @@ void WriteCheckpoint(const int& step, // ---- after all directories are built // ---- ParallelDescriptor::IOProcessor() creates the directories PreBuildDirectorHierarchy(checkpointname, "Level_", nlevels, true); - + VisMF::IO_Buffer io_buffer(VisMF::IO_Buffer_Size); // write Header file to store time and BoxArray @@ -56,7 +56,7 @@ void WriteCheckpoint(const int& step, // write out time HeaderFile << time << "\n"; - + // write the BoxArray ba.writeOn(HeaderFile); HeaderFile << '\n'; diff --git a/ExampleCodes/Basic/HeatEquation_Restart/Source/main.cpp b/ExampleCodes/Basic/HeatEquation_Restart/Source/main.cpp index 4d87cd3a..bc128ba7 100644 --- a/ExampleCodes/Basic/HeatEquation_Restart/Source/main.cpp +++ b/ExampleCodes/Basic/HeatEquation_Restart/Source/main.cpp @@ -42,7 +42,7 @@ void main_main () // restart = -1 --> start new simulation // restart > 0 --> restart from step=restart int restart; - + // inputs parameters { // ParmParse is way of reading inputs from the inputs file @@ -78,7 +78,7 @@ void main_main () // restart > 0 --> restart from step=restart restart = -1; pp.query("restart",restart); - + } // ********************************** @@ -108,7 +108,7 @@ void main_main () // extract dx from the geometry object GpuArray dx = geom.CellSizeArray(); - + // create a BoxArray and DistributionMapping // ba will contain a list of boxes that cover the domain // if restarting, BoxArray is read in from the checkpoint directory @@ -132,7 +132,7 @@ void main_main () // start a new simulation if (restart <= 0) { - + // Initialize the boxarray "ba" from the single box "domain" ba.define(domain); @@ -148,7 +148,7 @@ void main_main () // time = starting time in the simulation time = 0.0; - + start_step = 1; // **********************************