Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: logging updates #43

Merged
merged 11 commits into from
Dec 10, 2024
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Start ARKStep Logging test
Using ERK method
t u v u err v err
------------------------------------------------------------------------------------------------------------------------------
0.000000000000000e+00 1.224744871391589e+00 1.732050807568877e+00 0.000000000000000e+00 0.000000000000000e+00
1.029860256095084e-04 1.224744870309106e+00 1.732050195224277e+00 2.220446049250313e-16 0.000000000000000e+00
2.517915854919593e-03 1.224744224325435e+00 1.731684811946959e+00 2.964961609563943e-12 1.116839953851922e-11
4.069501512093439e-03 1.224743181155563e+00 1.731094930827531e+00 3.276268145668837e-12 1.207456357121828e-11
------------------------------------------------------------------------------------------------------------------------------
Current time = 0.004069501512093439
Steps = 3
Step attempts = 3
Stability limited steps = 0
Accuracy limited steps = 3
Error test fails = 0
NLS step fails = 0
Inequality constraint fails = 0
Initial step size = 0.0001029860256095084
Last step size = 0.001551585657173846
Current step size = 0.005891448410411261
Explicit RHS fn evals = 17
Implicit RHS fn evals = 0
NLS iters = 0
NLS fails = 0
NLS iters per step = 0
LS setups = 0
End ARKStep Logging test
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Start ARKStep Logging test
Using DIRK method
Using fixed-point nonlinear solver
t u v u err v err
------------------------------------------------------------------------------------------------------------------------------
0.000000000000000e+00 1.224744871391589e+00 1.732050807568877e+00 0.000000000000000e+00 0.000000000000000e+00
1.029860256095084e-04 1.224744870309104e+00 1.732050195224279e+00 2.442490654175344e-15 1.998401444325282e-15
3.747645245885612e-03 1.224743437035635e+00 1.731240118427390e+00 9.108140908153928e-10 5.271953984475886e-10
5.983772473598933e-03 1.224741215598295e+00 1.729984808853534e+00 1.411835537368233e-09 7.625806652811207e-10
------------------------------------------------------------------------------------------------------------------------------
Current time = 0.005983772473598933
Steps = 3
Step attempts = 3
Stability limited steps = 0
Accuracy limited steps = 3
Error test fails = 0
NLS step fails = 0
Inequality constraint fails = 0
Initial step size = 0.0001029860256095084
Last step size = 0.002236127227713321
Current step size = 0.01008263498360196
Explicit RHS fn evals = 0
Implicit RHS fn evals = 45
NLS iters = 27
NLS fails = 0
NLS iters per step = 9
LS setups = 0
End ARKStep Logging test
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Start ARKStep Logging test
Using DIRK method
Using Newton nonlinear solver
Using GMRES iterative linear solver
t u v u err v err
------------------------------------------------------------------------------------------------------------------------------
0.000000000000000e+00 1.224744871391589e+00 1.732050807568877e+00 0.000000000000000e+00 0.000000000000000e+00
1.029860256095084e-04 1.224744870316961e+00 1.732050195224250e+00 7.854161765408207e-12 2.731148640577885e-14
3.781706040192805e-03 1.224743411877806e+00 1.731225318313145e+00 1.057254284120290e-10 1.072486544018147e-10
6.015016008565610e-03 1.224741178982448e+00 1.729963189938353e+00 2.336992821483364e-10 1.590565457121329e-10
------------------------------------------------------------------------------------------------------------------------------
Current time = 0.00601501600856561
Steps = 3
Step attempts = 3
Stability limited steps = 0
Accuracy limited steps = 3
Error test fails = 0
NLS step fails = 0
Inequality constraint fails = 0
Initial step size = 0.0001029860256095084
Last step size = 0.002233309968372805
Current step size = 0.01012222046831338
Explicit RHS fn evals = 0
Implicit RHS fn evals = 45
NLS iters = 27
NLS fails = 0
NLS iters per step = 9
LS setups = 0
Jac fn evals = 0
LS RHS fn evals = 25
Prec setup evals = 0
Prec solves = 0
LS iters = 25
LS fails = 0
Jac-times setups = 0
Jac-times evals = 25
LS iters per NLS iter = 0.9259259259259259
Jac evals per NLS iter = 0
Prec evals per NLS iter = 0
End ARKStep Logging test
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Start ARKStep Logging test
Using DIRK method
Using Newton nonlinear solver
Using dense direct linear solver
t u v u err v err
------------------------------------------------------------------------------------------------------------------------------
0.000000000000000e+00 1.224744871391589e+00 1.732050807568877e+00 0.000000000000000e+00 0.000000000000000e+00
1.029860256095084e-04 1.224744870309106e+00 1.732050195224358e+00 2.220446049250313e-16 8.104628079763643e-14
3.781888019234090e-03 1.224743411639714e+00 1.731225239016591e+00 8.112177596331094e-12 2.569811030639357e-11
6.015183160113438e-03 1.224741178552313e+00 1.729963074226947e+00 8.796519068710040e-12 8.689449160215190e-11
------------------------------------------------------------------------------------------------------------------------------
Current time = 0.006015183160113438
Steps = 3
Step attempts = 3
Stability limited steps = 0
Accuracy limited steps = 3
Error test fails = 0
NLS step fails = 0
Inequality constraint fails = 0
Initial step size = 0.0001029860256095084
Last step size = 0.002233295140879348
Current step size = 0.01012243049502511
Explicit RHS fn evals = 0
Implicit RHS fn evals = 44
NLS iters = 26
NLS fails = 0
NLS iters per step = 8.666666666666666
LS setups = 3
Jac fn evals = 1
LS RHS fn evals = 0
Prec setup evals = 0
Prec solves = 0
LS iters = 0
LS fails = 0
Jac-times setups = 0
Jac-times evals = 0
LS iters per NLS iter = 0
Jac evals per NLS iter = 0.03846153846153846
Prec evals per NLS iter = 0
End ARKStep Logging test
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Start ARKStep Logging test
Using ImEx method
Using fixed-point nonlinear solver
t u v u err v err
------------------------------------------------------------------------------------------------------------------------------
0.000000000000000e+00 1.224744871391589e+00 1.732050807568877e+00 0.000000000000000e+00 0.000000000000000e+00
1.029860256095084e-04 1.224744870309106e+00 1.732050195224277e+00 6.661338147750939e-16 4.440892098500626e-16
6.516232489625870e-03 1.224740537689633e+00 1.729601039259757e+00 2.278266464372791e-11 2.184104008762233e-10
1.016972555592109e-02 1.224734315814070e+00 1.726089959024652e+00 2.482614114285298e-11 2.127358289527592e-10
------------------------------------------------------------------------------------------------------------------------------
Current time = 0.01016972555592109
Steps = 3
Step attempts = 3
Stability limited steps = 0
Accuracy limited steps = 3
Error test fails = 0
NLS step fails = 0
Inequality constraint fails = 0
Initial step size = 0.0001029860256095084
Last step size = 0.003653493066295218
Current step size = 0.02097401965432383
Explicit RHS fn evals = 20
Implicit RHS fn evals = 55
NLS iters = 35
NLS fails = 0
NLS iters per step = 11.66666666666667
LS setups = 0
End ARKStep Logging test
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Start ARKStep Logging test
Using ImEx method
Using Newton nonlinear solver
Using GMRES iterative linear solver
t u v u err v err
------------------------------------------------------------------------------------------------------------------------------
0.000000000000000e+00 1.224744871391589e+00 1.732050807568877e+00 0.000000000000000e+00 0.000000000000000e+00
1.029860256095084e-04 1.224744870309106e+00 1.732050195224277e+00 4.440892098500626e-16 0.000000000000000e+00
6.554112583561956e-03 1.224740487151591e+00 1.729572495016884e+00 2.946975996565016e-11 2.206064220189319e-10
1.020477566424183e-02 1.224734242922404e+00 1.726048871574017e+00 3.169020601490047e-11 2.147166888732954e-10
------------------------------------------------------------------------------------------------------------------------------
Current time = 0.01020477566424183
Steps = 3
Step attempts = 3
Stability limited steps = 0
Accuracy limited steps = 3
Error test fails = 0
NLS step fails = 0
Inequality constraint fails = 0
Initial step size = 0.0001029860256095084
Last step size = 0.003650663080679877
Current step size = 0.021026187632719
Explicit RHS fn evals = 20
Implicit RHS fn evals = 47
NLS iters = 27
NLS fails = 0
NLS iters per step = 9
LS setups = 0
Jac fn evals = 0
LS RHS fn evals = 29
Prec setup evals = 0
Prec solves = 0
LS iters = 29
LS fails = 0
Jac-times setups = 0
Jac-times evals = 29
LS iters per NLS iter = 1.074074074074074
Jac evals per NLS iter = 0
Prec evals per NLS iter = 0
End ARKStep Logging test
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Start ARKStep Logging test
Using ImEx method
Using Newton nonlinear solver
Using dense direct linear solver
t u v u err v err
------------------------------------------------------------------------------------------------------------------------------
0.000000000000000e+00 1.224744871391589e+00 1.732050807568877e+00 0.000000000000000e+00 0.000000000000000e+00
1.029860256095084e-04 1.224744870309106e+00 1.732050195224277e+00 0.000000000000000e+00 0.000000000000000e+00
6.554114938847760e-03 1.224740487151368e+00 1.729572493235030e+00 2.654254593892347e-11 2.225244433162743e-10
1.020478290001611e-02 1.224734242910499e+00 1.726048863075356e+00 2.852318381485475e-11 2.167570567479515e-10
------------------------------------------------------------------------------------------------------------------------------
Current time = 0.01020478290001611
Steps = 3
Step attempts = 3
Stability limited steps = 0
Accuracy limited steps = 3
Error test fails = 0
NLS step fails = 0
Inequality constraint fails = 0
Initial step size = 0.0001029860256095084
Last step size = 0.003650667961168346
Current step size = 0.02102619488941004
Explicit RHS fn evals = 20
Implicit RHS fn evals = 46
NLS iters = 26
NLS fails = 0
NLS iters per step = 8.666666666666666
LS setups = 3
Jac fn evals = 1
LS RHS fn evals = 0
Prec setup evals = 0
Prec solves = 0
LS iters = 0
LS fails = 0
Jac-times setups = 0
Jac-times evals = 0
LS iters per NLS iter = 0
Jac evals per NLS iter = 0.03846153846153846
Prec evals per NLS iter = 0
End ARKStep Logging test
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Using ERK method
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-stage] stage = 4, implicit = 0, tcur = 7.723951920713131e-05
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-compute-solution] mass type = 0
[INFO][rank 0][arkStep_TakeStep_Z][end-compute-solution] status = success
[INFO][rank 0][ARKodeEvolve][end-step-attempt] status = success, dsm = 4.419249037637078e-08
1.029860256095084e-04 1.224744870309106e+00 1.732050195224277e+00 2.220446049250313e-16 0.000000000000000e+00
[INFO][rank 0][ARKodeEvolve][begin-step-attempt] step = 2, tn = 0.0001029860256095084, h = 0.002414929829310085
Expand All @@ -27,6 +29,8 @@ Using ERK method
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-stage] stage = 4, implicit = 0, tcur = 0.001914183397592072
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-compute-solution] mass type = 0
[INFO][rank 0][arkStep_TakeStep_Z][end-compute-solution] status = success
[INFO][rank 0][ARKodeEvolve][end-step-attempt] status = success, dsm = 0.0133919487764742
2.517915854919593e-03 1.224744224325435e+00 1.731684811946959e+00 2.964961609563943e-12 1.116839953851922e-11
[INFO][rank 0][ARKodeEvolve][begin-step-attempt] step = 3, tn = 0.002517915854919593, h = 0.001551585657173846
Expand All @@ -40,6 +44,8 @@ Using ERK method
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-stage] stage = 4, implicit = 0, tcur = 0.003681605097799978
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-compute-solution] mass type = 0
[INFO][rank 0][arkStep_TakeStep_Z][end-compute-solution] status = success
[INFO][rank 0][ARKodeEvolve][end-step-attempt] status = success, dsm = 0.002281919499449541
4.069501512093439e-03 1.224743181155563e+00 1.731094930827531e+00 3.276268145668837e-12 1.207456357121828e-11
------------------------------------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Using fixed-point nonlinear solver
[INFO][rank 0][SUNNonlinSolSolve_FixedPoint][end-nonlinear-iterate] status = success
[INFO][rank 0][arkStep_Nls][end-nonlinear-solve] status = success, iters = 2
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-compute-solution] mass type = 0
[INFO][rank 0][arkStep_TakeStep_Z][end-compute-solution] status = success
[INFO][rank 0][ARKodeEvolve][end-step-attempt] status = success, dsm = 5.257351772282993e-09
1.029860256095084e-04 1.224744870309104e+00 1.732050195224279e+00 2.442490654175344e-15 1.998401444325282e-15
[INFO][rank 0][ARKodeEvolve][begin-step-attempt] step = 2, tn = 0.0001029860256095084, h = 0.003644659220276104
Expand Down Expand Up @@ -109,6 +111,8 @@ Using fixed-point nonlinear solver
[INFO][rank 0][SUNNonlinSolSolve_FixedPoint][end-nonlinear-iterate] status = success
[INFO][rank 0][arkStep_Nls][end-nonlinear-solve] status = success, iters = 2
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-compute-solution] mass type = 0
[INFO][rank 0][arkStep_TakeStep_Z][end-compute-solution] status = success
[INFO][rank 0][ARKodeEvolve][end-step-attempt] status = success, dsm = 0.007864906415392474
3.747645245885612e-03 1.224743437035635e+00 1.731240118427390e+00 9.108140908153928e-10 5.271953984475886e-10
[INFO][rank 0][ARKodeEvolve][begin-step-attempt] step = 3, tn = 0.003747645245885612, h = 0.002236127227713321
Expand Down Expand Up @@ -167,6 +171,8 @@ Using fixed-point nonlinear solver
[INFO][rank 0][SUNNonlinSolSolve_FixedPoint][end-nonlinear-iterate] status = success
[INFO][rank 0][arkStep_Nls][end-nonlinear-solve] status = success, iters = 2
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-compute-solution] mass type = 0
[INFO][rank 0][arkStep_TakeStep_Z][end-compute-solution] status = success
[INFO][rank 0][ARKodeEvolve][end-step-attempt] status = success, dsm = 0.001116850591343922
5.983772473598933e-03 1.224741215598295e+00 1.729984808853534e+00 1.411835537368233e-09 7.625806652811207e-10
------------------------------------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ Using GMRES iterative linear solver
[INFO][rank 0][SUNNonlinSolSolve_Newton][end-nonlinear-iterate] status = success
[INFO][rank 0][arkStep_Nls][end-nonlinear-solve] status = success, iters = 2
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-compute-solution] mass type = 0
[INFO][rank 0][arkStep_TakeStep_Z][end-compute-solution] status = success
[INFO][rank 0][ARKodeEvolve][end-step-attempt] status = success, dsm = 5.010389402682452e-09
1.029860256095084e-04 1.224744870316961e+00 1.732050195224250e+00 7.854161765408207e-12 2.731148640577885e-14
[INFO][rank 0][ARKodeEvolve][begin-step-attempt] step = 2, tn = 0.0001029860256095084, h = 0.003678720014583297
Expand Down Expand Up @@ -219,6 +221,8 @@ Using GMRES iterative linear solver
[INFO][rank 0][SUNNonlinSolSolve_Newton][end-nonlinear-iterate] status = success
[INFO][rank 0][arkStep_Nls][end-nonlinear-solve] status = success, iters = 2
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-compute-solution] mass type = 0
[INFO][rank 0][arkStep_TakeStep_Z][end-compute-solution] status = success
[INFO][rank 0][ARKodeEvolve][end-step-attempt] status = success, dsm = 0.008163105466437349
3.781706040192805e-03 1.224743411877806e+00 1.731225318313145e+00 1.057254284120290e-10 1.072486544018147e-10
[INFO][rank 0][ARKodeEvolve][begin-step-attempt] step = 3, tn = 0.003781706040192805, h = 0.002233309968372805
Expand Down Expand Up @@ -342,6 +346,8 @@ Using GMRES iterative linear solver
[INFO][rank 0][SUNNonlinSolSolve_Newton][end-nonlinear-iterate] status = success
[INFO][rank 0][arkStep_Nls][end-nonlinear-solve] status = success, iters = 2
[INFO][rank 0][arkStep_TakeStep_Z][end-stage] status = success
[INFO][rank 0][arkStep_TakeStep_Z][begin-compute-solution] mass type = 0
[INFO][rank 0][arkStep_TakeStep_Z][end-compute-solution] status = success
[INFO][rank 0][ARKodeEvolve][end-step-attempt] status = success, dsm = 0.001111259275024442
6.015016008565610e-03 1.224741178982448e+00 1.729963189938353e+00 2.336992821483364e-10 1.590565457121329e-10
------------------------------------------------------------------------------------------------------------------------------
Expand Down
Loading