initial upload
This commit is contained in:
21
test/level01/single_triangle/input.lgi
Executable file
21
test/level01/single_triangle/input.lgi
Executable file
@@ -0,0 +1,21 @@
|
||||
# Test triangulate
|
||||
# Verify that a 4-node mesh can be triangulated
|
||||
|
||||
cmo/create/mo1///triplane
|
||||
read/avs/input_mesh_4.inp/mo1
|
||||
triangulate/clockwise
|
||||
dump/output_mesh_4.inp/mo1
|
||||
quality
|
||||
|
||||
# Test that a 3-node mesh can be triangulated
|
||||
cmo/create/mo2///triplane
|
||||
read/avs/input_mesh_3.inp/mo2
|
||||
triangulate/clockwise
|
||||
dump/output_mesh_3.inp/mo2
|
||||
quality
|
||||
|
||||
cmo/status/mo1
|
||||
cmo/status/mo2
|
||||
|
||||
finish
|
||||
|
||||
4
test/level01/single_triangle/input_mesh_3.inp
Executable file
4
test/level01/single_triangle/input_mesh_3.inp
Executable file
@@ -0,0 +1,4 @@
|
||||
3 0 0 0 0
|
||||
001 0.0 0.00 0.0
|
||||
002 1.0 0.00 0.0
|
||||
003 0.5 0.75 0.0
|
||||
5
test/level01/single_triangle/input_mesh_4.inp
Executable file
5
test/level01/single_triangle/input_mesh_4.inp
Executable file
@@ -0,0 +1,5 @@
|
||||
4 0 0 0 0
|
||||
001 0.0 0.00 0.0
|
||||
002 1.0 0.00 0.0
|
||||
003 0.5 0.75 0.0
|
||||
004 0.5 -0.75 0.0
|
||||
21
test/level01/single_triangle/reference/input.lgi
Executable file
21
test/level01/single_triangle/reference/input.lgi
Executable file
@@ -0,0 +1,21 @@
|
||||
# Test triangulate
|
||||
# Verify that a 4-node mesh can be triangulated
|
||||
|
||||
cmo/create/mo1///triplane
|
||||
read/avs/input_mesh_4.inp/mo1
|
||||
triangulate/clockwise
|
||||
dump/output_mesh_4.inp/mo1
|
||||
quality
|
||||
|
||||
# Test that a 3-node mesh can be triangulated
|
||||
cmo/create/mo2///triplane
|
||||
read/avs/input_mesh_3.inp/mo2
|
||||
triangulate/clockwise
|
||||
dump/output_mesh_3.inp/mo2
|
||||
quality
|
||||
|
||||
cmo/status/mo1
|
||||
cmo/status/mo2
|
||||
|
||||
finish
|
||||
|
||||
4
test/level01/single_triangle/reference/input_mesh_3.inp
Executable file
4
test/level01/single_triangle/reference/input_mesh_3.inp
Executable file
@@ -0,0 +1,4 @@
|
||||
3 0 0 0 0
|
||||
001 0.0 0.00 0.0
|
||||
002 1.0 0.00 0.0
|
||||
003 0.5 0.75 0.0
|
||||
5
test/level01/single_triangle/reference/input_mesh_4.inp
Executable file
5
test/level01/single_triangle/reference/input_mesh_4.inp
Executable file
@@ -0,0 +1,5 @@
|
||||
4 0 0 0 0
|
||||
001 0.0 0.00 0.0
|
||||
002 1.0 0.00 0.0
|
||||
003 0.5 0.75 0.0
|
||||
004 0.5 -0.75 0.0
|
||||
13
test/level01/single_triangle/reference/logx3dgen
Normal file
13
test/level01/single_triangle/reference/logx3dgen
Normal file
@@ -0,0 +1,13 @@
|
||||
cmo/create/mo1///triplane
|
||||
read/avs/input_mesh_4.inp/mo1
|
||||
triangulate/clockwise
|
||||
dump/output_mesh_4.inp/mo1
|
||||
quality
|
||||
cmo/create/mo2///triplane
|
||||
read/avs/input_mesh_3.inp/mo2
|
||||
triangulate/clockwise
|
||||
dump/output_mesh_3.inp/mo2
|
||||
quality
|
||||
cmo/status/mo1
|
||||
cmo/status/mo2
|
||||
finish
|
||||
13
test/level01/single_triangle/reference/output_mesh_3.inp
Normal file
13
test/level01/single_triangle/reference/output_mesh_3.inp
Normal file
@@ -0,0 +1,13 @@
|
||||
3 1 4 0 0
|
||||
001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
002 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
003 5.000000000000E-01 7.500000000000E-01 0.000000000000E+00
|
||||
001 0 tri 3 1 2
|
||||
00004 1 1 1 1
|
||||
imt1, integer
|
||||
itp1, integer
|
||||
icr1, integer
|
||||
isn1, integer
|
||||
1 0 10 0 0
|
||||
2 0 10 0 0
|
||||
3 0 10 0 0
|
||||
16
test/level01/single_triangle/reference/output_mesh_4.inp
Normal file
16
test/level01/single_triangle/reference/output_mesh_4.inp
Normal file
@@ -0,0 +1,16 @@
|
||||
4 2 4 0 0
|
||||
001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
002 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
003 5.000000000000E-01 7.500000000000E-01 0.000000000000E+00
|
||||
004 5.000000000000E-01 -7.500000000000E-01 0.000000000000E+00
|
||||
001 0 tri 2 3 4
|
||||
002 0 tri 1 2 4
|
||||
00004 1 1 1 1
|
||||
imt1, integer
|
||||
itp1, integer
|
||||
icr1, integer
|
||||
isn1, integer
|
||||
1 0 10 0 0
|
||||
2 0 10 0 0
|
||||
3 0 10 0 0
|
||||
4 0 10 0 0
|
||||
301
test/level01/single_triangle/reference/outx3dgen
Normal file
301
test/level01/single_triangle/reference/outx3dgen
Normal file
@@ -0,0 +1,301 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.3.3 Linux *
|
||||
* * Date Compile: 2023/12/20 *
|
||||
* * Run Time: 2023/Dec 20 13:23:42 *
|
||||
* * Manual: https://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 triangulate
|
||||
# Verify that a 4-node mesh can be triangulated
|
||||
cmo/create/mo1///triplane
|
||||
read/avs/input_mesh_4.inp/mo1
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: mo1
|
||||
|
||||
1 Mesh Object name: mo1
|
||||
number of nodes = 4 number of elements = 0
|
||||
dimensions geometry = 2 element type = tri
|
||||
dimensions topology = 2 3 nodes 3 faces 3 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
finish
|
||||
triangulate/clockwise
|
||||
TRIANGULATE: Number of triangle cells = 2
|
||||
filter/1,0,0
|
||||
FILTER:Use internal epsilonl value = 0.400296604249E-12
|
||||
FILTER:Dudding duplicate points: 0
|
||||
finish
|
||||
rmpoint/compress
|
||||
0 points removed and 0 elements removed.
|
||||
RMPOINT: new point count is 4
|
||||
RMPOINT: new element count is 2
|
||||
finish
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
finish
|
||||
dump/output_mesh_4.inp/mo1
|
||||
dump/avs/output_mesh_4.inp/mo1
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 4.0029660E-13 6.4142476E-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. : 2
|
||||
min aspect ratio = 0.5590E+00 max aspect ratio = 0.9880E+00
|
||||
|
||||
epsilonvol: 7.2164497E-13
|
||||
---------------------------------------
|
||||
All elements have volume 3.7500000E-01
|
||||
-----------------------------------------------------------
|
||||
2 total elements evaluated.
|
||||
|
||||
# Test that a 3-node mesh can be triangulated
|
||||
cmo/create/mo2///triplane
|
||||
read/avs/input_mesh_3.inp/mo2
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: mo2
|
||||
|
||||
1 Mesh Object name: mo1
|
||||
number of nodes = 4 number of elements = 2
|
||||
dimensions geometry = 2 element type = tri
|
||||
dimensions topology = 2 3 nodes 3 faces 3 edges
|
||||
boundary flag = 16000000 status = inactive
|
||||
|
||||
2 Mesh Object name: mo2
|
||||
number of nodes = 3 number of elements = 0
|
||||
dimensions geometry = 2 element type = tri
|
||||
dimensions topology = 2 3 nodes 3 faces 3 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
finish
|
||||
triangulate/clockwise
|
||||
TRIANGULATE: Number of triangle cells = 1
|
||||
filter/1,0,0
|
||||
FILTER:Use internal epsilonl value = 0.277555756156E-12
|
||||
FILTER:Dudding duplicate points: 0
|
||||
finish
|
||||
rmpoint/compress
|
||||
0 points removed and 0 elements removed.
|
||||
RMPOINT: new point count is 3
|
||||
RMPOINT: new element count is 1
|
||||
finish
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
finish
|
||||
dump/output_mesh_3.inp/mo2
|
||||
dump/avs/output_mesh_3.inp/mo2
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 2.7755576E-13 2.1382118E-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. : 1
|
||||
min aspect ratio = 0.9880E+00 max aspect ratio = 0.9880E+00
|
||||
|
||||
epsilonvol: 3.4694470E-13
|
||||
---------------------------------------
|
||||
All elements have volume 3.7500000E-01
|
||||
-----------------------------------------------------------
|
||||
1 total elements evaluated.
|
||||
|
||||
cmo/status/mo1
|
||||
|
||||
The current-mesh-object(CMO) is: mo2
|
||||
|
||||
1 Mesh Object name: mo1
|
||||
number of nodes = 4 number of elements = 2
|
||||
dimensions geometry = 2 element type = tri
|
||||
dimensions topology = 2 3 nodes 3 faces 3 edges
|
||||
boundary flag = 16000000 status = inactive
|
||||
|
||||
NAME TYPE RANK LENGTH INTER PERSI IO VALUE
|
||||
|
||||
1 -def- VDOU scalar nnodes linea tempo x 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 4.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 2.000E+00
|
||||
8 mbndry INT scalar scalar const perma l 1.600E+07
|
||||
9 ndimensions_top INT scalar scalar const perma l 2.000E+00
|
||||
10 ndimensions_geo INT scalar scalar const perma l 2.000E+00
|
||||
11 nodes_per_eleme INT scalar scalar const perma l 3.000E+00
|
||||
12 edges_per_eleme INT scalar scalar const perma l 3.000E+00
|
||||
13 faces_per_eleme INT scalar scalar const perma l 3.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 4.003E-13
|
||||
35 epsilona REAL scalar scalar const perma l 7.216E-13
|
||||
36 epsilonv REAL scalar scalar const perma l 7.216E-13
|
||||
37 ipointi INT scalar scalar const perma l 1.000E+00
|
||||
38 ipointj INT scalar scalar const perma l 4.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 -7.500E-01
|
||||
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 7.500E-01
|
||||
56 zmax REAL scalar scalar const perma l 0.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
|
||||
cmo/status/mo2
|
||||
|
||||
The current-mesh-object(CMO) is: mo2
|
||||
|
||||
2 Mesh Object name: mo2
|
||||
number of nodes = 3 number of elements = 1
|
||||
dimensions geometry = 2 element type = tri
|
||||
dimensions topology = 2 3 nodes 3 faces 3 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
NAME TYPE RANK LENGTH INTER PERSI IO VALUE
|
||||
|
||||
1 -def- VDOU scalar nnodes linea tempo x 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 3.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 1.000E+00
|
||||
8 mbndry INT scalar scalar const perma l 1.600E+07
|
||||
9 ndimensions_top INT scalar scalar const perma l 2.000E+00
|
||||
10 ndimensions_geo INT scalar scalar const perma l 2.000E+00
|
||||
11 nodes_per_eleme INT scalar scalar const perma l 3.000E+00
|
||||
12 edges_per_eleme INT scalar scalar const perma l 3.000E+00
|
||||
13 faces_per_eleme INT scalar scalar const perma l 3.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 2.776E-13
|
||||
35 epsilona REAL scalar scalar const perma l 3.469E-13
|
||||
36 epsilonv REAL scalar scalar const perma l 3.469E-13
|
||||
37 ipointi INT scalar scalar const perma l 1.000E+00
|
||||
38 ipointj INT scalar scalar const perma l 3.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 7.500E-01
|
||||
56 zmax REAL scalar scalar const perma l 0.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
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
Reference in New Issue
Block a user