initial upload
This commit is contained in:
50
test/level01/io_agf_simple/input.lgi
Executable file
50
test/level01/io_agf_simple/input.lgi
Executable file
@@ -0,0 +1,50 @@
|
||||
* TEST dump/* (lagrit_input_dump)
|
||||
* dump and read AVS and GMV files
|
||||
* dump FEHM files
|
||||
* Note: gmv files commented out for multi-platform testing
|
||||
* For multi-platform you can read write in this test
|
||||
* but your binary files may not compare with reference files
|
||||
|
||||
read / avs / input_unit_tet.inp / cmo
|
||||
|
||||
* begin compare fehm
|
||||
|
||||
* write coordinate file only
|
||||
dump / coord / output_coord / cmo
|
||||
|
||||
* write material zone file only
|
||||
dump / zone_imt / output_imt / cmo
|
||||
|
||||
* write outside zone file only
|
||||
dump / zone_outside / output_out / cmo
|
||||
|
||||
* dump FEHM files
|
||||
* dump / fehm / outbin / cmo / binary / / scalar
|
||||
dump / fehm / outascii / cmo / ascii / / scalar
|
||||
cmo/printatt//-all-/minmax
|
||||
quality
|
||||
cmo/status/cmo
|
||||
* end compare fehm
|
||||
|
||||
* begin compare write AVS and GMV
|
||||
* dump AVS and GMV files
|
||||
* dump / gmv / output.gmv / cmo /
|
||||
* dump / gmv / output_ascii.gmv / cmo / ascii
|
||||
dump / avs / output.inp / cmo /
|
||||
* end compare here
|
||||
|
||||
* read write ascii binary
|
||||
* begin compare write AVS and GMV
|
||||
cmo delete cmo
|
||||
infile test_io.lgi
|
||||
* end compare here
|
||||
|
||||
finish
|
||||
|
||||
* This file has NaN that some compilers allow
|
||||
* begin acceptable failure for NaN
|
||||
read avs input_tet24.inp cmonan
|
||||
* end acceptable failure for NaN
|
||||
|
||||
|
||||
finish
|
||||
36
test/level01/io_agf_simple/input_unit_tet.inp
Executable file
36
test/level01/io_agf_simple/input_unit_tet.inp
Executable file
@@ -0,0 +1,36 @@
|
||||
0000000008 0000000005 0000000005 0000000000 0000000000
|
||||
0000000001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
0000000002 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
0000000003 0.000000000000E+00 1.000000000000E+00 0.000000000000E+00
|
||||
0000000004 1.000000000000E+00 1.000000000000E+00 0.000000000000E+00
|
||||
0000000005 0.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
0000000006 1.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
0000000007 0.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
0000000008 1.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
0000000001 1 tet 3 4 1 7
|
||||
0000000002 1 tet 8 4 7 6
|
||||
0000000003 1 tet 2 4 6 1
|
||||
0000000004 1 tet 5 7 1 6
|
||||
0000000005 1 tet 4 7 6 1
|
||||
00005 1 1 1 1 1
|
||||
-def-, no units
|
||||
imt1, no units
|
||||
itp1, no units
|
||||
icr1, no units
|
||||
isn1, no units
|
||||
0000000001 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000002 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000003 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000004 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000005 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000006 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000007 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000008 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
50
test/level01/io_agf_simple/reference/input.lgi
Executable file
50
test/level01/io_agf_simple/reference/input.lgi
Executable file
@@ -0,0 +1,50 @@
|
||||
* TEST dump/* (lagrit_input_dump)
|
||||
* dump and read AVS and GMV files
|
||||
* dump FEHM files
|
||||
* Note: gmv files commented out for multi-platform testing
|
||||
* For multi-platform you can read write in this test
|
||||
* but your binary files may not compare with reference files
|
||||
|
||||
read / avs / input_unit_tet.inp / cmo
|
||||
|
||||
* begin compare fehm
|
||||
|
||||
* write coordinate file only
|
||||
dump / coord / output_coord / cmo
|
||||
|
||||
* write material zone file only
|
||||
dump / zone_imt / output_imt / cmo
|
||||
|
||||
* write outside zone file only
|
||||
dump / zone_outside / output_out / cmo
|
||||
|
||||
* dump FEHM files
|
||||
* dump / fehm / outbin / cmo / binary / / scalar
|
||||
dump / fehm / outascii / cmo / ascii / / scalar
|
||||
cmo/printatt//-all-/minmax
|
||||
quality
|
||||
cmo/status/cmo
|
||||
* end compare fehm
|
||||
|
||||
* begin compare write AVS and GMV
|
||||
* dump AVS and GMV files
|
||||
* dump / gmv / output.gmv / cmo /
|
||||
* dump / gmv / output_ascii.gmv / cmo / ascii
|
||||
dump / avs / output.inp / cmo /
|
||||
* end compare here
|
||||
|
||||
* read write ascii binary
|
||||
* begin compare write AVS and GMV
|
||||
cmo delete cmo
|
||||
infile test_io.lgi
|
||||
* end compare here
|
||||
|
||||
finish
|
||||
|
||||
* This file has NaN that some compilers allow
|
||||
* begin acceptable failure for NaN
|
||||
read avs input_tet24.inp cmonan
|
||||
* end acceptable failure for NaN
|
||||
|
||||
|
||||
finish
|
||||
36
test/level01/io_agf_simple/reference/input_unit_tet.inp
Executable file
36
test/level01/io_agf_simple/reference/input_unit_tet.inp
Executable file
@@ -0,0 +1,36 @@
|
||||
0000000008 0000000005 0000000005 0000000000 0000000000
|
||||
0000000001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
0000000002 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
0000000003 0.000000000000E+00 1.000000000000E+00 0.000000000000E+00
|
||||
0000000004 1.000000000000E+00 1.000000000000E+00 0.000000000000E+00
|
||||
0000000005 0.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
0000000006 1.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
0000000007 0.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
0000000008 1.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
0000000001 1 tet 3 4 1 7
|
||||
0000000002 1 tet 8 4 7 6
|
||||
0000000003 1 tet 2 4 6 1
|
||||
0000000004 1 tet 5 7 1 6
|
||||
0000000005 1 tet 4 7 6 1
|
||||
00005 1 1 1 1 1
|
||||
-def-, no units
|
||||
imt1, no units
|
||||
itp1, no units
|
||||
icr1, no units
|
||||
isn1, no units
|
||||
0000000001 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000002 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000003 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000004 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000005 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000006 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000007 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
0000000008 0.000000000000E+00 1.000000000000E+00 1.000000000000E+01
|
||||
0.000000000000E+00 0.000000000000E+00
|
||||
33
test/level01/io_agf_simple/reference/logx3dgen
Normal file
33
test/level01/io_agf_simple/reference/logx3dgen
Normal file
@@ -0,0 +1,33 @@
|
||||
read/avs/input_unit_tet.inp/cmo
|
||||
dump/coord/output_coord/cmo
|
||||
dump/zone_imt/output_imt/cmo
|
||||
dump/zone_outside/output_out/cmo
|
||||
dump/fehm/outascii/cmo/ascii//scalar
|
||||
cmo/printatt//-all-/minmax
|
||||
quality
|
||||
cmo/status/cmo
|
||||
dump/avs/output.inp/cmo/
|
||||
cmo delete cmo
|
||||
infile test_io.lgi
|
||||
cmo/create/cmo///hex
|
||||
createpts/brick/xyz/3 3 3/0. 0. 0./1. 1. 1./1 1 1
|
||||
cmo/set_id/cmo/both/idnode idelem
|
||||
cmo/copyatt/cmo/cmo/itetclr/idelem
|
||||
cmo/copyatt/cmo/cmo/imt/idnode
|
||||
dump avs output_hex8_ascii.inp cmo ascii
|
||||
dump lagrit output_hex8_ascii.lagrit cmo ascii
|
||||
dump lagrit output_hex8_binary.lagrit cmo binary
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_ascii.lagrit cmo
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_ascii.lagrit cmo
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_binary.lagrit cmo
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_binary.lagrit cmo
|
||||
cmo delete cmo
|
||||
read/avs/output_hex8_ascii.inp/cmo
|
||||
cmo delete cmo
|
||||
read/avs/output_hex8_ascii.inp/cmo
|
||||
finish
|
||||
finish
|
||||
20
test/level01/io_agf_simple/reference/outascii.fehmn
Normal file
20
test/level01/io_agf_simple/reference/outascii.fehmn
Normal file
@@ -0,0 +1,20 @@
|
||||
coor
|
||||
8
|
||||
1 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
2 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
3 0.000000000000E+00 1.000000000000E+00 0.000000000000E+00
|
||||
4 1.000000000000E+00 1.000000000000E+00 0.000000000000E+00
|
||||
5 0.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
6 1.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
7 0.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
8 1.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
0
|
||||
elem
|
||||
4 5
|
||||
1 3 4 1 7
|
||||
2 8 4 7 6
|
||||
3 2 4 6 1
|
||||
4 5 7 1 6
|
||||
5 4 7 6 1
|
||||
|
||||
stop
|
||||
26
test/level01/io_agf_simple/reference/outascii.stor
Normal file
26
test/level01/io_agf_simple/reference/outascii.stor
Normal file
@@ -0,0 +1,26 @@
|
||||
fehmstor ascir8i4 LaGriT Sparse Matrix Voronoi Coefficients
|
||||
Mon Nov 8 16:12:09 20213-D Linear Diffusion Model (matbld3d_astor)
|
||||
2 8 41 1 4
|
||||
1.250000000000E-01 1.250000000000E-01 1.250000000000E-01 1.250000000000E-01 1.250000000000E-01
|
||||
1.250000000000E-01 1.250000000000E-01 1.250000000000E-01
|
||||
9 13 17 21 25
|
||||
29 33 37 41
|
||||
1 2 3 5 1
|
||||
2 4 6 1 3
|
||||
4 7 2 3 4
|
||||
8 1 5 6 7
|
||||
2 5 6 8 3
|
||||
5 7 8 4 6
|
||||
7 8
|
||||
2 1 1 1 1
|
||||
2 1 1 1 2
|
||||
1 1 1 1 2
|
||||
1 1 2 1 1
|
||||
1 1 2 1 1
|
||||
1 2 1 1 1
|
||||
1 2 0 0 0
|
||||
0 0 0 0 0
|
||||
0
|
||||
10 15 19 24 27
|
||||
32 36 41
|
||||
-2.500000000000E-01 0.000000000000E+00
|
||||
@@ -0,0 +1,7 @@
|
||||
zone
|
||||
00001
|
||||
nnum
|
||||
8
|
||||
1 2 3 4 5 6 7 8
|
||||
|
||||
stop
|
||||
27
test/level01/io_agf_simple/reference/outascii_outside.zone
Normal file
27
test/level01/io_agf_simple/reference/outascii_outside.zone
Normal file
@@ -0,0 +1,27 @@
|
||||
zone
|
||||
00001 top
|
||||
nnum
|
||||
4
|
||||
5 6 7 8
|
||||
00002 bottom
|
||||
nnum
|
||||
4
|
||||
1 2 3 4
|
||||
00003 left_w
|
||||
nnum
|
||||
4
|
||||
1 3 5 7
|
||||
00005 right_e
|
||||
nnum
|
||||
4
|
||||
2 4 6 8
|
||||
00006 back_n
|
||||
nnum
|
||||
4
|
||||
3 4 7 8
|
||||
00004 front_s
|
||||
nnum
|
||||
4
|
||||
1 2 5 6
|
||||
|
||||
stop
|
||||
@@ -0,0 +1,33 @@
|
||||
zone
|
||||
00001 top Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
-2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01
|
||||
-2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01
|
||||
00002 bottom Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
-2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01
|
||||
-2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01
|
||||
00003 left_w Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
-2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01
|
||||
-2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01
|
||||
00005 right_e Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01
|
||||
2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01
|
||||
00006 back_n Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
-2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01
|
||||
-2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01
|
||||
00004 front_s Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
-2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01
|
||||
-2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01
|
||||
|
||||
stop
|
||||
27
test/level01/io_agf_simple/reference/output.inp
Normal file
27
test/level01/io_agf_simple/reference/output.inp
Normal file
@@ -0,0 +1,27 @@
|
||||
8 5 4 0 0
|
||||
001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
002 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
003 0.000000000000E+00 1.000000000000E+00 0.000000000000E+00
|
||||
004 1.000000000000E+00 1.000000000000E+00 0.000000000000E+00
|
||||
005 0.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
006 1.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
007 0.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
008 1.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
001 1 tet 3 4 1 7
|
||||
002 1 tet 8 4 7 6
|
||||
003 1 tet 2 4 6 1
|
||||
004 1 tet 5 7 1 6
|
||||
005 1 tet 4 7 6 1
|
||||
00004 1 1 1 1
|
||||
imt1, integer
|
||||
itp1, integer
|
||||
icr1, integer
|
||||
isn1, integer
|
||||
1 1 10 0 0
|
||||
2 1 10 0 0
|
||||
3 1 10 0 0
|
||||
4 1 10 0 0
|
||||
5 1 10 0 0
|
||||
6 1 10 0 0
|
||||
7 1 10 0 0
|
||||
8 1 10 0 0
|
||||
20
test/level01/io_agf_simple/reference/output_coord.fehmn
Normal file
20
test/level01/io_agf_simple/reference/output_coord.fehmn
Normal file
@@ -0,0 +1,20 @@
|
||||
coor
|
||||
8
|
||||
1 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
2 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
3 0.000000000000E+00 1.000000000000E+00 0.000000000000E+00
|
||||
4 1.000000000000E+00 1.000000000000E+00 0.000000000000E+00
|
||||
5 0.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
6 1.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
7 0.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
8 1.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
0
|
||||
elem
|
||||
4 5
|
||||
1 3 4 1 7
|
||||
2 8 4 7 6
|
||||
3 2 4 6 1
|
||||
4 5 7 1 6
|
||||
5 4 7 6 1
|
||||
|
||||
stop
|
||||
79
test/level01/io_agf_simple/reference/output_hex8_ascii.inp
Normal file
79
test/level01/io_agf_simple/reference/output_hex8_ascii.inp
Normal file
@@ -0,0 +1,79 @@
|
||||
27 8 5 1 0
|
||||
001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
002 5.000000000000E-01 0.000000000000E+00 0.000000000000E+00
|
||||
003 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
004 0.000000000000E+00 5.000000000000E-01 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 1.000000000000E+00 0.000000000000E+00
|
||||
008 5.000000000000E-01 1.000000000000E+00 0.000000000000E+00
|
||||
009 1.000000000000E+00 1.000000000000E+00 0.000000000000E+00
|
||||
010 0.000000000000E+00 0.000000000000E+00 5.000000000000E-01
|
||||
011 5.000000000000E-01 0.000000000000E+00 5.000000000000E-01
|
||||
012 1.000000000000E+00 0.000000000000E+00 5.000000000000E-01
|
||||
013 0.000000000000E+00 5.000000000000E-01 5.000000000000E-01
|
||||
014 5.000000000000E-01 5.000000000000E-01 5.000000000000E-01
|
||||
015 1.000000000000E+00 5.000000000000E-01 5.000000000000E-01
|
||||
016 0.000000000000E+00 1.000000000000E+00 5.000000000000E-01
|
||||
017 5.000000000000E-01 1.000000000000E+00 5.000000000000E-01
|
||||
018 1.000000000000E+00 1.000000000000E+00 5.000000000000E-01
|
||||
019 0.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
020 5.000000000000E-01 0.000000000000E+00 1.000000000000E+00
|
||||
021 1.000000000000E+00 0.000000000000E+00 1.000000000000E+00
|
||||
022 0.000000000000E+00 5.000000000000E-01 1.000000000000E+00
|
||||
023 5.000000000000E-01 5.000000000000E-01 1.000000000000E+00
|
||||
024 1.000000000000E+00 5.000000000000E-01 1.000000000000E+00
|
||||
025 0.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
026 5.000000000000E-01 1.000000000000E+00 1.000000000000E+00
|
||||
027 1.000000000000E+00 1.000000000000E+00 1.000000000000E+00
|
||||
001 1 hex 10 11 14 13 1 2 5 4
|
||||
002 2 hex 11 12 15 14 2 3 6 5
|
||||
003 3 hex 13 14 17 16 4 5 8 7
|
||||
004 4 hex 14 15 18 17 5 6 9 8
|
||||
005 5 hex 19 20 23 22 10 11 14 13
|
||||
006 6 hex 20 21 24 23 11 12 15 14
|
||||
007 7 hex 22 23 26 25 13 14 17 16
|
||||
008 8 hex 23 24 27 26 14 15 18 17
|
||||
00005 1 1 1 1 1
|
||||
imt1, integer
|
||||
itp1, integer
|
||||
icr1, integer
|
||||
isn1, integer
|
||||
idnode, integer
|
||||
1 1 0 0 0 1
|
||||
2 2 0 0 0 2
|
||||
3 3 0 0 0 3
|
||||
4 4 0 0 0 4
|
||||
5 5 0 0 0 5
|
||||
6 6 0 0 0 6
|
||||
7 7 0 0 0 7
|
||||
8 8 0 0 0 8
|
||||
9 9 0 0 0 9
|
||||
10 10 0 0 0 10
|
||||
11 11 0 0 0 11
|
||||
12 12 0 0 0 12
|
||||
13 13 0 0 0 13
|
||||
14 14 0 0 0 14
|
||||
15 15 0 0 0 15
|
||||
16 16 0 0 0 16
|
||||
17 17 0 0 0 17
|
||||
18 18 0 0 0 18
|
||||
19 19 0 0 0 19
|
||||
20 20 0 0 0 20
|
||||
21 21 0 0 0 21
|
||||
22 22 0 0 0 22
|
||||
23 23 0 0 0 23
|
||||
24 24 0 0 0 24
|
||||
25 25 0 0 0 25
|
||||
26 26 0 0 0 26
|
||||
27 27 0 0 0 27
|
||||
00001 1
|
||||
idelem, integer
|
||||
1 1
|
||||
2 2
|
||||
3 3
|
||||
4 4
|
||||
5 5
|
||||
6 6
|
||||
7 7
|
||||
8 8
|
||||
500
test/level01/io_agf_simple/reference/output_hex8_ascii.lagrit
Normal file
500
test/level01/io_agf_simple/reference/output_hex8_ascii.lagrit
Normal file
@@ -0,0 +1,500 @@
|
||||
7
|
||||
ihcycle time monitor hextotet_remove_volume
|
||||
hextotet_check_imt hextotet_radavg hextotet_remove_duplicates
|
||||
1 2 1 3 3 3 3
|
||||
1 1 2 1 2 3 4
|
||||
2 1 4
|
||||
0 0 0 0
|
||||
0.00000000000000 0.00000000000000
|
||||
no no yes yes
|
||||
no no no no
|
||||
1 0 0 0 0 0 0 0 0
|
||||
-defaultgeom-
|
||||
0 0 0 0 0 0 0 0
|
||||
1 7 1 65 8
|
||||
cmo
|
||||
67
|
||||
-def-
|
||||
VDOUBLE scalar nnodes
|
||||
linear temporary x
|
||||
27 1
|
||||
0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00
|
||||
0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00
|
||||
0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00
|
||||
0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00
|
||||
0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00
|
||||
0.0000000000000E+00 0.0000000000000E+00
|
||||
0 0.0000000000000E+00 27 4
|
||||
scalar
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
1 0.0000000000000E+00 1 1
|
||||
vector
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
3 0.0000000000000E+00 1 1
|
||||
nnodes
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
27 0.0000000000000E+00 1 1
|
||||
nedges
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00 1 1
|
||||
nfaces
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00 1 1
|
||||
nelements
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
8 0.0000000000000E+00 1 1
|
||||
mbndry
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
16000000 0.0000000000000E+00 1 1
|
||||
ndimensions_topo
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
3 0.0000000000000E+00 1 1
|
||||
ndimensions_geom
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
3 0.0000000000000E+00 1 1
|
||||
nodes_per_element
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
8 0.0000000000000E+00 1 1
|
||||
edges_per_element
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
12 0.0000000000000E+00 1 1
|
||||
faces_per_element
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
6 0.0000000000000E+00 1 1
|
||||
isetwd
|
||||
VDOUBLE scalar nnodes
|
||||
or permanent l
|
||||
27 1
|
||||
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.0000000000000E+00 27 4
|
||||
ialias
|
||||
VINT scalar nnodes
|
||||
sequence permanent l
|
||||
27 1
|
||||
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.0000000000000E+00 27 4
|
||||
imt1
|
||||
VINT scalar nnodes
|
||||
max permanent gal
|
||||
27 1
|
||||
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
|
||||
0 0.0000000000000E+00 27 4
|
||||
itp1
|
||||
VINT scalar nnodes
|
||||
min permanent gal
|
||||
27 1
|
||||
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.0000000000000E+00 27 4
|
||||
icr1
|
||||
VINT scalar nnodes
|
||||
min permanent gal
|
||||
27 1
|
||||
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.0000000000000E+00 27 4
|
||||
isn1
|
||||
VINT scalar nnodes
|
||||
user permanent gal
|
||||
27 1
|
||||
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.0000000000000E+00 27 4
|
||||
xic
|
||||
VDOUBLE scalar nnodes
|
||||
linear permanent l
|
||||
27 1
|
||||
0.0000000000000E+00 0.5000000000000E+00 0.1000000000000E+01 0.0000000000000E+00 0.5000000000000E+00
|
||||
0.1000000000000E+01 0.0000000000000E+00 0.5000000000000E+00 0.1000000000000E+01 0.0000000000000E+00
|
||||
0.5000000000000E+00 0.1000000000000E+01 0.0000000000000E+00 0.5000000000000E+00 0.1000000000000E+01
|
||||
0.0000000000000E+00 0.5000000000000E+00 0.1000000000000E+01 0.0000000000000E+00 0.5000000000000E+00
|
||||
0.1000000000000E+01 0.0000000000000E+00 0.5000000000000E+00 0.1000000000000E+01 0.0000000000000E+00
|
||||
0.5000000000000E+00 0.1000000000000E+01
|
||||
0 0.0000000000000E+00 27 4
|
||||
yic
|
||||
VDOUBLE scalar nnodes
|
||||
linear permanent l
|
||||
27 1
|
||||
0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.5000000000000E+00 0.5000000000000E+00
|
||||
0.5000000000000E+00 0.1000000000000E+01 0.1000000000000E+01 0.1000000000000E+01 0.0000000000000E+00
|
||||
0.0000000000000E+00 0.0000000000000E+00 0.5000000000000E+00 0.5000000000000E+00 0.5000000000000E+00
|
||||
0.1000000000000E+01 0.1000000000000E+01 0.1000000000000E+01 0.0000000000000E+00 0.0000000000000E+00
|
||||
0.0000000000000E+00 0.5000000000000E+00 0.5000000000000E+00 0.5000000000000E+00 0.1000000000000E+01
|
||||
0.1000000000000E+01 0.1000000000000E+01
|
||||
0 0.0000000000000E+00 27 4
|
||||
zic
|
||||
VDOUBLE scalar nnodes
|
||||
linear permanent l
|
||||
27 1
|
||||
0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00
|
||||
0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.0000000000000E+00 0.5000000000000E+00
|
||||
0.5000000000000E+00 0.5000000000000E+00 0.5000000000000E+00 0.5000000000000E+00 0.5000000000000E+00
|
||||
0.5000000000000E+00 0.5000000000000E+00 0.5000000000000E+00 0.1000000000000E+01 0.1000000000000E+01
|
||||
0.1000000000000E+01 0.1000000000000E+01 0.1000000000000E+01 0.1000000000000E+01 0.1000000000000E+01
|
||||
0.1000000000000E+01 0.1000000000000E+01
|
||||
0 0.0000000000000E+00 27 4
|
||||
xtetwd
|
||||
VDOUBLE scalar nelements
|
||||
or permanent l
|
||||
8 1
|
||||
0 0 0 0 0
|
||||
0 0 0
|
||||
0 0.0000000000000E+00 8 4
|
||||
itetclr
|
||||
VINT scalar nelements
|
||||
user permanent l
|
||||
8 1
|
||||
1 2 3 4 5
|
||||
6 7 8
|
||||
0 0.0000000000000E+00 8 4
|
||||
itettyp
|
||||
VINT scalar nelements
|
||||
user permanent l
|
||||
8 1
|
||||
8 8 8 8 8
|
||||
8 8 8
|
||||
0 0.0000000000000E+00 8 4
|
||||
itetoff
|
||||
VINT scalar nelements
|
||||
user permanent l
|
||||
8 1
|
||||
0 8 16 24 32
|
||||
40 48 56
|
||||
0 0.0000000000000E+00 8 4
|
||||
jtetoff
|
||||
VINT scalar nelements
|
||||
user permanent l
|
||||
8 1
|
||||
0 6 12 18 24
|
||||
30 36 42
|
||||
0 0.0000000000000E+00 8 4
|
||||
itet
|
||||
VINT nodes_per_element nelements
|
||||
user permanent l
|
||||
8 8
|
||||
1 2 5 4 10
|
||||
11 14 13 2 3
|
||||
6 5 11 12 15
|
||||
14 4 5 8 7
|
||||
13 14 17 16 5
|
||||
6 9 8 14 15
|
||||
18 17 10 11 14
|
||||
13 19 20 23 22
|
||||
11 12 15 14 20
|
||||
21 24 23 13 14
|
||||
17 16 22 23 26
|
||||
25 14 15 18 17
|
||||
23 24 27 26
|
||||
0 0.0000000000000E+00 64 4
|
||||
jtet
|
||||
VINT faces_per_element nelements
|
||||
user permanent l
|
||||
8 6
|
||||
16000000 25 16000000 12 15
|
||||
16000000 16000000 31 16000000 16000000
|
||||
21 4 16000000 37 5
|
||||
24 16000000 16000000 16000000 43
|
||||
11 16000000 16000000 16 2
|
||||
16000000 16000000 36 39 16000000
|
||||
8 16000000 16000000 16000000 45
|
||||
28 14 16000000 29 48
|
||||
16000000 16000000 20 16000000 35
|
||||
16000000 16000000 40
|
||||
0 0.0000000000000E+00 48 4
|
||||
ipolydat
|
||||
CHARACTER scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00no 1 3
|
||||
vor2d
|
||||
CHARACTER scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00yes 1 3
|
||||
vor3d
|
||||
CHARACTER scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00no 1 3
|
||||
epsilon
|
||||
REAL scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.1000000003627E-14 1 2
|
||||
epsilonl
|
||||
REAL scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.3845925372767E-12 1 2
|
||||
epsilona
|
||||
REAL scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.6661338147751E-12 1 2
|
||||
epsilonv
|
||||
REAL scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.2220446049250E-12 1 2
|
||||
ipointi
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
1 0.0000000000000E+00 1 1
|
||||
ipointj
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
27 0.0000000000000E+00 1 1
|
||||
idebug
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00 1 1
|
||||
itypconv_sm
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
1 0.0000000000000E+00 1 1
|
||||
maxiter_sm
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
25 0.0000000000000E+00 1 1
|
||||
tolconv_sm
|
||||
REAL scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.1000000000000E+01 1 2
|
||||
nnfreq
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
1 0.0000000000000E+00 1 1
|
||||
ivoronoi
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
1 0.0000000000000E+00 1 1
|
||||
iopt2to2
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
2 0.0000000000000E+00 1 1
|
||||
dumptype
|
||||
CHARACTER scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00binary 1 3
|
||||
velname
|
||||
CHARACTER scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00vels 1 3
|
||||
densname
|
||||
CHARACTER scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00ric 1 3
|
||||
presname
|
||||
CHARACTER scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00pic 1 3
|
||||
enername
|
||||
CHARACTER scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00eic 1 3
|
||||
xmin
|
||||
REAL scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00 1 2
|
||||
ymin
|
||||
REAL scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00 1 2
|
||||
zmin
|
||||
REAL scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00 1 2
|
||||
xmax
|
||||
REAL scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.1000000000000E+01 1 2
|
||||
ymax
|
||||
REAL scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.1000000000000E+01 1 2
|
||||
zmax
|
||||
REAL scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.1000000000000E+01 1 2
|
||||
kdtree_level
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00 1 1
|
||||
max_number_sets
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
64 0.0000000000000E+00 1 1
|
||||
number_of_psets
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00 1 1
|
||||
number_of_eltsets
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00 1 1
|
||||
psetnames
|
||||
VCHAR scalar max_number_sets
|
||||
constant permanent l
|
||||
64 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
0 0.0000000000000E+00 64 4
|
||||
eltsetnames
|
||||
VCHAR scalar max_number_sets
|
||||
constant permanent l
|
||||
64 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
0 0.0000000000000E+00 64 4
|
||||
geom_name
|
||||
CHARACTER scalar max_number_sets
|
||||
constant permanent l
|
||||
64 1
|
||||
0 0.0000000000000E+00-defaultgeom- 1 3
|
||||
fsetnames
|
||||
VCHAR scalar max_number_sets
|
||||
constant permanent l
|
||||
64 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
0 0.0000000000000E+00 64 4
|
||||
number_of_fsets
|
||||
INT scalar scalar
|
||||
constant permanent l
|
||||
1 1
|
||||
0 0.0000000000000E+00 1 1
|
||||
idnode
|
||||
VINT scalar nnodes
|
||||
linear permanent agltn
|
||||
27 1
|
||||
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
|
||||
0 0.0000000000000E+00 27 4
|
||||
idelem
|
||||
VINT scalar nelements
|
||||
linear permanent agltn
|
||||
8 1
|
||||
1 2 3 4 5
|
||||
6 7 8
|
||||
0 0.0000000000000E+00 8 4
|
||||
BIN
test/level01/io_agf_simple/reference/output_hex8_binary.lagrit
Normal file
BIN
test/level01/io_agf_simple/reference/output_hex8_binary.lagrit
Normal file
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
zone
|
||||
00001
|
||||
nnum
|
||||
8
|
||||
1 2 3 4 5 6 7 8
|
||||
|
||||
stop
|
||||
27
test/level01/io_agf_simple/reference/output_out_outside.zone
Normal file
27
test/level01/io_agf_simple/reference/output_out_outside.zone
Normal file
@@ -0,0 +1,27 @@
|
||||
zone
|
||||
00001 top
|
||||
nnum
|
||||
4
|
||||
5 6 7 8
|
||||
00002 bottom
|
||||
nnum
|
||||
4
|
||||
1 2 3 4
|
||||
00003 left_w
|
||||
nnum
|
||||
4
|
||||
1 3 5 7
|
||||
00005 right_e
|
||||
nnum
|
||||
4
|
||||
2 4 6 8
|
||||
00006 back_n
|
||||
nnum
|
||||
4
|
||||
3 4 7 8
|
||||
00004 front_s
|
||||
nnum
|
||||
4
|
||||
1 2 5 6
|
||||
|
||||
stop
|
||||
@@ -0,0 +1,33 @@
|
||||
zone
|
||||
00001 top Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
-2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01
|
||||
-2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01
|
||||
00002 bottom Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
-2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01
|
||||
-2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01
|
||||
00003 left_w Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
-2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01
|
||||
-2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01
|
||||
00005 right_e Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01
|
||||
2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01
|
||||
00006 back_n Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
-2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01
|
||||
-2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 2.500000000000E-01
|
||||
00004 front_s Sum VORONOI vectors: 0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
nnum
|
||||
4
|
||||
-2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 -2.500000000000E-01
|
||||
-2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01 2.500000000000E-01 -2.500000000000E-01 2.500000000000E-01
|
||||
|
||||
stop
|
||||
477
test/level01/io_agf_simple/reference/outx3dgen
Normal file
477
test/level01/io_agf_simple/reference/outx3dgen
Normal file
@@ -0,0 +1,477 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.330 Linux *
|
||||
* * date_compile: 2021/10/15 test *
|
||||
* * Run Time: 2021/Nov 8 16:12: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
|
||||
|
||||
* TEST dump/* (lagrit_input_dump)
|
||||
* dump and read AVS and GMV files
|
||||
* dump FEHM files
|
||||
* Note: gmv files commented out for multi-platform testing
|
||||
* For multi-platform you can read write in this test
|
||||
* but your binary files may not compare with reference files
|
||||
read/avs/input_unit_tet.inp/cmo
|
||||
geniee
|
||||
finish
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: cmo
|
||||
|
||||
1 Mesh Object name: cmo
|
||||
number of nodes = 8 number of elements = 5
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
finish
|
||||
* begin compare fehm
|
||||
* write coordinate file only
|
||||
dump/coord/output_coord/cmo
|
||||
Writing FEHM coord/geom file: output_coord.fehm
|
||||
* write material zone file only
|
||||
dump/zone_imt/output_imt/cmo
|
||||
*********dump_material_lists********
|
||||
Minimum material ID value = 1
|
||||
Maximum material ID value = 1
|
||||
Total possible materials = 1
|
||||
Material 1 has 8 nodes. #nodes/nnodes is 1.00000000000
|
||||
* write outside zone file only
|
||||
dump/zone_outside/output_out/cmo
|
||||
*********dump_outside_list********
|
||||
Voronoi Areas used for outside faces.
|
||||
|
||||
assign_quadrant_id epsilon for zero: 1.0000000E-15
|
||||
cmo/addatt/cmo/top/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face top 1 has 4 nodes.
|
||||
top Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/addatt/cmo/bottom/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face bottom 2 has 4 nodes.
|
||||
bottom Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/addatt/cmo/left_w/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face left_w 3 has 4 nodes.
|
||||
left_w Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/addatt/cmo/right_e/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face right_e 5 has 4 nodes.
|
||||
right_e Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/addatt/cmo/back_n/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face back_n 6 has 4 nodes.
|
||||
back_n Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/addatt/cmo/front_s/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face front_s 4 has 4 nodes.
|
||||
front_s Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/DELATT//top
|
||||
finish
|
||||
cmo/DELATT//bottom
|
||||
finish
|
||||
cmo/DELATT//left_w
|
||||
finish
|
||||
cmo/DELATT//right_e
|
||||
finish
|
||||
cmo/DELATT//back_n
|
||||
finish
|
||||
cmo/DELATT//front_s
|
||||
finish
|
||||
* dump FEHM files
|
||||
* dump / fehm / outbin / cmo / binary / / scalar
|
||||
dump/fehm/outascii/cmo/ascii//scalar
|
||||
*** Write FEHMN GEOM AND ZONE FILES ***
|
||||
*********dump_material_lists********
|
||||
Minimum material ID value = 1
|
||||
Maximum material ID value = 1
|
||||
Total possible materials = 1
|
||||
Material 1 has 8 nodes. #nodes/nnodes is 1.00000000000
|
||||
*********dump_interface_list********
|
||||
*********dump_multi_material_list********
|
||||
log/tty/off
|
||||
finish
|
||||
*********dump_outside_list********
|
||||
Voronoi Areas used for outside faces.
|
||||
|
||||
assign_quadrant_id epsilon for zero: 1.0000000E-15
|
||||
cmo/addatt/cmo/top/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face top 1 has 4 nodes.
|
||||
top Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/addatt/cmo/bottom/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face bottom 2 has 4 nodes.
|
||||
bottom Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/addatt/cmo/left_w/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face left_w 3 has 4 nodes.
|
||||
left_w Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/addatt/cmo/right_e/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face right_e 5 has 4 nodes.
|
||||
right_e Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/addatt/cmo/back_n/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face back_n 6 has 4 nodes.
|
||||
back_n Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/addatt/cmo/front_s/vint/scalar/nnodes/linear/permanent/afgx/-5.0/
|
||||
finish
|
||||
Face front_s 4 has 4 nodes.
|
||||
front_s Sum Voronoi Area_x Area_y Area_z
|
||||
0.1000000E+01 0.1000000E+01 0.1000000E+01
|
||||
cmo/DELATT//top
|
||||
finish
|
||||
cmo/DELATT//bottom
|
||||
finish
|
||||
cmo/DELATT//left_w
|
||||
finish
|
||||
cmo/DELATT//right_e
|
||||
finish
|
||||
cmo/DELATT//back_n
|
||||
finish
|
||||
cmo/DELATT//front_s
|
||||
finish
|
||||
log/tty/on
|
||||
finish
|
||||
*********dump_parent_list********
|
||||
|
||||
*** 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: *****Zero Negative Coefficients ******
|
||||
AMatbld3d_stor: Number of 'zero' (< compress_eps) coefs 0
|
||||
AMatbld3d_stor: npoints = 8 ncoefs = 32
|
||||
AMatbld3d_stor: Number of unique coefs = 2
|
||||
AMatbld3d_stor: Maximum num. connections to a node = 4
|
||||
AMatbld3d_stor: Volume min = 1.2500000E-01
|
||||
AMatbld3d_stor: Volume max = 1.2500000E-01
|
||||
AMatbld3d_stor: Total Volume: 1.0000000E+00
|
||||
AMatbld3d_stor: abs(Aij/xij) min = 0.0000000E+00
|
||||
AMatbld3d_stor: abs(Aij/xij) max = 2.5000000E-01
|
||||
AMatbld3d_stor: (Aij/xij) max = 0.0000000E+00
|
||||
AMatbld3d_stor: (Aij/xij) min = -2.5000000E-01
|
||||
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 outascii.stor
|
||||
|
||||
*** SPARSE COEFFICIENT MATRIX _astor SUCCESSFUL ***
|
||||
|
||||
3D Matrix Coefficient file written with name outascii.stor
|
||||
|
||||
cmo/printatt//-all-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
-def- 0.000000000E+00 0.000000000E+00 0.000000000E+00 8
|
||||
scalar 1 1 0 1
|
||||
vector 3 3 0 1
|
||||
nnodes 8 8 0 1
|
||||
nedges 0 0 0 1
|
||||
nfaces 0 0 0 1
|
||||
nelements 5 5 0 1
|
||||
mbndry 16000000 16000000 0 1
|
||||
ndimensions_topo 3 3 0 1
|
||||
ndimensions_geom 3 3 0 1
|
||||
nodes_per_element 4 4 0 1
|
||||
edges_per_element 6 6 0 1
|
||||
faces_per_element 4 4 0 1
|
||||
isetwd 0 0 0 8
|
||||
ialias 0 0 0 8
|
||||
imt1 1 1 0 8
|
||||
itp1 10 10 0 8
|
||||
icr1 0 0 0 8
|
||||
isn1 0 0 0 8
|
||||
xic 0.000000000E+00 1.000000000E+00 1.000000000E+00 8
|
||||
yic 0.000000000E+00 1.000000000E+00 1.000000000E+00 8
|
||||
zic 0.000000000E+00 1.000000000E+00 1.000000000E+00 8
|
||||
xtetwd 0 0 0 5
|
||||
itetclr 1 1 0 5
|
||||
itettyp 5 5 0 5
|
||||
itetoff 0 16 16 5
|
||||
jtetoff 0 16 16 5
|
||||
itet 1 8 7 5x4
|
||||
jtet 1 16000000 15999999 5x4
|
||||
epsilon 1.000000004E-15 1.000000004E-15 0.000000000E+00 1
|
||||
epsilonl 3.845925373E-13 3.845925373E-13 0.000000000E+00 1
|
||||
epsilona 6.661338148E-13 6.661338148E-13 0.000000000E+00 1
|
||||
epsilonv 2.220446049E-13 2.220446049E-13 0.000000000E+00 1
|
||||
ipointi 1 1 0 1
|
||||
ipointj 8 8 0 1
|
||||
idebug 0 0 0 1
|
||||
itypconv_sm 1 1 0 1
|
||||
maxiter_sm 25 25 0 1
|
||||
tolconv_sm 1.000000000E+00 1.000000000E+00 0.000000000E+00 1
|
||||
nnfreq 1 1 0 1
|
||||
ivoronoi 1 1 0 1
|
||||
iopt2to2 2 2 0 1
|
||||
xmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
ymin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
zmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
xmax 1.000000000E+00 1.000000000E+00 0.000000000E+00 1
|
||||
ymax 1.000000000E+00 1.000000000E+00 0.000000000E+00 1
|
||||
zmax 1.000000000E+00 1.000000000E+00 0.000000000E+00 1
|
||||
kdtree_level 0 0 0 1
|
||||
max_number_sets 64 64 0 1
|
||||
number_of_psets 0 0 0 1
|
||||
number_of_eltsets 0 0 0 1
|
||||
number_of_fsets 0 0 0 1
|
||||
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 3.8459254E-13 5.6885628E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 5
|
||||
min aspect ratio = 0.7321E+00 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 2.2204460E-13
|
||||
---------------------------------------
|
||||
element volumes b/w 0.1667E+00 and 0.1914E+00: 4
|
||||
element volumes b/w 0.1914E+00 and 0.2199E+00: 0
|
||||
element volumes b/w 0.2199E+00 and 0.2526E+00: 0
|
||||
element volumes b/w 0.2526E+00 and 0.2902E+00: 0
|
||||
element volumes b/w 0.2902E+00 and 0.3333E+00: 1
|
||||
min volume = 1.6666667E-01 max volume = 3.3333333E-01
|
||||
-----------------------------------------------------------
|
||||
5 total elements evaluated.
|
||||
|
||||
cmo/status/cmo
|
||||
|
||||
The current-mesh-object(CMO) is: cmo
|
||||
|
||||
1 Mesh Object name: cmo
|
||||
number of nodes = 8 number of elements = 5
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
NAME TYPE RANK LENGTH INTER PERSI IO VALUE
|
||||
|
||||
1 -def- VDOU scalar nnodes linea tempo agl 0.000E+00
|
||||
2 scalar INT scalar scalar const perma l 1.000E+00
|
||||
3 vector INT scalar scalar const perma l 3.000E+00
|
||||
4 nnodes INT scalar scalar const perma l 8.000E+00
|
||||
5 nedges INT scalar scalar const perma l 0.000E+00
|
||||
6 nfaces INT scalar scalar const perma l 0.000E+00
|
||||
7 nelements INT scalar scalar const perma l 5.000E+00
|
||||
8 mbndry INT scalar scalar const perma l 1.600E+07
|
||||
9 ndimensions_top INT scalar scalar const perma l 3.000E+00
|
||||
10 ndimensions_geo INT scalar scalar const perma l 3.000E+00
|
||||
11 nodes_per_eleme INT scalar scalar const perma l 4.000E+00
|
||||
12 edges_per_eleme INT scalar scalar const perma l 6.000E+00
|
||||
13 faces_per_eleme INT scalar scalar const perma l 4.000E+00
|
||||
14 isetwd VDOU scalar nnodes or perma l 0.000E+00
|
||||
15 ialias VINT scalar nnodes seque perma l 0.000E+00
|
||||
16 imt1 VINT scalar nnodes max perma gal 0.000E+00
|
||||
17 itp1 VINT scalar nnodes min perma gal 0.000E+00
|
||||
18 icr1 VINT scalar nnodes min perma gal 0.000E+00
|
||||
19 isn1 VINT scalar nnodes user perma gal 0.000E+00
|
||||
20 xic VDOU scalar nnodes linea perma l 0.000E+00
|
||||
21 yic VDOU scalar nnodes linea perma l 0.000E+00
|
||||
22 zic VDOU scalar nnodes linea perma l 0.000E+00
|
||||
23 xtetwd VDOU scalar nelements or perma l 0.000E+00
|
||||
24 itetclr VINT scalar nelements user perma l 0.000E+00
|
||||
25 itettyp VINT scalar nelements user perma l 0.000E+00
|
||||
26 itetoff VINT scalar nelements user perma l 0.000E+00
|
||||
27 jtetoff VINT scalar nelements user perma l 0.000E+00
|
||||
28 itet VINT nodes_per_ nelements user perma l 0.000E+00
|
||||
29 jtet VINT faces_per_ nelements user perma l 0.000E+00
|
||||
30 ipolydat CHAR scalar scalar const perma l no
|
||||
31 vor2d CHAR scalar scalar const perma l yes
|
||||
32 vor3d CHAR scalar scalar const perma l no
|
||||
33 epsilon REAL scalar scalar const perma l 1.000E-15
|
||||
34 epsilonl REAL scalar scalar const perma l 3.846E-13
|
||||
35 epsilona REAL scalar scalar const perma l 6.661E-13
|
||||
36 epsilonv REAL scalar scalar const perma l 2.220E-13
|
||||
37 ipointi INT scalar scalar const perma l 1.000E+00
|
||||
38 ipointj INT scalar scalar const perma l 8.000E+00
|
||||
39 idebug INT scalar scalar const perma l 0.000E+00
|
||||
40 itypconv_sm INT scalar scalar const perma l 1.000E+00
|
||||
41 maxiter_sm INT scalar scalar const perma l 2.500E+01
|
||||
42 tolconv_sm REAL scalar scalar const perma l 1.000E+00
|
||||
43 nnfreq INT scalar scalar const perma l 1.000E+00
|
||||
44 ivoronoi INT scalar scalar const perma l 1.000E+00
|
||||
45 iopt2to2 INT scalar scalar const perma l 2.000E+00
|
||||
46 dumptype CHAR scalar scalar const perma l binary
|
||||
47 velname CHAR scalar scalar const perma l vels
|
||||
48 densname CHAR scalar scalar const perma l ric
|
||||
49 presname CHAR scalar scalar const perma l pic
|
||||
50 enername CHAR scalar scalar const perma l eic
|
||||
51 xmin REAL scalar scalar const perma l 0.000E+00
|
||||
52 ymin REAL scalar scalar const perma l 0.000E+00
|
||||
53 zmin REAL scalar scalar const perma l 0.000E+00
|
||||
54 xmax REAL scalar scalar const perma l 1.000E+00
|
||||
55 ymax REAL scalar scalar const perma l 1.000E+00
|
||||
56 zmax REAL scalar scalar const perma l 1.000E+00
|
||||
57 kdtree_level INT scalar scalar const perma l 0.000E+00
|
||||
58 max_number_sets INT scalar scalar const perma l 6.400E+01
|
||||
59 number_of_psets INT scalar scalar const perma l 0.000E+00
|
||||
60 number_of_eltse INT scalar scalar const perma l 0.000E+00
|
||||
61 psetnames VCHA scalar max_number_sets const perma l
|
||||
62 eltsetnames VCHA scalar max_number_sets const perma l
|
||||
63 geom_name CHAR scalar max_number_sets const perma l -defaultge
|
||||
64 fsetnames VCHA scalar max_number_sets const perma l
|
||||
65 number_of_fsets INT scalar scalar const perma l 0.000E+00
|
||||
* end compare fehm
|
||||
* begin compare write AVS and GMV
|
||||
* dump AVS and GMV files
|
||||
* dump / gmv / output.gmv / cmo /
|
||||
* dump / gmv / output_ascii.gmv / cmo / ascii
|
||||
dump/avs/output.inp/cmo/
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
* end compare here
|
||||
* read write ascii binary
|
||||
* begin compare write AVS and GMV
|
||||
cmo delete cmo
|
||||
Released Mesh Object: cmo
|
||||
infile test_io.lgi
|
||||
* TEST dump/* read/* binary and ascii
|
||||
*****
|
||||
* dump and read AVS and lagrit files
|
||||
*
|
||||
cmo/create/cmo///hex
|
||||
createpts/brick/xyz/3 3 3/0. 0. 0./1. 1. 1./1 1 1
|
||||
Number of nodes: 27
|
||||
Number of elements: 8
|
||||
Number of negative volume elements: 0
|
||||
Total volume: 0.100000000000E+01
|
||||
cmo/set_id/cmo/both/idnode idelem
|
||||
cmo/addatt/cmo idnode/VINT/scalar/nnodes/linear/permanent//0
|
||||
finish
|
||||
cmo/addatt/cmo idelem/VINT/scalar/nelements/linear/permanent//0
|
||||
finish
|
||||
cmo/copyatt/cmo/cmo/itetclr/idelem
|
||||
8 copied from cmo idelem to -> cmo itetclr
|
||||
|
||||
cmo/copyatt/cmo/cmo/imt/idnode
|
||||
27 copied from cmo idnode to -> cmo imt1
|
||||
|
||||
dump avs output_hex8_ascii.inp cmo ascii
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
dump lagrit output_hex8_ascii.lagrit cmo ascii
|
||||
dump lagrit output_hex8_binary.lagrit cmo binary
|
||||
**********************
|
||||
* read lagrit ascii twice
|
||||
cmo delete cmo
|
||||
Released Mesh Object: cmo
|
||||
read lagrit output_hex8_ascii.lagrit cmo
|
||||
cmo/addatt/cmo/idnode/VINT/scalar/nnodes/linear/permanent/agltn
|
||||
finish
|
||||
cmo/addatt/cmo/idelem/VINT/scalar/nelements/linear/permanent/agltn
|
||||
finish
|
||||
cmo delete cmo
|
||||
Released Mesh Object: cmo
|
||||
read lagrit output_hex8_ascii.lagrit cmo
|
||||
cmo/addatt/cmo/idnode/VINT/scalar/nnodes/linear/permanent/agltn
|
||||
finish
|
||||
cmo/addatt/cmo/idelem/VINT/scalar/nelements/linear/permanent/agltn
|
||||
finish
|
||||
**********************
|
||||
* read lagrit binary twice
|
||||
cmo delete cmo
|
||||
Released Mesh Object: cmo
|
||||
read lagrit output_hex8_binary.lagrit cmo
|
||||
ascii read failed - will try binary
|
||||
cmo/addatt/cmo/idnode/VINT/scalar/nnodes/linear/permanent/agltn
|
||||
finish
|
||||
cmo/addatt/cmo/idelem/VINT/scalar/nelements/linear/permanent/agltn
|
||||
finish
|
||||
cmo delete cmo
|
||||
Released Mesh Object: cmo
|
||||
read lagrit output_hex8_binary.lagrit cmo
|
||||
ascii read failed - will try binary
|
||||
cmo/addatt/cmo/idnode/VINT/scalar/nnodes/linear/permanent/agltn
|
||||
finish
|
||||
cmo/addatt/cmo/idelem/VINT/scalar/nelements/linear/permanent/agltn
|
||||
finish
|
||||
**********************
|
||||
* read avs ascii twice
|
||||
cmo delete cmo
|
||||
Released Mesh Object: cmo
|
||||
read/avs/output_hex8_ascii.inp/cmo
|
||||
cmo/addatt/cmo/idnode/VINT/scalar/nnodes/linear/permanent/gxaf/0.0
|
||||
finish
|
||||
cmo/addatt/cmo/idelem/VINT/scalar/nelements/linear/permanent/gxaf/0.0
|
||||
finish
|
||||
geniee
|
||||
finish
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: cmo
|
||||
|
||||
1 Mesh Object name: cmo
|
||||
number of nodes = 27 number of elements = 8
|
||||
dimensions geometry = 3 element type = hex
|
||||
dimensions topology = 3 8 nodes 6 faces 12 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
finish
|
||||
cmo delete cmo
|
||||
Released Mesh Object: cmo
|
||||
read/avs/output_hex8_ascii.inp/cmo
|
||||
cmo/addatt/cmo/idnode/VINT/scalar/nnodes/linear/permanent/gxaf/0.0
|
||||
finish
|
||||
cmo/addatt/cmo/idelem/VINT/scalar/nelements/linear/permanent/gxaf/0.0
|
||||
finish
|
||||
geniee
|
||||
finish
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: cmo
|
||||
|
||||
1 Mesh Object name: cmo
|
||||
number of nodes = 27 number of elements = 8
|
||||
dimensions geometry = 3 element type = hex
|
||||
dimensions topology = 3 8 nodes 6 faces 12 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
finish
|
||||
finish
|
||||
* end compare here
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
36
test/level01/io_agf_simple/reference/test_io.lgi
Executable file
36
test/level01/io_agf_simple/reference/test_io.lgi
Executable file
@@ -0,0 +1,36 @@
|
||||
* TEST dump/* read/* binary and ascii
|
||||
*****
|
||||
* dump and read AVS and lagrit files
|
||||
*
|
||||
cmo/create/cmo///hex
|
||||
createpts/brick/xyz/3 3 3/0. 0. 0./1. 1. 1./1 1 1
|
||||
cmo/set_id/cmo/both/idnode idelem
|
||||
cmo/copyatt/cmo/cmo/itetclr/idelem
|
||||
cmo/copyatt/cmo/cmo/imt/idnode
|
||||
|
||||
dump avs output_hex8_ascii.inp cmo ascii
|
||||
dump lagrit output_hex8_ascii.lagrit cmo ascii
|
||||
dump lagrit output_hex8_binary.lagrit cmo binary
|
||||
|
||||
**********************
|
||||
* read lagrit ascii twice
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_ascii.lagrit cmo
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_ascii.lagrit cmo
|
||||
**********************
|
||||
* read lagrit binary twice
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_binary.lagrit cmo
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_binary.lagrit cmo
|
||||
|
||||
**********************
|
||||
* read avs ascii twice
|
||||
cmo delete cmo
|
||||
read / avs / output_hex8_ascii.inp / cmo
|
||||
cmo delete cmo
|
||||
read / avs / output_hex8_ascii.inp / cmo
|
||||
|
||||
finish
|
||||
|
||||
36
test/level01/io_agf_simple/test_io.lgi
Executable file
36
test/level01/io_agf_simple/test_io.lgi
Executable file
@@ -0,0 +1,36 @@
|
||||
* TEST dump/* read/* binary and ascii
|
||||
*****
|
||||
* dump and read AVS and lagrit files
|
||||
*
|
||||
cmo/create/cmo///hex
|
||||
createpts/brick/xyz/3 3 3/0. 0. 0./1. 1. 1./1 1 1
|
||||
cmo/set_id/cmo/both/idnode idelem
|
||||
cmo/copyatt/cmo/cmo/itetclr/idelem
|
||||
cmo/copyatt/cmo/cmo/imt/idnode
|
||||
|
||||
dump avs output_hex8_ascii.inp cmo ascii
|
||||
dump lagrit output_hex8_ascii.lagrit cmo ascii
|
||||
dump lagrit output_hex8_binary.lagrit cmo binary
|
||||
|
||||
**********************
|
||||
* read lagrit ascii twice
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_ascii.lagrit cmo
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_ascii.lagrit cmo
|
||||
**********************
|
||||
* read lagrit binary twice
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_binary.lagrit cmo
|
||||
cmo delete cmo
|
||||
read lagrit output_hex8_binary.lagrit cmo
|
||||
|
||||
**********************
|
||||
* read avs ascii twice
|
||||
cmo delete cmo
|
||||
read / avs / output_hex8_ascii.inp / cmo
|
||||
cmo delete cmo
|
||||
read / avs / output_hex8_ascii.inp / cmo
|
||||
|
||||
finish
|
||||
|
||||
Reference in New Issue
Block a user