Skip to content

Commit 2f2500a

Browse files
committed
whitespace
1 parent e231e27 commit 2f2500a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

ExampleCodes/Basic/HeatEquation_Restart/Source/checkpoint.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void WriteCheckpoint(const int& step,
3232
// ---- after all directories are built
3333
// ---- ParallelDescriptor::IOProcessor() creates the directories
3434
PreBuildDirectorHierarchy(checkpointname, "Level_", nlevels, true);
35-
35+
3636
VisMF::IO_Buffer io_buffer(VisMF::IO_Buffer_Size);
3737

3838
// write Header file to store time and BoxArray
@@ -56,7 +56,7 @@ void WriteCheckpoint(const int& step,
5656

5757
// write out time
5858
HeaderFile << time << "\n";
59-
59+
6060
// write the BoxArray
6161
ba.writeOn(HeaderFile);
6262
HeaderFile << '\n';

ExampleCodes/Basic/HeatEquation_Restart/Source/main.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void main_main ()
4242
// restart = -1 --> start new simulation
4343
// restart > 0 --> restart from step=restart
4444
int restart;
45-
45+
4646
// inputs parameters
4747
{
4848
// ParmParse is way of reading inputs from the inputs file
@@ -78,7 +78,7 @@ void main_main ()
7878
// restart > 0 --> restart from step=restart
7979
restart = -1;
8080
pp.query("restart",restart);
81-
81+
8282
}
8383

8484
// **********************************
@@ -108,7 +108,7 @@ void main_main ()
108108

109109
// extract dx from the geometry object
110110
GpuArray<Real,AMREX_SPACEDIM> dx = geom.CellSizeArray();
111-
111+
112112
// create a BoxArray and DistributionMapping
113113
// ba will contain a list of boxes that cover the domain
114114
// if restarting, BoxArray is read in from the checkpoint directory
@@ -132,7 +132,7 @@ void main_main ()
132132

133133
// start a new simulation
134134
if (restart <= 0) {
135-
135+
136136
// Initialize the boxarray "ba" from the single box "domain"
137137
ba.define(domain);
138138

@@ -148,7 +148,7 @@ void main_main ()
148148

149149
// time = starting time in the simulation
150150
time = 0.0;
151-
151+
152152
start_step = 1;
153153

154154
// **********************************

0 commit comments

Comments
 (0)