Skip to content

Commit 28d6715

Browse files
committed
Small cleanup
1 parent c48fdc2 commit 28d6715

File tree

2 files changed

+4
-28
lines changed

2 files changed

+4
-28
lines changed

pySDC/projects/GPU/analysis_scripts/parallel_scaling.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,10 @@ def plot_scalings(problem, **kwargs): # pragma: no cover
355355
ideal_lines = {
356356
('GS3D', 'throughput'): {'x': [0.25, 400], 'y': [5e6, 8e9]},
357357
('GS3D', 'time'): {'x': [0.25, 400], 'y': [80, 5e-2]},
358-
('RBC', 'throughput'): {'x': [1/10, 64], 'y': [2e4, 2e4*640]},
359-
('RBC', 'time'): {'x': [1/10, 64], 'y': [60, 60/640]},
360-
('RBC', 'time_per_task'): {'x': [1, 640], 'y': [60, 60/640]},
361-
('RBC', 'throughput_per_task'): {'x': [1/1, 640], 'y': [2e4, 2e4*640]},
358+
('RBC', 'throughput'): {'x': [1 / 10, 64], 'y': [2e4, 2e4 * 640]},
359+
('RBC', 'time'): {'x': [1 / 10, 64], 'y': [60, 60 / 640]},
360+
('RBC', 'time_per_task'): {'x': [1, 640], 'y': [60, 60 / 640]},
361+
('RBC', 'throughput_per_task'): {'x': [1 / 1, 640], 'y': [2e4, 2e4 * 640]},
362362
}
363363

364364
fig, ax = plt.subplots(figsize=figsize_by_journal('TUHH_thesis', 1, 0.6))

pySDC/projects/GPU/configs/RBC_configs.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ def get_config(args):
1919
return RayleighBenard_Thibaut(args)
2020
elif name == 'RBC_scaling':
2121
return RayleighBenard_scaling(args)
22-
elif name == 'RBC_scaling_x':
23-
return RayleighBenard_scaling_x(args)
24-
elif name == 'RBC_scaling_z':
25-
return RayleighBenard_scaling_z(args)
2622
elif name == 'RBC_large':
2723
return RayleighBenard_large(args)
2824
else:
@@ -386,26 +382,6 @@ def get_controller_params(self, *args, **kwargs):
386382
return params
387383

388384

389-
class RayleighBenard_scaling_x(RayleighBenard_scaling):
390-
vertical_res = 256
391-
392-
def get_description(self, *args, res=-1, **kwargs):
393-
desc = super().get_description(*args, **kwargs)
394-
desc['problem_params']['nx'] = res
395-
desc['problem_params']['nz'] = self.vertical_res
396-
return desc
397-
398-
399-
class RayleighBenard_scaling_z(RayleighBenard_scaling):
400-
horizontal_res = 1024
401-
402-
def get_description(self, *args, res=-1, **kwargs):
403-
desc = super().get_description(*args, **kwargs)
404-
desc['problem_params']['nx'] = self.horizontal_res
405-
desc['problem_params']['nz'] = res
406-
return desc
407-
408-
409385
class RayleighBenard_large(RayleighBenardRegular):
410386
# res_per_plume = 256
411387
# vertical_res = 1024

0 commit comments

Comments
 (0)