Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gassmoeller committed Oct 24, 2017
1 parent 1f56933 commit bcba74a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion source/initial_temperature/random_perturbation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ namespace aspect
initial_temperature (const Point<dim> &position) const
{
std::size_t seed = point_hash(position);
boost::hash_combine(seed,0);

if (use_random_seed)
boost::hash_combine(seed,time(NULL));
Expand Down Expand Up @@ -109,7 +110,7 @@ namespace aspect
{
ASPECT_REGISTER_INITIAL_TEMPERATURE_MODEL(RandomPerturbation,
"random perturbation",
"An initial tempeature anomaly that perturbs the temperature "
"An initial temperature anomaly that perturbs the temperature "
"following a random noise with uniform distribution and user "
"specified magnitude.")
}
Expand Down
2 changes: 1 addition & 1 deletion tests/random_temperature_perturbation/screen-output
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Number of degrees of freedom: 948 (578+81+289)
Solving Stokes system... 17+0 iterations.

Postprocessing:
Temperature min/avg/max: 0.3017 K, 0.5073 K, 0.6952 K
Temperature min/avg/max: 0.3006 K, 0.4981 K, 0.6998 K

Termination requested by criterion: end time

Expand Down
2 changes: 1 addition & 1 deletion tests/random_temperature_perturbation/statistics
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
# 11: Minimal temperature (K)
# 12: Average temperature (K)
# 13: Maximal temperature (K)
0 0.000000000000e+00 0.000000000000e+00 64 659 289 0 17 18 17 3.01709841e-01 5.07329437e-01 6.95230736e-01
0 0.000000000000e+00 0.000000000000e+00 64 659 289 0 17 18 17 3.00591720e-01 4.98143186e-01 6.99842861e-01

0 comments on commit bcba74a

Please sign in to comment.