Skip to content

Commit

Permalink
Add tests for checkpoint mesh reads
Browse files Browse the repository at this point in the history
Based heavily on @friedmud's test in idaholab#8472; adds test coverage for
issue idaholab#7752, for both ASCII and binary CheckpointIO pre-split mesh
reads.
  • Loading branch information
roystgnr authored and jarons committed Oct 5, 2017
1 parent 5d46044 commit 8d41055
Show file tree
Hide file tree
Showing 11 changed files with 1,347 additions and 0 deletions.
42 changes: 42 additions & 0 deletions test/tests/mesh/checkpoint/checkpoint_split.i
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[Mesh]
type = FileMesh
file = checkpoint_split_in.2.cpr
[]

[Variables]
[./u]
[../]
[]

[Kernels]
[./diff]
type = Diffusion
variable = u
[../]
[]

[BCs]
[./left]
type = DirichletBC
variable = u
boundary = left
value = 0
[../]
[./right]
type = DirichletBC
variable = u
boundary = right
value = 1
[../]
[]

[Executioner]
type = Steady
solve_type = 'PJFNK'
petsc_options_iname = '-pc_type -pc_hypre_type'
petsc_options_value = 'hypre boomeramg'
[]

[Outputs]
exodus = true
[]
5 changes: 5 additions & 0 deletions test/tests/mesh/checkpoint/checkpoint_split_in.2.cpa
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
checkpoint-1.1 # version
2 # dimensions
1 # parallel
2 # n_procs
0 # subdomain id to name map

0 comments on commit 8d41055

Please sign in to comment.