Skip to content

Commit

Permalink
Regression test for non-uniform refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
roystgnr committed Sep 13, 2022
1 parent dbd8358 commit ca4e811
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
Binary file not shown.
@@ -0,0 +1,33 @@
[Mesh]
[outer_bdy]
type = PolyLineMeshGenerator
points = '-1.0 0.0 0.0
0.0 -1.0 0.0
1.0 0.0 0.0
0.0 2.0 0.0'
loop = true
[]
[hole_1]
type = PolyLineMeshGenerator
points = '-0.5 -0.1 0.0
-0.3 -0.1 0.0
-0.3 0.1 0.0
-0.5 0.1 0.0'
loop = true
[]
[hole_2]
type = PolyLineMeshGenerator
points = '0.3 -0.1 0.0
0.5 -0.1 0.0
0.5 0.1 0.0
0.3 0.1 0.0'
loop = true
[]
[triang]
type = Poly2TriMeshGenerator
boundary = 'outer_bdy'
holes = 'hole_1
hole_2'
desired_area_func = '(x+1.5)*(y+1.5)*0.01'
[]
[]
8 changes: 8 additions & 0 deletions test/tests/meshgenerators/poly2tri_mesh_generator/tests
Expand Up @@ -84,5 +84,13 @@
recover = false
detail = "with optional Laplacian mesh smoothing."
[]
[area_func]
type = 'Exodiff'
input = 'poly2tri_area_func.i'
cli_args = '--mesh-only'
exodiff = 'poly2tri_area_func_in.e'
recover = false
detail = "with optional non-uniform refinement."
[]
[]
[]

0 comments on commit ca4e811

Please sign in to comment.