forked from geodynamics/aspect
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request geodynamics#5906 from MFraters/add_extra_interpola…
…tor_tester_coverage Add tester coverage for particle interplator.
- Loading branch information
Showing
6 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Test whether the interpolator reads the input correctly. | ||
include $ASPECT_SOURCE_DIR/tests/time_stepping_repeat_particles.prm | ||
|
||
set End time = 0.0 | ||
|
||
subsection Particles | ||
set Interpolation scheme = harmonic average | ||
set List of particle properties = initial position | ||
end | ||
|
||
subsection Compositional fields | ||
set Number of fields = 0 | ||
set Names of fields = | ||
set Compositional field methods = | ||
set Mapped particle properties = | ||
end | ||
|
||
|
||
subsection Initial composition model | ||
set Model name = unspecified | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
|
||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
Number of active cells: 128 (on 4 levels) | ||
Number of degrees of freedom: 1,836 (1,122+153+561) | ||
|
||
*** Timestep 0: t=0 seconds, dt=0 seconds | ||
Solving temperature system... 0 iterations. | ||
Advecting particles... done. | ||
Solving Stokes system... 11+0 iterations. | ||
|
||
Postprocessing: | ||
Writing graphical output: output-interpolor_particles_harmonic_average/solution/solution-00000 | ||
Writing particle output: output-interpolor_particles_harmonic_average/particles/particles-00000 | ||
|
||
Termination requested by criterion: end time | ||
|
||
|
||
+----------------------------------------------+------------+------------+ | ||
+----------------------------------+-----------+------------+------------+ | ||
+----------------------------------+-----------+------------+------------+ | ||
|
||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Test whether the interpolator reads the input correctly. | ||
include $ASPECT_SOURCE_DIR/tests/time_stepping_repeat_particles.prm | ||
|
||
set End time = 0.0 | ||
|
||
subsection Particles | ||
set Interpolation scheme = nearest neighbor | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
|
||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
Number of active cells: 128 (on 4 levels) | ||
Number of degrees of freedom: 2,958 (1,122+153+561+561+561) | ||
|
||
*** Timestep 0: t=0 seconds, dt=0 seconds | ||
Solving temperature system... 0 iterations. | ||
Advecting particles... done. | ||
Solving field system ... 0 iterations. | ||
Solving Stokes system... 11+0 iterations. | ||
|
||
Postprocessing: | ||
Writing graphical output: output-interpolor_particles_nearest_neighbor/solution/solution-00000 | ||
Writing particle output: output-interpolor_particles_nearest_neighbor/particles/particles-00000 | ||
|
||
Termination requested by criterion: end time | ||
|
||
|
||
+----------------------------------------------+------------+------------+ | ||
+----------------------------------+-----------+------------+------------+ | ||
+----------------------------------+-----------+------------+------------+ | ||
|
||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Test whether the interpolator reads the input correctly. | ||
include $ASPECT_SOURCE_DIR/tests/time_stepping_repeat_particles.prm | ||
|
||
set End time = 0.0 | ||
|
||
subsection Particles | ||
set Interpolation scheme = quadratic least squares | ||
end |
28 changes: 28 additions & 0 deletions
28
tests/interpolor_particles_quadratic_least_squares/screen-output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
|
||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- | ||
Number of active cells: 128 (on 4 levels) | ||
Number of degrees of freedom: 2,958 (1,122+153+561+561+561) | ||
|
||
*** Timestep 0: t=0 seconds, dt=0 seconds | ||
Solving temperature system... 0 iterations. | ||
Advecting particles... done. | ||
Solving field system ... 0 iterations. | ||
Solving Stokes system... 11+0 iterations. | ||
|
||
Postprocessing: | ||
Writing graphical output: output-interpolor_particles_quadratic_least_squares/solution/solution-00000 | ||
Writing particle output: output-interpolor_particles_quadratic_least_squares/particles/particles-00000 | ||
|
||
Termination requested by criterion: end time | ||
|
||
|
||
+----------------------------------------------+------------+------------+ | ||
+----------------------------------+-----------+------------+------------+ | ||
+----------------------------------+-----------+------------+------------+ | ||
|
||
----------------------------------------------------------------------------- | ||
----------------------------------------------------------------------------- |