File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
pySDC/projects/Resilience Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 88from pySDC .implementations .controller_classes .controller_nonMPI import controller_nonMPI
99from pySDC .implementations .convergence_controller_classes .adaptivity import Adaptivity
1010from pySDC .core .Errors import ProblemError
11- from pySDC .projects .Resilience .hook import log_data , hook_collection
11+ from pySDC .projects .Resilience .hook import LogData , hook_collection
1212
1313
1414def run_Lorenz (
1515 custom_description = None ,
1616 num_procs = 1 ,
1717 Tend = 1.0 ,
18- hook_class = log_data ,
18+ hook_class = LogData ,
1919 fault_stuff = None ,
2020 custom_controller_params = None ,
2121 custom_problem_params = None ,
@@ -181,12 +181,12 @@ def main(plotting=True):
181181
182182 custom_description = {}
183183 custom_description ['convergence_controllers' ] = {Adaptivity : {'e_tol' : 1e-5 }}
184- custom_controller_params = {'logger_level' : 15 }
184+ custom_controller_params = {'logger_level' : 30 }
185185 stats , controller , _ = run_Lorenz (
186186 custom_description = custom_description ,
187187 custom_controller_params = custom_controller_params ,
188188 Tend = 10 ,
189- hook_class = [log_data , LogGlobalErrorPostRun ],
189+ hook_class = [LogData , LogGlobalErrorPostRun ],
190190 )
191191 check_solution (stats , controller , 5e-4 )
192192 if plotting : # pragma: no cover
You can’t perform that action at this time.
0 commit comments