Skip to content

Commit

Permalink
Update outfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Roberts committed Nov 20, 2024
1 parent 82208c3 commit 3b7bdff
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ static int test_reinit(const sundials::Context& ctx)
auto numerical_solution = N_VGetArrayPointer(y)[0];
auto err = numerical_solution - exact_solution;

std::cout << "Reinitialized solution with completed with an error of " << err
std::cout << "Reinitialized solution completed with an error of " << err
<< "\n";
ARKodePrintAllStats(arkode_mem, stdout, SUN_OUTPUTFORMAT_TABLE);

Expand Down
29 changes: 22 additions & 7 deletions test/unit_tests/arkode/CXX_serial/ark_test_splittingstep.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Forward solution with 2 partitions completed with an error of 1.10628e-12
Forward solution with 2 partitions completed with an error of 1.0843e-12
Current time = 1.000000000000001
Steps = 125
Step attempts = 125
Expand All @@ -13,7 +13,7 @@ Current step size = 0.008
Partition 0 evolves = 375
Partition 1 evolves = 375

Forward solution with 3 partitions completed with an error of 5.03264e-13
Forward solution with 3 partitions completed with an error of 4.87888e-13
Current time = 1.000000000000001
Steps = 125
Step attempts = 125
Expand All @@ -29,7 +29,7 @@ Partition 0 evolves = 375
Partition 1 evolves = 625
Partition 2 evolves = 375

Forward solution with 4 partitions completed with an error of 3.57214e-13
Forward solution with 4 partitions completed with an error of 3.46445e-13
Current time = 1.000000000000001
Steps = 125
Step attempts = 125
Expand All @@ -46,7 +46,7 @@ Partition 1 evolves = 625
Partition 2 evolves = 625
Partition 3 evolves = 375

Forward solution with 5 partitions completed with an error of 2.9915e-13
Forward solution with 5 partitions completed with an error of 2.95819e-13
Current time = 1.000000000000001
Steps = 125
Step attempts = 125
Expand All @@ -64,7 +64,7 @@ Partition 2 evolves = 625
Partition 3 evolves = 625
Partition 4 evolves = 375

Forward solution with 6 partitions completed with an error of 2.77611e-13
Forward solution with 6 partitions completed with an error of 2.69396e-13
Current time = 1.000000000000001
Steps = 125
Step attempts = 125
Expand All @@ -83,7 +83,7 @@ Partition 3 evolves = 625
Partition 4 evolves = 625
Partition 5 evolves = 375

Forward solution with 7 partitions completed with an error of 2.66953e-13
Forward solution with 7 partitions completed with an error of 2.60014e-13
Current time = 1.000000000000001
Steps = 125
Step attempts = 125
Expand All @@ -103,7 +103,7 @@ Partition 4 evolves = 625
Partition 5 evolves = 625
Partition 6 evolves = 375

Mixed direction solution completed with an error of 1.96217e-10
Mixed direction solution completed with an error of 1.96248e-10
Current time = -0.0009800000000017288
Steps = 2279
Step attempts = 2279
Expand Down Expand Up @@ -148,4 +148,19 @@ Current step size = 0.1
Partition 0 evolves = 286
Partition 1 evolves = 275

Reinitialized solution completed with an error of -2.44249e-15
Current time = 2.000000000000001
Steps = 125
Step attempts = 125
Stability limited steps = 0
Accuracy limited steps = 0
Error test fails = 0
NLS step fails = 0
Inequality constraint fails = 0
Initial step size = 0.008
Last step size = 0.008
Current step size = 0.008
Partition 0 evolves = 250
Partition 1 evolves = 125

Success

0 comments on commit 3b7bdff

Please sign in to comment.