[cig-commits] [commit] master: add test for tangurnis (56caa13)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Sun May 25 09:17:53 PDT 2014
Repository : https://github.com/geodynamics/aspect
On branch : master
Link : https://github.com/geodynamics/aspect/compare/4f4abb319deeb11a093d90f6dd9651ea821c90a8...492d395e19a72325f7828c78924713be8ff5aa40
>---------------------------------------------------------------
commit 56caa13997d632b50462e2a3e42a8b504a1c09a6
Author: Timo Heister <timo.heister at gmail.com>
Date: Sun May 25 12:15:27 2014 -0400
add test for tangurnis
>---------------------------------------------------------------
56caa13997d632b50462e2a3e42a8b504a1c09a6
{benchmark/tangurnis/code => tests}/tangurnis.cc | 0
.../tangurnis/tala/tan.prm => tests/tangurnis.prm | 1 -
tests/tangurnis/screen-output | 57 ++++++++++++++++++++++
tests/tangurnis/statistics | 16 ++++++
4 files changed, 73 insertions(+), 1 deletion(-)
diff --git a/benchmark/tangurnis/code/tangurnis.cc b/tests/tangurnis.cc
similarity index 100%
copy from benchmark/tangurnis/code/tangurnis.cc
copy to tests/tangurnis.cc
diff --git a/benchmark/tangurnis/tala/tan.prm b/tests/tangurnis.prm
similarity index 99%
copy from benchmark/tangurnis/tala/tan.prm
copy to tests/tangurnis.prm
index d158ddb..06e825a 100644
--- a/benchmark/tangurnis/tala/tan.prm
+++ b/tests/tangurnis.prm
@@ -1,7 +1,6 @@
# Listing of Parameters
# ---------------------
-set Additional shared libraries = ./tangurnis/code/libtangurnis.so
# At the top, state that the program should be run for a two-dimensional
# simulation
diff --git a/tests/tangurnis/screen-output b/tests/tangurnis/screen-output
new file mode 100644
index 0000000..b15afb0
--- /dev/null
+++ b/tests/tangurnis/screen-output
@@ -0,0 +1,57 @@
+-----------------------------------------------------------------------------
+-- This is ASPECT, the Advanced Solver for Problems in Earth's ConvecTion.
+-- . running in DEBUG mode
+-- . running with 1 MPI process
+-- . using Trilinos
+-----------------------------------------------------------------------------
+
+Loading shared library <./libtangurnis.so>
+
+Number of active cells: 4,096 (on 7 levels)
+Number of degrees of freedom: 54,148 (33,282+4,225+16,641)
+
+*** Timestep 0: t=0 seconds
+ Rebuilding Stokes preconditioner...
+ Solving Stokes system... 30+2 iterations.
+ Nonlinear Stokes residual: 0.0056096
+ Solving Stokes system... 30 iterations.
+ Nonlinear Stokes residual: 0.0126531
+ Solving Stokes system... 23 iterations.
+ Nonlinear Stokes residual: 0.000344376
+ Solving Stokes system... 18 iterations.
+ Nonlinear Stokes residual: 2.5457e-05
+ Solving Stokes system... 11 iterations.
+ Nonlinear Stokes residual: 1.03191e-06
+ Solving Stokes system... 7 iterations.
+ Nonlinear Stokes residual: 7.36538e-08
+ Solving Stokes system... 2 iterations.
+ Nonlinear Stokes residual: 3.23924e-09
+
+ Postprocessing:
+ writing: output.csv
+ Writing graphical output: output-tangurnis/solution-00000
+
+*** Timestep 1: t=0.0001 seconds
+ Solving Stokes system... 0 iterations.
+ Nonlinear Stokes residual: 1.18319e-09
+
+ Postprocessing:
+ writing: output.csv
+ Writing graphical output: output-tangurnis/solution-00001
+
+Termination requested by criterion: end time
+
+
++---------------------------------------------+------------+------------+
+| Total wallclock time elapsed since start | 7.14s | |
+| | | |
+| Section | no. calls | wall time | % of total |
++---------------------------------+-----------+------------+------------+
+| Assemble Stokes system | 8 | 1.46s | 20% |
+| Build Stokes preconditioner | 1 | 0.772s | 11% |
+| Solve Stokes system | 8 | 1.34s | 19% |
+| Initialization | 2 | 0.183s | 2.6% |
+| Postprocessing | 2 | 2.63s | 37% |
+| Setup dof systems | 1 | 0.324s | 4.5% |
++---------------------------------+-----------+------------+------------+
+
diff --git a/tests/tangurnis/statistics b/tests/tangurnis/statistics
new file mode 100644
index 0000000..aa0a58a
--- /dev/null
+++ b/tests/tangurnis/statistics
@@ -0,0 +1,16 @@
+# 1: Time step number
+# 2: Time (seconds)
+# 3: Number of mesh cells
+# 4: Number of Stokes degrees of freedom
+# 5: Number of temperature degrees of freedom
+# 6: Iterations for Stokes solver
+# 7: Time step size (seconds)
+# 8: Visualization file name
+0 0.0000e+00 4096 37507 16641 32 0.0000e+00 ""
+0 0.0000e+00 0 0 0 30 0.0000e+00 ""
+0 0.0000e+00 0 0 0 23 0.0000e+00 ""
+0 0.0000e+00 0 0 0 18 0.0000e+00 ""
+0 0.0000e+00 0 0 0 11 0.0000e+00 ""
+0 0.0000e+00 0 0 0 7 0.0000e+00 ""
+1 1.0000e-04 4096 37507 16641 2 1.0000e-04 output-tangurnis/solution-00000
+0 0.0000e+00 0 0 0 0 2.2591e-01 output-tangurnis/solution-00001
More information about the CIG-COMMITS
mailing list