Skip to content

Commit 3853e3e

Browse files
author
Thomas Baumann
committed
Stuff
#!!!!!! WARNING: FLAKEHEAVEN FAILED !!!!!!: #:
1 parent 2fd8f26 commit 3853e3e

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

pySDC/projects/GPU/analysis_scripts/RBC3D_order.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99

1010
step_sizes = {
1111
'RBC3DG4R4Ra1e5': [8e-2, 4e-2, 2e-2, 1e-2, 5e-3],
12+
'RBC3DG4R4O3Ra1e5': [8e-2, 4e-2, 2e-2, 1e-2, 5e-3],
13+
'RBC3DG4R4O4Ra1e5': [8e-2, 4e-2, 2e-2, 1e-2, 5e-3],
1214
'RBC3DG4R4RKRa1e5': [8e-2, 4e-2, 2e-2, 1e-2, 5e-3],
15+
'RBC3DG4R4EulerRa1e5': [8e-2, 4e-2, 2e-2, 1e-2, 5e-3],
1316
}
1417
n_freefall_times = {}
1518

@@ -98,7 +101,10 @@ def run(args, dt, Tend):
98101

99102
config = get_config(args)
100103
config.Tend = n_freefall_times.get(type(config).__name__, 3)
101-
ic_config_name = type(config).__name__.replace('RK', '')
104+
105+
ic_config_name = type(config).__name__
106+
for name in ['RK', 'Euler', 'O3', 'O4',]:
107+
ic_config_name = ic_config_name.replace(name, '')
102108
config.ic_config = type(get_config({**args, 'config': ic_config_name}))
103109

104110
config.get_LogToFile = no_logging_hook

pySDC/projects/GPU/configs/RBC3D_configs.py

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,26 @@ class RBC3DverificationGamma4(RBC3Dverification):
428428
res_ratio = 2
429429
Tend = 100
430430

431+
class RBC3DverificationOrder3(RBC3DverificationGamma4):
432+
res_ratio = 4
433+
434+
def get_description(self, *args, **kwargs):
435+
desc = super().get_description(*args, **kwargs)
436+
desc['level_params']['nsweeps'] = 3
437+
desc['sweeper_params']['QI'] = 'MIN-SR-S'
438+
desc['sweeper_params']['num_nodes'] = 2
439+
return desc
440+
441+
class RBC3DverificationOrder4(RBC3DverificationGamma4):
442+
res_ratio = 4
443+
444+
def get_description(self, *args, **kwargs):
445+
desc = super().get_description(*args, **kwargs)
446+
desc['level_params']['nsweeps'] = 4
447+
desc['sweeper_params']['QI'] = 'MIN-SR-S'
448+
desc['sweeper_params']['num_nodes'] = 3
449+
return desc
450+
431451

432452
class RBC3DverificationGamma4FLEX(RBC3DverificationGamma4):
433453
def get_description(self, *args, **kwargs):
@@ -555,7 +575,21 @@ class RBC3DG4Ra1e5(RBC3DverificationGamma4):
555575
class RBC3DG4R4Ra1e5(RBC3DverificationGamma4):
556576
res_ratio = 4
557577
Tend = 200
558-
dt = 8e-2
578+
dt = 6e-2
579+
ic_config = None
580+
res = 32
581+
converged = 50
582+
583+
class RBC3DG4R4O3Ra1e5(RBC3DverificationOrder3):
584+
Tend = 200
585+
dt = 6e-2
586+
ic_config = None
587+
res = 32
588+
converged = 50
589+
590+
class RBC3DG4R4O4Ra1e5(RBC3DverificationOrder4):
591+
Tend = 200
592+
dt = 6e-2
559593
ic_config = None
560594
res = 32
561595
converged = 50

0 commit comments

Comments
 (0)