Skip to content

Commit

Permalink
Tests: added more tests for volume refinement and MeshRectangle behav…
Browse files Browse the repository at this point in the history
…iour
  • Loading branch information
VikingScientist committed Jan 19, 2021
1 parent 0af3695 commit 8b404fc
Show file tree
Hide file tree
Showing 10 changed files with 71 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/RefinementUnchanged/extend_meshrect.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
2
0 1.5 0 1 1 4 1
0 1.5 0 1 3 5 1
9 changes: 9 additions & 0 deletions test/RefinementUnchanged/extend_meshrect.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-p1 3 -p2 3 -p3 3 -n1 10 -n2 4 -n3 8 extend_meshrect.inp

all assertions passed

Key LR-spline information:
number of mesh lines : 20
number of elements : 100


4 changes: 4 additions & 0 deletions test/RefinementUnchanged/overlap_w.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
3
2 1.5 1 4 0 3 1
2 1.5 3 6 2 5 1
2 1.5 0 7 1 4 1
9 changes: 9 additions & 0 deletions test/RefinementUnchanged/overlap_w.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-p1 3 -p2 3 -p3 3 -n1 10 -n2 8 -n3 4 overlap_w.inp

all assertions passed

Key LR-spline information:
number of basis functions: 331
number of mesh lines : 23
number of elements : 123

12 changes: 12 additions & 0 deletions test/RefinementUnchanged/volume_all_coved_by_one_meshrect.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
11
1 1.5 1 2 1 2 1
1 1.5 3 4 1 2 1
1 1.5 2 3 1 2 1
1 1.5 0 4 0 3 1
1 1.5 2 3 1 3 1
1 1.5 3 4 2 3 1
1 1.5 1 4 1 4 1
1 1.5 3 5 2 5 1
1 1.5 1 4 0 6 1
1 1.5 0 5 0 6 1
1 1.5 0 5 0 6 1
9 changes: 9 additions & 0 deletions test/RefinementUnchanged/volume_all_coved_by_one_meshrect.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-p1 3 -p2 3 -p3 3 -n1 10 -n2 4 -n3 8 volume_all_coved_by_one_meshrect.inp


all assertions passed

Key LR-spline information:
number of mesh lines : 20
number of elements : 126

4 changes: 4 additions & 0 deletions test/RefinementUnchanged/volume_merging_rect.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
3
1 1.5 1 2 1 2 1
1 1.5 3 4 1 2 1
1 1.5 2 3 1 2 1
9 changes: 9 additions & 0 deletions test/RefinementUnchanged/volume_merging_rect.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-p1 3 -p2 3 -p3 3 -n1 10 -n2 4 -n3 8 volume_merging_rect.inp

all assertions passed

Key LR-spline information:
number of basis functions: 320
number of mesh lines : 20
number of elements : 99

3 changes: 3 additions & 0 deletions test/RefinementUnchanged/volume_two_rect_corner_overlap.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
4
1 1.5 1 4 2 5 1
1 1.5 2 5 1 4 1
9 changes: 9 additions & 0 deletions test/RefinementUnchanged/volume_two_rect_corner_overlap.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-p1 3 -p2 3 -p3 3 -n1 10 -n2 4 -n3 8 volume_two_rect_corner_overlap.inp

all assertions passed

Key LR-spline information:
number of basis functions: 322
number of mesh lines : 23
number of elements : 110

0 comments on commit 8b404fc

Please sign in to comment.