Skip to content

Commit 8827cbf

Browse files
committed
MEH: dont do restarts with grid
1 parent f9e029f commit 8827cbf

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/init_geo_grid.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,25 +182,25 @@ bool Grid::init_geo_grid(Quadtree quadtree,
182182
IsCubeSphereGrid = false;
183183
}
184184

185-
if (input.get_do_restart() & iGridShape_ != iCubesphere_) {
186-
report.print(1, "Restarting! Reading grid files!");
187-
DidWork = read_restart(input.get_restartin_dir());
188-
} else {
185+
//if (input.get_do_restart() & iGridShape_ != iCubesphere_) {
186+
// report.print(1, "Restarting! Reading grid files!");
187+
// DidWork = read_restart(input.get_restartin_dir());
188+
//} else {
189189
if (iGridShape_ == iCubesphere_) {
190-
if (input.get_do_restart())
191-
report.print(0, "Not restarting the grid - it is too complicated!");
190+
//if (input.get_do_restart())
191+
// report.print(0, "Not restarting the grid - it is too complicated!");
192192

193193
create_cubesphere_grid(quadtree);
194194
} else
195195
create_sphere_grid(quadtree);
196196

197-
MPI_Barrier(aether_comm);
197+
//MPI_Barrier(aether_comm);
198198
create_altitudes(planet);
199199

200200
init_connection();
201201

202-
DidWork = write_restart(input.get_restartout_dir());
203-
}
202+
//DidWork = write_restart(input.get_restartout_dir());
203+
//}
204204

205205
// Calculate the radius (for spherical or non-spherical)
206206
fill_grid_radius(planet);

0 commit comments

Comments
 (0)