Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gassmoeller committed Oct 4, 2024
1 parent 35de989 commit 62daeb8
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 44 deletions.
13 changes: 0 additions & 13 deletions tests/particle_multiple_worlds.prm
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ subsection Gravity model
end
end

############### Parameters describing the temperature field
# Note: The temperature plays no role in this model

subsection Initial temperature model
set Model name = function

Expand All @@ -52,10 +49,6 @@ subsection Initial temperature model
end
end

############### Parameters describing the compositional field
# Note: The compositional field is what drives the flow
# in this example

subsection Compositional fields
set Number of fields = 1
set Names of fields = anomaly
Expand All @@ -71,19 +64,13 @@ subsection Initial composition model
end
end

############### Parameters describing the discretization

subsection Mesh refinement
set Initial adaptive refinement = 0
set Strategy = composition
set Initial global refinement = 4
set Time steps between mesh refinement = 0
set Coarsening fraction = 0.05
set Refinement fraction = 0.3
end

############### Parameters describing what to do with the solution

subsection Postprocess
set List of postprocessors = velocity statistics, composition statistics, particles

Expand Down
2 changes: 1 addition & 1 deletion tests/particle_multiple_worlds/statistics
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# 16: Maximal value for composition anomaly
# 17: Global mass for composition anomaly
# 18: Number of advected particles
# 19: Number of advected particles (2)
# 19: Number of advected particles (World 2)
# 20: Particle file name
# 21: Particle file name (2)
0 0.000000000000e+00 0.000000000000e+00 256 2467 1089 1089 0 0 11 13 13 1.81487741e-04 4.04466706e-04 0.00000000e+00 1.00000000e+00 1.82454287e-01 10 10 output-particle_multiple_worlds/particles/particles-00000 output-particle_multiple_worlds/particles-2/particles-2-00000
Expand Down
17 changes: 2 additions & 15 deletions tests/particle_multiple_worlds_hdf5.prm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Like particle_multiple_worlds, but tests that
# the .vtu output (in particular the summary files
# .pvtu and .pvd) are written correctly.
# the HDF5 output (in particular the summary files
# .xdmf) are written correctly.

# MPI: 2

Expand Down Expand Up @@ -42,9 +42,6 @@ subsection Gravity model
end
end

############### Parameters describing the temperature field
# Note: The temperature plays no role in this model

subsection Initial temperature model
set Model name = function

Expand All @@ -53,10 +50,6 @@ subsection Initial temperature model
end
end

############### Parameters describing the compositional field
# Note: The compositional field is what drives the flow
# in this example

subsection Compositional fields
set Number of fields = 1
set Names of fields = anomaly
Expand All @@ -72,19 +65,13 @@ subsection Initial composition model
end
end

############### Parameters describing the discretization

subsection Mesh refinement
set Initial adaptive refinement = 0
set Strategy = composition
set Initial global refinement = 4
set Time steps between mesh refinement = 0
set Coarsening fraction = 0.05
set Refinement fraction = 0.3
end

############### Parameters describing what to do with the solution

subsection Postprocess
set List of postprocessors = velocity statistics, composition statistics, particles

Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified tests/particle_multiple_worlds_hdf5/particles/particles-00000.h5
Binary file not shown.
Binary file modified tests/particle_multiple_worlds_hdf5/particles/particles-00001.h5
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/particle_multiple_worlds_hdf5/statistics
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# 16: Maximal value for composition anomaly
# 17: Global mass for composition anomaly
# 18: Number of advected particles
# 19: Number of advected particles (2)
# 19: Number of advected particles (World 2)
# 20: Particle file name
# 21: Particle file name (2)
0 0.000000000000e+00 0.000000000000e+00 256 2467 1089 1089 0 0 11 13 13 1.81487741e-04 4.04466706e-04 0.00000000e+00 1.00000000e+00 1.82454287e-01 10 10 output-particle_multiple_worlds_hdf5/particles/particles-00000 output-particle_multiple_worlds_hdf5/particles-2/particles-2-00000
Expand Down
13 changes: 0 additions & 13 deletions tests/particle_multiple_worlds_vtu.prm
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ subsection Gravity model
end
end

############### Parameters describing the temperature field
# Note: The temperature plays no role in this model

subsection Initial temperature model
set Model name = function

Expand All @@ -53,10 +50,6 @@ subsection Initial temperature model
end
end

############### Parameters describing the compositional field
# Note: The compositional field is what drives the flow
# in this example

subsection Compositional fields
set Number of fields = 1
set Names of fields = anomaly
Expand All @@ -72,19 +65,13 @@ subsection Initial composition model
end
end

############### Parameters describing the discretization

subsection Mesh refinement
set Initial adaptive refinement = 0
set Strategy = composition
set Initial global refinement = 4
set Time steps between mesh refinement = 0
set Coarsening fraction = 0.05
set Refinement fraction = 0.3
end

############### Parameters describing what to do with the solution

subsection Postprocess
set List of postprocessors = velocity statistics, composition statistics, particles

Expand Down
2 changes: 1 addition & 1 deletion tests/particle_multiple_worlds_vtu/statistics
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# 16: Maximal value for composition anomaly
# 17: Global mass for composition anomaly
# 18: Number of advected particles
# 19: Number of advected particles (2)
# 19: Number of advected particles (World 2)
# 20: Particle file name
# 21: Particle file name (2)
0 0.000000000000e+00 0.000000000000e+00 256 2467 1089 1089 0 0 11 13 13 1.81487741e-04 4.04466706e-04 0.00000000e+00 1.00000000e+00 1.82454287e-01 10 10 output-particle_multiple_worlds_vtu/particles/particles-00000 output-particle_multiple_worlds_vtu/particles-2/particles-2-00000
Expand Down

0 comments on commit 62daeb8

Please sign in to comment.