initial upload

This commit is contained in:
2025-12-17 11:00:57 +08:00
parent 2bc7b24a71
commit a09a73537f
4614 changed files with 3478433 additions and 2 deletions

View File

@@ -0,0 +1,104 @@
# Hybrid control volume tests
# These tests verify the hybrid and nohybrid options of dump / fehm and dump /
# stor. They also test cmo / addatt / / hybrid_volume, which is closely related.
# Note: gmv read/write commented out to avoid binary files in testing
# Input files:
# input03.inp
# input04.inp
# input08.gmv
# input09.inp
# Output files:
# out_01.{gmv,stor}
# out_02.gmv
# out_03.gmv
# out_04.{gmv,stor}
# out_05.stor
# out_06.stor
# out_07.stor
# out_08.stor
# out_09.gmv
# out_09_{hybrid,nohybrid}.stor
# out_11.{gmv,stor}
# out_11_h.stor
# Verify that the sum of the Voronoi volumes, the sum of the hybrid volumes, and
# the sum of the element volumes are all the same.
cmo / create / mo1 / / / tet
createpts / xyz / 11, 11, 11 / 0, 0, 0 / 10, 10, 10 / 1, 1, 1
connect
# dump / out_01.gmv / mo1
dump / stor / out_01 / mo1 / hybrid
cmo / addatt / mo1 / hybrid_volume / hybrid
cmo / addatt / mo1 / voronoi_volume / voronoi
cmo / addatt / mo1 / volume / element_volume
math / sum / mo1 / total_hybrid_volume / 1 0 0 / mo1 / hybrid
math / sum / mo1 / total_voronoi_volume / 1 0 0 / mo1 / voronoi
math / sum / mo1 / total_element_volume / 1 0 0 / mo1 / element_volume
# Check that the code gives an error message when given a hex mesh instead of a
# tet mesh.
cmo / create / mo2 / / / hex
createpts / brick / xyz / 11, 11, 11 / 0, 0, 0 / 10, 10, 10 / 1, 1, 1
# dump / out_02.gmv / mo2
dump / stor / out_02 / mo2 / hybrid
# Check that it gives an error message if it gets a hybrid tet and hex mesh.
read / input03.inp / mo3
# dump / out_03.gmv / mo3
dump / stor / out_03 / mo3 / hybrid
# Check that it behaves alright if it gets a 2D (triangular) mesh. Actually
# right now if the 2D code (matbld2d_stor) is called, it mostly ignores any
# superfluous arguments passed to it, including "hybrid" and "nohybrid". Ideally
# it should check the arguments and complain about the ones that don't make
# sense.
read / input04.inp / mo4
# dump / out_04.gmv / mo4
dump / stor / out_04 / mo4 / hybrid
dump / stor / out_04 / mo4 / nohybrid
# Check that it gives an error message if it is asked to do the hybrid option
# along with the "none" or "coefs" compression options.
dump / stor / out_05 / mo1 / none / hybrid
dump / stor / out_06 / mo1 / coefs / hybrid
# Make sure that with the nohybrid option (default), the results haven't changed
# from previous versions of LaGriT. Actually there should be slight numerical
# differences because the new code calculates area coefficients in a slightly
# different way.
dump / stor / out_07 / mo1
finish
# Same thing with a much more complicated mesh. We also calculate the volume
# three different ways (as above) and verify that they all match.
# read / input08.gmv / mo8
dump / stor / out_08 / mo8
cmo / addatt / mo8 / hybrid_volume / hybrid
cmo / addatt / mo8 / voronoi_volume / voronoi
cmo / addatt / mo8 / volume / element_volume
math / sum / mo8 / total_hybrid_volume / 1 0 0 / mo8 / hybrid
math / sum / mo8 / total_voronoi_volume / 1 0 0 / mo8 / voronoi
math / sum / mo8 / total_element_volume / 1 0 0 / mo8 / element_volume
# Pathological case: Voronoi center lies directly on an edge. In this case the
# hybrid and nohybrid cases should produce the same results.
read / input09.inp / mo9
# dump / out_09.gmv / mo9
dump / stor / out_09_hybrid / mo9 / hybrid
dump / stor / out_09_nohybrid / mo9 / nohybrid
# Let's run the hybrid code on a non-Delaunay mesh. The code should produce a
# warning when it detects that the mesh is non-Delaunay.
cmo / create / mo10 /// hex
createpts / brick / xyz / 2 2 2 / 0 0 0 / 1 1 10 / 1 1 1
hextotet / 24 / mo11 / mo10
cmo / addatt / mo11 / voronoi
# dump / out_11.gmv / mo11
dump / stor / out_11 / mo11
dump / stor / out_11_h / mo11 / hybrid
finish

View File

@@ -0,0 +1,15 @@
12 2 0 0 0
1 0 0 0
2 1 0 0
3 1 1 0
4 0 1 0
5 0 0 1
6 1 0 1
7 1 1 1
8 0 1 1
9 2 0 0
10 3 0 0
11 2 1 0
12 3 1 1
1 1 hex 1 2 3 4 5 6 7 8
2 1 tet 9 10 11 12

View File

@@ -0,0 +1,152 @@
41 64 4 0 0
001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
002 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
003 1.000000000000E+00 1.000000000000E+00 0.000000000000E+00
004 0.000000000000E+00 1.000000000000E+00 0.000000000000E+00
005 5.000000000000E-01 5.000000000000E-01 0.000000000000E+00
006 1.000000000000E+00 5.000000000000E-01 0.000000000000E+00
007 0.000000000000E+00 5.000000000000E-01 0.000000000000E+00
008 5.000000000000E-01 1.000000000000E+00 0.000000000000E+00
009 5.000000000000E-01 0.000000000000E+00 0.000000000000E+00
010 7.500000000000E-01 2.500000000000E-01 0.000000000000E+00
011 2.500000000000E-01 7.500000000000E-01 0.000000000000E+00
012 7.500000000000E-01 7.500000000000E-01 0.000000000000E+00
013 2.500000000000E-01 2.500000000000E-01 0.000000000000E+00
014 7.500000000000E-01 0.000000000000E+00 0.000000000000E+00
015 0.000000000000E+00 7.500000000000E-01 0.000000000000E+00
016 2.500000000000E-01 0.000000000000E+00 0.000000000000E+00
017 1.000000000000E+00 2.500000000000E-01 0.000000000000E+00
018 2.500000000000E-01 5.000000000000E-01 0.000000000000E+00
019 2.500000000000E-01 1.000000000000E+00 0.000000000000E+00
020 7.500000000000E-01 1.000000000000E+00 0.000000000000E+00
021 5.000000000000E-01 7.500000000000E-01 0.000000000000E+00
022 0.000000000000E+00 2.500000000000E-01 0.000000000000E+00
023 1.000000000000E+00 7.500000000000E-01 0.000000000000E+00
024 5.000000000000E-01 2.500000000000E-01 0.000000000000E+00
025 1.250000000000E-01 8.750000000000E-01 0.000000000000E+00
026 8.750000000000E-01 1.250000000000E-01 0.000000000000E+00
027 7.500000000000E-01 5.000000000000E-01 0.000000000000E+00
028 3.750000000000E-01 6.250000000000E-01 0.000000000000E+00
029 1.250000000000E-01 3.750000000000E-01 0.000000000000E+00
030 8.750000000000E-01 8.750000000000E-01 0.000000000000E+00
031 6.250000000000E-01 1.250000000000E-01 0.000000000000E+00
032 6.250000000000E-01 3.750000000000E-01 0.000000000000E+00
033 8.750000000000E-01 6.250000000000E-01 0.000000000000E+00
034 1.250000000000E-01 6.250000000000E-01 0.000000000000E+00
035 3.750000000000E-01 8.750000000000E-01 0.000000000000E+00
036 3.750000000000E-01 1.250000000000E-01 0.000000000000E+00
037 6.250000000000E-01 6.250000000000E-01 0.000000000000E+00
038 3.750000000000E-01 3.750000000000E-01 0.000000000000E+00
039 8.750000000000E-01 3.750000000000E-01 0.000000000000E+00
040 1.250000000000E-01 1.250000000000E-01 0.000000000000E+00
041 6.250000000000E-01 8.750000000000E-01 0.000000000000E+00
001 0 tri 24 10 31
002 0 tri 18 13 29
003 0 tri 27 12 33
004 0 tri 21 11 35
005 0 tri 27 6 39
006 0 tri 18 7 34
007 0 tri 21 8 41
008 0 tri 24 9 36
009 0 tri 14 10 26
010 0 tri 17 39 6
011 0 tri 19 11 25
012 0 tri 15 34 7
013 0 tri 23 12 30
014 0 tri 20 41 8
015 0 tri 22 13 40
016 0 tri 16 36 9
017 0 tri 14 31 10
018 0 tri 15 25 11
019 0 tri 16 40 13
020 0 tri 17 26 10
021 0 tri 18 5 38
022 0 tri 18 11 28
023 0 tri 19 35 11
024 0 tri 20 30 12
025 0 tri 21 28 11
026 0 tri 21 12 37
027 0 tri 22 29 13
028 0 tri 23 33 12
029 0 tri 24 5 32
030 0 tri 24 38 5
031 0 tri 19 25 4
032 0 tri 15 4 25
033 0 tri 14 26 2
034 0 tri 17 2 26
035 0 tri 27 37 12
036 0 tri 27 32 5
037 0 tri 18 28 5
038 0 tri 21 5 28
039 0 tri 18 29 7
040 0 tri 22 7 29
041 0 tri 23 30 3
042 0 tri 20 3 30
043 0 tri 24 31 9
044 0 tri 14 9 31
045 0 tri 24 32 10
046 0 tri 27 10 32
047 0 tri 27 33 6
048 0 tri 23 6 33
049 0 tri 18 34 11
050 0 tri 15 11 34
051 0 tri 21 35 8
052 0 tri 19 8 35
053 0 tri 24 36 13
054 0 tri 16 13 36
055 0 tri 21 37 5
056 0 tri 27 5 37
057 0 tri 18 38 13
058 0 tri 24 13 38
059 0 tri 27 39 10
060 0 tri 17 10 39
061 0 tri 22 40 1
062 0 tri 16 1 40
063 0 tri 21 41 12
064 0 tri 20 12 41
00004 1 1 1 1
imt1, integer
itp1, integer
icr1, integer
isn1, integer
0000000001 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000002 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000003 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000004 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000005 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000006 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000007 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000008 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000009 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000010 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000011 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000012 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000013 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000014 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000015 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000016 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000017 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000018 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000019 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000020 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000021 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000022 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000023 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000024 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000025 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000026 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000027 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000028 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000029 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000030 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000031 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000032 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000033 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000034 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000035 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000036 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000037 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000038 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000039 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000040 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000041 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00

View File

@@ -0,0 +1,6 @@
4 1 0 0 0
1 1 0 0
2 0 1 0
3 1 1 0
4 0 0 1
1 1 tet 1 2 3 4

View File

@@ -0,0 +1,104 @@
# Hybrid control volume tests
# These tests verify the hybrid and nohybrid options of dump / fehm and dump /
# stor. They also test cmo / addatt / / hybrid_volume, which is closely related.
# Note: gmv read/write commented out to avoid binary files in testing
# Input files:
# input03.inp
# input04.inp
# input08.gmv
# input09.inp
# Output files:
# out_01.{gmv,stor}
# out_02.gmv
# out_03.gmv
# out_04.{gmv,stor}
# out_05.stor
# out_06.stor
# out_07.stor
# out_08.stor
# out_09.gmv
# out_09_{hybrid,nohybrid}.stor
# out_11.{gmv,stor}
# out_11_h.stor
# Verify that the sum of the Voronoi volumes, the sum of the hybrid volumes, and
# the sum of the element volumes are all the same.
cmo / create / mo1 / / / tet
createpts / xyz / 11, 11, 11 / 0, 0, 0 / 10, 10, 10 / 1, 1, 1
connect
# dump / out_01.gmv / mo1
dump / stor / out_01 / mo1 / hybrid
cmo / addatt / mo1 / hybrid_volume / hybrid
cmo / addatt / mo1 / voronoi_volume / voronoi
cmo / addatt / mo1 / volume / element_volume
math / sum / mo1 / total_hybrid_volume / 1 0 0 / mo1 / hybrid
math / sum / mo1 / total_voronoi_volume / 1 0 0 / mo1 / voronoi
math / sum / mo1 / total_element_volume / 1 0 0 / mo1 / element_volume
# Check that the code gives an error message when given a hex mesh instead of a
# tet mesh.
cmo / create / mo2 / / / hex
createpts / brick / xyz / 11, 11, 11 / 0, 0, 0 / 10, 10, 10 / 1, 1, 1
# dump / out_02.gmv / mo2
dump / stor / out_02 / mo2 / hybrid
# Check that it gives an error message if it gets a hybrid tet and hex mesh.
read / input03.inp / mo3
# dump / out_03.gmv / mo3
dump / stor / out_03 / mo3 / hybrid
# Check that it behaves alright if it gets a 2D (triangular) mesh. Actually
# right now if the 2D code (matbld2d_stor) is called, it mostly ignores any
# superfluous arguments passed to it, including "hybrid" and "nohybrid". Ideally
# it should check the arguments and complain about the ones that don't make
# sense.
read / input04.inp / mo4
# dump / out_04.gmv / mo4
dump / stor / out_04 / mo4 / hybrid
dump / stor / out_04 / mo4 / nohybrid
# Check that it gives an error message if it is asked to do the hybrid option
# along with the "none" or "coefs" compression options.
dump / stor / out_05 / mo1 / none / hybrid
dump / stor / out_06 / mo1 / coefs / hybrid
# Make sure that with the nohybrid option (default), the results haven't changed
# from previous versions of LaGriT. Actually there should be slight numerical
# differences because the new code calculates area coefficients in a slightly
# different way.
dump / stor / out_07 / mo1
finish
# Same thing with a much more complicated mesh. We also calculate the volume
# three different ways (as above) and verify that they all match.
# read / input08.gmv / mo8
dump / stor / out_08 / mo8
cmo / addatt / mo8 / hybrid_volume / hybrid
cmo / addatt / mo8 / voronoi_volume / voronoi
cmo / addatt / mo8 / volume / element_volume
math / sum / mo8 / total_hybrid_volume / 1 0 0 / mo8 / hybrid
math / sum / mo8 / total_voronoi_volume / 1 0 0 / mo8 / voronoi
math / sum / mo8 / total_element_volume / 1 0 0 / mo8 / element_volume
# Pathological case: Voronoi center lies directly on an edge. In this case the
# hybrid and nohybrid cases should produce the same results.
read / input09.inp / mo9
# dump / out_09.gmv / mo9
dump / stor / out_09_hybrid / mo9 / hybrid
dump / stor / out_09_nohybrid / mo9 / nohybrid
# Let's run the hybrid code on a non-Delaunay mesh. The code should produce a
# warning when it detects that the mesh is non-Delaunay.
cmo / create / mo10 /// hex
createpts / brick / xyz / 2 2 2 / 0 0 0 / 1 1 10 / 1 1 1
hextotet / 24 / mo11 / mo10
cmo / addatt / mo11 / voronoi
# dump / out_11.gmv / mo11
dump / stor / out_11 / mo11
dump / stor / out_11_h / mo11 / hybrid
finish

View File

@@ -0,0 +1,15 @@
12 2 0 0 0
1 0 0 0
2 1 0 0
3 1 1 0
4 0 1 0
5 0 0 1
6 1 0 1
7 1 1 1
8 0 1 1
9 2 0 0
10 3 0 0
11 2 1 0
12 3 1 1
1 1 hex 1 2 3 4 5 6 7 8
2 1 tet 9 10 11 12

View File

@@ -0,0 +1,152 @@
41 64 4 0 0
001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
002 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
003 1.000000000000E+00 1.000000000000E+00 0.000000000000E+00
004 0.000000000000E+00 1.000000000000E+00 0.000000000000E+00
005 5.000000000000E-01 5.000000000000E-01 0.000000000000E+00
006 1.000000000000E+00 5.000000000000E-01 0.000000000000E+00
007 0.000000000000E+00 5.000000000000E-01 0.000000000000E+00
008 5.000000000000E-01 1.000000000000E+00 0.000000000000E+00
009 5.000000000000E-01 0.000000000000E+00 0.000000000000E+00
010 7.500000000000E-01 2.500000000000E-01 0.000000000000E+00
011 2.500000000000E-01 7.500000000000E-01 0.000000000000E+00
012 7.500000000000E-01 7.500000000000E-01 0.000000000000E+00
013 2.500000000000E-01 2.500000000000E-01 0.000000000000E+00
014 7.500000000000E-01 0.000000000000E+00 0.000000000000E+00
015 0.000000000000E+00 7.500000000000E-01 0.000000000000E+00
016 2.500000000000E-01 0.000000000000E+00 0.000000000000E+00
017 1.000000000000E+00 2.500000000000E-01 0.000000000000E+00
018 2.500000000000E-01 5.000000000000E-01 0.000000000000E+00
019 2.500000000000E-01 1.000000000000E+00 0.000000000000E+00
020 7.500000000000E-01 1.000000000000E+00 0.000000000000E+00
021 5.000000000000E-01 7.500000000000E-01 0.000000000000E+00
022 0.000000000000E+00 2.500000000000E-01 0.000000000000E+00
023 1.000000000000E+00 7.500000000000E-01 0.000000000000E+00
024 5.000000000000E-01 2.500000000000E-01 0.000000000000E+00
025 1.250000000000E-01 8.750000000000E-01 0.000000000000E+00
026 8.750000000000E-01 1.250000000000E-01 0.000000000000E+00
027 7.500000000000E-01 5.000000000000E-01 0.000000000000E+00
028 3.750000000000E-01 6.250000000000E-01 0.000000000000E+00
029 1.250000000000E-01 3.750000000000E-01 0.000000000000E+00
030 8.750000000000E-01 8.750000000000E-01 0.000000000000E+00
031 6.250000000000E-01 1.250000000000E-01 0.000000000000E+00
032 6.250000000000E-01 3.750000000000E-01 0.000000000000E+00
033 8.750000000000E-01 6.250000000000E-01 0.000000000000E+00
034 1.250000000000E-01 6.250000000000E-01 0.000000000000E+00
035 3.750000000000E-01 8.750000000000E-01 0.000000000000E+00
036 3.750000000000E-01 1.250000000000E-01 0.000000000000E+00
037 6.250000000000E-01 6.250000000000E-01 0.000000000000E+00
038 3.750000000000E-01 3.750000000000E-01 0.000000000000E+00
039 8.750000000000E-01 3.750000000000E-01 0.000000000000E+00
040 1.250000000000E-01 1.250000000000E-01 0.000000000000E+00
041 6.250000000000E-01 8.750000000000E-01 0.000000000000E+00
001 0 tri 24 10 31
002 0 tri 18 13 29
003 0 tri 27 12 33
004 0 tri 21 11 35
005 0 tri 27 6 39
006 0 tri 18 7 34
007 0 tri 21 8 41
008 0 tri 24 9 36
009 0 tri 14 10 26
010 0 tri 17 39 6
011 0 tri 19 11 25
012 0 tri 15 34 7
013 0 tri 23 12 30
014 0 tri 20 41 8
015 0 tri 22 13 40
016 0 tri 16 36 9
017 0 tri 14 31 10
018 0 tri 15 25 11
019 0 tri 16 40 13
020 0 tri 17 26 10
021 0 tri 18 5 38
022 0 tri 18 11 28
023 0 tri 19 35 11
024 0 tri 20 30 12
025 0 tri 21 28 11
026 0 tri 21 12 37
027 0 tri 22 29 13
028 0 tri 23 33 12
029 0 tri 24 5 32
030 0 tri 24 38 5
031 0 tri 19 25 4
032 0 tri 15 4 25
033 0 tri 14 26 2
034 0 tri 17 2 26
035 0 tri 27 37 12
036 0 tri 27 32 5
037 0 tri 18 28 5
038 0 tri 21 5 28
039 0 tri 18 29 7
040 0 tri 22 7 29
041 0 tri 23 30 3
042 0 tri 20 3 30
043 0 tri 24 31 9
044 0 tri 14 9 31
045 0 tri 24 32 10
046 0 tri 27 10 32
047 0 tri 27 33 6
048 0 tri 23 6 33
049 0 tri 18 34 11
050 0 tri 15 11 34
051 0 tri 21 35 8
052 0 tri 19 8 35
053 0 tri 24 36 13
054 0 tri 16 13 36
055 0 tri 21 37 5
056 0 tri 27 5 37
057 0 tri 18 38 13
058 0 tri 24 13 38
059 0 tri 27 39 10
060 0 tri 17 10 39
061 0 tri 22 40 1
062 0 tri 16 1 40
063 0 tri 21 41 12
064 0 tri 20 12 41
00004 1 1 1 1
imt1, integer
itp1, integer
icr1, integer
isn1, integer
0000000001 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000002 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000003 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000004 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000005 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000006 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000007 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000008 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000009 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000010 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000011 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000012 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000013 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000014 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000015 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000016 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000017 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000018 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000019 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000020 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000021 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000022 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000023 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
0000000024 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000025 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000026 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000027 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000028 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000029 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000030 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000031 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000032 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000033 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000034 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000035 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000036 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000037 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000038 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000039 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000040 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
0000000041 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00

View File

@@ -0,0 +1,6 @@
4 1 0 0 0
1 1 0 0
2 0 1 0
3 1 1 0
4 0 0 1
1 1 tet 1 2 3 4

View File

@@ -0,0 +1,22 @@
cmo/create/mo1///tet
createpts/xyz/11,11,11/0,0,0/10,10,10/1,1,1
connect
dump/stor/out_01/mo1/hybrid
cmo/addatt/mo1/hybrid_volume/hybrid
cmo/addatt/mo1/voronoi_volume/voronoi
cmo/addatt/mo1/volume/element_volume
math/sum/mo1/total_hybrid_volume/1 0 0/mo1/hybrid
math/sum/mo1/total_voronoi_volume/1 0 0/mo1/voronoi
math/sum/mo1/total_element_volume/1 0 0/mo1/element_volume
cmo/create/mo2///hex
createpts/brick/xyz/11,11,11/0,0,0/10,10,10/1,1,1
dump/stor/out_02/mo2/hybrid
read/input03.inp/mo3
dump/stor/out_03/mo3/hybrid
read/input04.inp/mo4
dump/stor/out_04/mo4/hybrid
dump/stor/out_04/mo4/nohybrid
dump/stor/out_05/mo1/none/hybrid
dump/stor/out_06/mo1/coefs/hybrid
dump/stor/out_07/mo1
finish

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,189 @@
fehmstor ascir8i4 LaGriT Sparse Matrix Voronoi Coefficients
Wed Jul 19 09:35:31 2017 2-D Linear Diffusion Model (matbld2d_stor)
249 41 291 1 9
7.812500000000E-03 7.812500000000E-03 7.812500000000E-03 7.812500000000E-03 3.125000000000E-02
1.562500000000E-02 1.562500000000E-02 1.562500000000E-02 1.562500000000E-02 3.125000000000E-02
3.125000000000E-02 3.125000000000E-02 3.125000000000E-02 1.562500000000E-02 1.562500000000E-02
1.562500000000E-02 1.562500000000E-02 3.125000000000E-02 1.562500000000E-02 1.562500000000E-02
3.125000000000E-02 1.562500000000E-02 1.562500000000E-02 3.125000000000E-02 3.125000000000E-02
3.125000000000E-02 3.125000000000E-02 3.125000000000E-02 3.125000000000E-02 3.125000000000E-02
3.125000000000E-02 3.125000000000E-02 3.125000000000E-02 3.125000000000E-02 3.125000000000E-02
3.125000000000E-02 3.125000000000E-02 3.125000000000E-02 3.125000000000E-02 3.125000000000E-02
3.125000000000E-02
42 46 50 54 58
67 73 79 85 91
100 109 118 127 133
139 145 151 160 166
172 181 187 193 202
207 212 221 226 231
236 241 246 251 256
261 266 271 276 281
286 291 1 16 22
40 2 14 17 26
3 20 23 30 4
15 19 25 5 18
21 24 27 28 32
37 38 6 17 23
27 33 39 7 15
18 22 29 34 8
19 20 21 35 41
9 14 16 24 31
36 10 14 17 24
26 27 31 32 39
11 15 18 19 21
25 28 34 35 12
20 21 23 27 30
33 37 41 13 16
18 22 24 29 36
38 40 2 9 10
14 26 31 4 7
11 15 25 34 1
9 13 16 36 40
2 6 10 17 26
39 5 7 11 13
18 28 29 34 38
4 8 11 19 25
35 3 8 12 20
30 41 5 8 11
12 21 28 35 37
41 1 7 13 22
29 40 3 6 12
23 30 33 5 9
10 13 24 31 32
36 38 4 11 15
19 25 2 10 14
17 26 5 6 10
12 27 32 33 37
39 5 11 18 21
28 7 13 18 22
29 3 12 20 23
30 9 10 14 24
31 5 10 24 27
32 6 12 23 27
33 7 11 15 18
34 8 11 19 21
35 9 13 16 24
36 5 12 21 27
37 5 13 18 24
38 6 10 17 27
39 1 13 16 22
40 8 12 20 21
41
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
26 27 28 29 30
31 32 33 34 35
36 37 38 39 40
41 42 43 44 45
46 47 48 49 50
51 52 53 54 55
56 57 58 59 60
61 62 63 64 65
66 67 68 69 70
71 72 73 74 75
76 77 78 79 80
81 82 83 84 85
86 87 88 89 90
91 92 93 94 95
96 97 98 99 100
101 102 103 104 105
106 107 108 109 110
111 112 113 114 115
116 117 118 119 120
121 122 123 124 125
126 127 128 129 130
131 132 133 134 135
136 137 138 139 140
141 142 143 144 145
146 147 148 149 150
151 152 153 154 155
156 157 158 159 160
161 162 163 164 165
166 167 168 169 170
171 172 173 174 175
176 177 178 179 180
181 182 183 184 185
186 187 188 189 190
191 192 193 194 195
196 197 198 199 200
201 202 203 204 205
206 207 208 209 210
211 212 213 214 215
216 217 218 219 220
221 222 223 224 225
226 227 228 229 230
231 232 233 234 235
236 237 238 239 240
241 242 243 244 245
246 247 248 249 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0
43 47 51 55 59
68 74 80 86 92
101 110 119 131 137
143 149 156 164 170
177 185 191 198 207
212 217 226 231 236
241 246 251 256 261
266 271 276 281 286
291
-0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00
-0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00 -0.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00 -1.000000000000E+00
-1.000000000000E+00 -1.000000000000E+00 -1.000000000000E+00 -0.000000000000E+00

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,463 @@
* * * * * * * * * * * * * * * * * * * * * * * * *
* * *
* * Program: LaGriT V3.330 Linux *
* * date_compile: 2021/10/15 test *
* * Run Time: 2021/Nov 4 15:42:09 *
* * Manual: http://lagrit.lanl.gov *
* * *
* * * * * * * * * * * * * * * * * * * * * * * * *
-----oOo-----
LaGriT V3 LA-CC-15-069 https://github.com/lanl/LaGriT
Copyright 2016. Triad National Security, LLC. All rights reserved. This
program was produced under U.S. Government contract 89233218CNA000001
for Los Alamos National Laboratory (LANL), which is operated by Triad
National Security, LLC for the U.S. Department of Energy/National Nuclear
Security Administration. All rights in the program are reserved by Triad
National Security, LLC, and the U.S. Department of Energy/National Nuclear
Security Administration. The Government is granted for itself and others
acting on its behalf a nonexclusive, paid-up, irrevocable worldwide license
in this material to reproduce, prepare derivative works, distribute copies
to the public, perform publicly and display publicly, and to permit others to
do so. This software is open source and available under the BSD-3 License.
-----oOo-----
Output log file: outx3dgen
Command log file: logx3dgen
# Hybrid control volume tests
# These tests verify the hybrid and nohybrid options of dump / fehm and dump /
# stor. They also test cmo / addatt / / hybrid_volume, which is closely related.
# Note: gmv read/write commented out to avoid binary files in testing
# Input files:
# input03.inp
# input04.inp
# input08.gmv
# input09.inp
# Output files:
# out_01.{gmv,stor}
# out_02.gmv
# out_03.gmv
# out_04.{gmv,stor}
# out_05.stor
# out_06.stor
# out_07.stor
# out_08.stor
# out_09.gmv
# out_09_{hybrid,nohybrid}.stor
# out_11.{gmv,stor}
# out_11_h.stor
# Verify that the sum of the Voronoi volumes, the sum of the hybrid volumes, and
# the sum of the element volumes are all the same.
cmo/create/mo1///tet
createpts/xyz/11,11,11/0,0,0/10,10,10/1,1,1
RZ GENERATED POINTS 1 TO 1331
connect
No materials associated with 1331 noninterface points.
Coordinates of enclosing tetrahedron are:
-0.20000D+02 -0.75000D+01 -0.75000D+01
0.50000D+01 -0.75000D+01 0.42500D+02
0.30000D+02 -0.75000D+01 -0.75000D+01
0.50000D+01 0.42500D+02 0.50000D+01
Candidate connections that may cross boundaries = 2494
Successfully eliminated all multimaterial connections.
The mesh is now complete!
LaGriT FINISH: connect
# dump / out_01.gmv / mo1
dump/stor/out_01/mo1/hybrid
*** Construct and Compress Sparse Matrix:3D ***
*** Compress Area Coefficient Values ***
AMatbld3d_stor: Matrix compress_eps: 0.1000000E-07
AMatbld3d_stor: Local epsilon: 0.1000000E-14
AMatbld3d_stor: Using hybrid median-Voronoi volumes
cmo/addatt/mo1/hybrid_factor/vdouble/scalar/nelements
finish
AMatbld3d_stor: *****Negative Coefficients ******
AMatbld3d_stor: Total Number of Negative Coefficients 1
AMatbld3d_stor: Number of Significant Negative Coefs 0
AMatbld3d_stor: Number of 'zero' (< 10e-8 *max) coefs 1
cmo/addatt/mo1/ccoef/VDOUBLE/scalar/nnodes/linear/permanent/afgx/0.0/
finish
cmo/addatt/mo1/ij_ccoef/VINT/scalar/nnodes/linear/permanent/afgx/0.0/
finish
AMatbld3d_stor: npoints = 1331 ncoefs = 8593
AMatbld3d_stor: Number of unique coefs = 4
AMatbld3d_stor: Maximum num. connections to a node = 8
AMatbld3d_stor: Volume min = 1.2500000E-01
AMatbld3d_stor: Volume max = 1.0000000E+00
AMatbld3d_stor: Total Volume: 1.0000000E+03
AMatbld3d_stor: abs(Aij/xij) min = 4.9065389E-18
AMatbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
AMatbld3d_stor: (Aij/xij) max = 4.9065389E-18
AMatbld3d_stor: (Aij/xij) min = -1.0000000E+00
AMatbld3d_stor Matrix coefficient values stored as scalar area/distance
AMatbld3d_stor Matrix compression used for graph and coefficient values
ascii STOR file written with name out_01.stor
*** SPARSE COEFFICIENT MATRIX _astor SUCCESSFUL ***
3D Matrix Coefficient file written with name out_01.stor
cmo/addatt/mo1/hybrid_volume/hybrid
ADDATT/hybrid_volume: creating new attribute: hybrid
AMatbld3d_stor: Matrix compress_eps: 0.1000000E-07
AMatbld3d_stor: Local epsilon: 0.1000000E-14
AMatbld3d_stor: Using hybrid median-Voronoi volumes
cmo/addatt/mo1/hybrid_factor/vdouble/scalar/nelements
CMO_ADDATT warning: attribute already exist: mo1 hybrid_factor
finish
AMatbld3d_stor: *****Negative Coefficients ******
AMatbld3d_stor: Total Number of Negative Coefficients 1
AMatbld3d_stor: Number of Significant Negative Coefs 0
AMatbld3d_stor: Number of 'zero' (< 10e-8 *max) coefs 1
AMatbld3d_stor: npoints = 1331 ncoefs = 8593
AMatbld3d_stor: Number of unique coefs = 4962
AMatbld3d_stor: Maximum num. connections to a node = 8
AMatbld3d_stor: Volume min = 1.2500000E-01
AMatbld3d_stor: Volume max = 1.0000000E+00
AMatbld3d_stor: Total Volume: 1.0000000E+03
AMatbld3d_stor: abs(Aij/xij) min = 0.0000000E+00
AMatbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
AMatbld3d_stor: (Aij/xij) max = 4.9065389E-18
AMatbld3d_stor: (Aij/xij) min = -1.0000000E+00
AMatbld3d_stor Matrix coefficient values stored as scalar area/distance
AMatbld3d_stor Matrix compression used for graph, not coefficient values
mo1 attribute with voronoi volumes created with name hybrid
*** SPARSE COEFFICIENT MATRIX _gstor SUCCESSFUL ***
3D Matrix Coefficient file written with name -notset-
cmo/addatt/mo1/voronoi_volume/voronoi
ADDATT/voronoi_volume: creating new attribute: voronoi
AMatbld3d_stor: Matrix compress_eps: 0.1000000E-07
AMatbld3d_stor: Local epsilon: 0.1000000E-14
AMatbld3d_stor: *****Negative Coefficients ******
AMatbld3d_stor: Total Number of Negative Coefficients 1
AMatbld3d_stor: Number of Significant Negative Coefs 0
AMatbld3d_stor: Number of 'zero' (< 10e-8 *max) coefs 1
AMatbld3d_stor: npoints = 1331 ncoefs = 8593
AMatbld3d_stor: Number of unique coefs = 4962
AMatbld3d_stor: Maximum num. connections to a node = 8
AMatbld3d_stor: Volume min = 1.2500000E-01
AMatbld3d_stor: Volume max = 1.0000000E+00
AMatbld3d_stor: Total Volume: 1.0000000E+03
AMatbld3d_stor: abs(Aij/xij) min = 0.0000000E+00
AMatbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
AMatbld3d_stor: (Aij/xij) max = 4.9065389E-18
AMatbld3d_stor: (Aij/xij) min = -1.0000000E+00
AMatbld3d_stor Matrix coefficient values stored as scalar area/distance
AMatbld3d_stor Matrix compression used for graph, not coefficient values
mo1 attribute with voronoi volumes created with name voronoi
*** SPARSE COEFFICIENT MATRIX _gstor SUCCESSFUL ***
3D Matrix Coefficient file written with name -notset-
cmo/addatt/mo1/volume/element_volume
ADDATT/volume: creating new attribute: element_volume
math/sum/mo1/total_hybrid_volume/1 0 0/mo1/hybrid
nodes in indexed point set = 1331
sink attribute being created: cmo = mo1 att = total_hybrid_volume
cmo/addatt/mo1/total_hybrid_volume/REAL/scalar/scalar/constant/permanent/
finish
1331 values summed from attribute hybrid
hybrid sum = 0.100000000000E+04
cmo select mo1
finish
math/sum/mo1/total_voronoi_volume/1 0 0/mo1/voronoi
nodes in indexed point set = 1331
sink attribute being created: cmo = mo1 att = total_voronoi_volume
cmo/addatt/mo1/total_voronoi_volume/REAL/scalar/scalar/constant/permanent/
finish
1331 values summed from attribute voronoi
voronoi sum = 0.100000000000E+04
cmo select mo1
finish
math/sum/mo1/total_element_volume/1 0 0/mo1/element_volume
sink attribute being created: cmo = mo1 att = total_element_volume
cmo/addatt/mo1/total_element_volume/REAL/scalar/scalar/constant/permanent/
finish
5826 values summed from attribute element_volume
element_volume sum = 0.100000000000E+04
cmo select mo1
finish
# Check that the code gives an error message when given a hex mesh instead of a
# tet mesh.
cmo/create/mo2///hex
createpts/brick/xyz/11,11,11/0,0,0/10,10,10/1,1,1
Number of nodes: 1331
Number of elements: 1000
Number of negative volume elements: 0
Total volume: 0.100000000000E+04
# dump / out_02.gmv / mo2
dump/stor/out_02/mo2/hybrid
*** DUMP/STOR Mesh object does not qualify for sparse matrix. ***
Mesh object has unsupported dimension: 3
cmo/status/mo2 brief
The current-mesh-object(CMO) is: mo2
2 Mesh Object name: mo2
number of nodes = 1331 number of elements = 1000
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = active
finish
*** DUMP/STOR Finished early, no stor file written! ***
# Check that it gives an error message if it gets a hybrid tet and hex mesh.
read/input03.inp/mo3
read/avs/input03.inp/mo3
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: mo3
1 Mesh Object name: mo1
number of nodes = 1331 number of elements = 5826
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: mo2
number of nodes = 1331 number of elements = 1000
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = inactive
3 Mesh Object name: mo3
number of nodes = 12 number of elements = 2
dimensions geometry = 3 element type = hyb
dimensions topology = 3 10 nodes 10 faces 12 edges
boundary flag = 16000000 status = active
finish
finish
# dump / out_03.gmv / mo3
dump/stor/out_03/mo3/hybrid
*** DUMP/STOR Mesh object does not qualify for sparse matrix. ***
Mesh object has unsupported dimension: 3
cmo/status/mo3 brief
The current-mesh-object(CMO) is: mo3
3 Mesh Object name: mo3
number of nodes = 12 number of elements = 2
dimensions geometry = 3 element type = hyb
dimensions topology = 3 10 nodes 10 faces 12 edges
boundary flag = 16000000 status = active
finish
*** DUMP/STOR Finished early, no stor file written! ***
# Check that it behaves alright if it gets a 2D (triangular) mesh. Actually
# right now if the 2D code (matbld2d_stor) is called, it mostly ignores any
# superfluous arguments passed to it, including "hybrid" and "nohybrid". Ideally
# it should check the arguments and complain about the ones that don't make
# sense.
read/input04.inp/mo4
read/avs/input04.inp/mo4
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: mo4
1 Mesh Object name: mo1
number of nodes = 1331 number of elements = 5826
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: mo2
number of nodes = 1331 number of elements = 1000
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = inactive
3 Mesh Object name: mo3
number of nodes = 12 number of elements = 2
dimensions geometry = 3 element type = hyb
dimensions topology = 3 10 nodes 10 faces 12 edges
boundary flag = 16000000 status = inactive
4 Mesh Object name: mo4
number of nodes = 41 number of elements = 64
dimensions geometry = 3 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
finish
finish
# dump / out_04.gmv / mo4
dump/stor/out_04/mo4/hybrid
***Construct Regular Sparse Matrix:2D***
------------
Matbldtri
Number of Nodes = 41
Max. Connection to a Node = 9
Number of Area Coefficients = 249
Minimum Voronoi area = 7.8125000E-03
Maximum Voronoi area = 3.1250000E-02
Minimum Voronoi edge length = 0.0000000E+00
Maximum Voronoi edge length = 1.0000000E+00
Total Voronoi area = 1.0000000E+00
Total Triangle area = 1.0000000E+00
Matbldtri writing FEHM stor format.
*** SPARSE COEFFICIENT MATRIX for 2D SUCCESSFUL ***
2D Matrix Coefficient file written with name out_04.stor
dump/stor/out_04/mo4/nohybrid
***Construct Regular Sparse Matrix:2D***
------------
Matbldtri
Number of Nodes = 41
Max. Connection to a Node = 9
Number of Area Coefficients = 249
Minimum Voronoi area = 7.8125000E-03
Maximum Voronoi area = 3.1250000E-02
Minimum Voronoi edge length = 0.0000000E+00
Maximum Voronoi edge length = 1.0000000E+00
Total Voronoi area = 1.0000000E+00
Total Triangle area = 1.0000000E+00
Matbldtri writing FEHM stor format.
*** SPARSE COEFFICIENT MATRIX for 2D SUCCESSFUL ***
2D Matrix Coefficient file written with name out_04.stor
# Check that it gives an error message if it is asked to do the hybrid option
# along with the "none" or "coefs" compression options.
dump/stor/out_05/mo1/none/hybrid
Warning: ignoring hybrid option because it is not supported in combination with
the other chosen options.
*** Construct Sparse Matrix:3D ***
Matbld3d_stor: npoints = 1331 n connections = 16843
Matbld3d_stor: Ave. num connections (ncoefs/npoints) = 12.6543951
Matbld3d_stor: Maximum num. connections to a node = 22
Matbld3d_stor: Volume min = 1.2500000E-01
Matbld3d_stor: Volume max = 1.0000000E+00
Matbld3d_stor: abs(Aij/xij) min = 0.0000000E+00
Matbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
Matbld3d_stor: Total Volume: 1.0000000E+03 1.0000000E+03 1.0000000E+03
Matbld3d_stor: mmgetblk itemp: 18175
Matbld3d_stor:mmgetblk imatptrs: 18175
Matbld3d_stor: Aij/xij min = -8.3411162E-17
Matbld3d_stor: Aij/xij max = 1.0000000E+00
Matbld3d_stor: total neg 1060 mincoef= -8.3411162E-17 maxcoef= 1.0000000E
+00
NegC: sort edge vor_coeff row_node
col_node
Total suspect coeffs: 0
Compression used for for none
The area coefficient values were written as scalar area/distance
ascii STOR file written with name out_05.stor
*** SPARSE COEFFICIENT MATRIX _nstor SUCCESSFUL ***
dump/stor/out_06/mo1/coefs/hybrid
Warning: ignoring hybrid option because it is not supported in combination with
the other chosen options.
*** Construct Sparse Matrix:3D ***
*** Compress Area Coefficient Values ***
Matbld3d_stor: npoints = 1331 n connections = 16843
Matbld3d_stor: Ave. num connections (ncoefs/npoints) = 12.6543951
Matbld3d_stor: Maximum num. connections to a node = 22
Matbld3d_stor: Volume min = 1.2500000E-01
Matbld3d_stor: Volume max = 1.0000000E+00
Matbld3d_stor: abs(Aij/xij) min = 0.0000000E+00
Matbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
Matbld3d_stor: Total Volume: 1.0000000E+03 1.0000000E+03 1.0000000E+03
Matbld3d_stor: mmgetblk itemp: 18175
Matbld3d_stor:mmgetblk imatptrs: 18175
Matbld3d_stor: Aij/xij min = -8.3411162E-17
Matbld3d_stor: Aij/xij max = 1.0000000E+00
Matbld3d_stor: total neg 1060 mincoef= -8.3411162E-17 maxcoef= 1.0000000E
+00
NegC: sort edge vor_coeff row_node
col_node
Total suspect coeffs: 0
Compression used for for coefficient values
The area coefficient values were written as scalar area/distance
ascii STOR file written with name out_06.stor
*** SPARSE COEFFICIENT MATRIX _cstor SUCCESSFUL ***
** MATBLD3D WARNING: **
Repeated calls with compressed coefs (_cstor)
may lead to errors in subsequent stor files.
# Make sure that with the nohybrid option (default), the results haven't changed
# from previous versions of LaGriT. Actually there should be slight numerical
# differences because the new code calculates area coefficients in a slightly
# different way.
dump/stor/out_07/mo1
*** Construct and Compress Sparse Matrix:3D ***
*** Compress Area Coefficient Values ***
AMatbld3d_stor: Matrix compress_eps: 0.1000000E-07
AMatbld3d_stor: Local epsilon: 0.1000000E-14
AMatbld3d_stor: *****Negative Coefficients ******
AMatbld3d_stor: Total Number of Negative Coefficients 1
AMatbld3d_stor: Number of Significant Negative Coefs 0
AMatbld3d_stor: Number of 'zero' (< 10e-8 *max) coefs 1
AMatbld3d_stor: npoints = 1331 ncoefs = 8593
AMatbld3d_stor: Number of unique coefs = 4
AMatbld3d_stor: Maximum num. connections to a node = 8
AMatbld3d_stor: Volume min = 1.2500000E-01
AMatbld3d_stor: Volume max = 1.0000000E+00
AMatbld3d_stor: Total Volume: 1.0000000E+03
AMatbld3d_stor: abs(Aij/xij) min = 4.9065389E-18
AMatbld3d_stor: abs(Aij/xij) max = 1.0000000E+00
AMatbld3d_stor: (Aij/xij) max = 4.9065389E-18
AMatbld3d_stor: (Aij/xij) min = -1.0000000E+00
AMatbld3d_stor Matrix coefficient values stored as scalar area/distance
AMatbld3d_stor Matrix compression used for graph and coefficient values
ascii STOR file written with name out_07.stor
*** SPARSE COEFFICIENT MATRIX _astor SUCCESSFUL ***
3D Matrix Coefficient file written with name out_07.stor
finish
LaGriT successfully completed