Files
LaGriT/test/level01/interp_continuous/reference/outx3dgen

1522 lines
106 KiB
Plaintext
Raw Normal View History

2025-12-17 11:00:57 +08:00
* * * * * * * * * * * * * * * * * * * * * * * * *
* * *
* * Program: LaGriT V3.3.3 Linux *
* * Date Compile: 2023/12/20 *
* * Run Time: 2023/Dec 20 13:23:24 *
* * 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 intrp/continuous - requires input files
*
* Test grid-to-grid interpolation continous interpolation
* from source element vertices to sink point
*
* This input deck starts with demo problems used for manual
* Tests include various element to element types
* and various interpolation settings for continuous method
* Tests include the following sink <- source interpolations
*
* Case 01 single HEX xval <- TET xval
* Case 02 QUAD numreal <- TRI numreal
* Case 02a detail 6 element sink
* Case 02b detail 6 element sink translated
* Case 03 HEX xval <- HEX xval
* Case 04 TRI imt <- TET imt, keep search attribute el_gtg
* Case 05 TRI imt <- TET imt, reuse search attribute el_gtg
*
* Terry Miller 9/1/2006 update from 2/01/2001
* Note: addmesh and dump/gmv removed
* since paraview can view sink and source in same view
**********************************************************
**************************************************
* Case 01 single HEX xval <- TET xval
* big tet on to small hex
* 500. values at top nodes, 0. at bottom
* includes a sink point inside a flat tet
read avs input_tet3x3_flat.inp cmo_src
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: cmo_src
1 Mesh Object name: cmo_src
number of nodes = 27 number of elements = 48
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = active
finish
cmo addatt cmo_src xval
cmo copyatt cmo_src cmo_src xval zic
27 copied from cmo_src zic to -> cmo_src xval
read avs input_hex1_med.inp cmo_sink
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: cmo_sink
1 Mesh Object name: cmo_src
number of nodes = 27 number of elements = 48
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: cmo_sink
number of nodes = 8 number of elements = 1
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = active
finish
cmo addatt cmo_sink xval
cmo setatt cmo_sink xval 99.
8 values reset for attribute xval
* source is 3 high, the bottom set of tets are flat
* bottom xval is 0. top xval is 500.
* sink is a single hex with bottom nodes at bottom of source
* top nodes are less than half as tall as source
* sink has xval with 0. on bottom and 150. at top nodes
intrp/continuous/cmo_sink xval/1,0,0/cmo_src xval
nodes in indexed point set = 8
INTRP METHOD: continuous FUNCTION: linear
TIEBREAKER: maxtie FLAG: plus1 0.501000000000E+03
cmo select cmo_src
finish
cmo kdtree build
cmo/addatt//v2/INT/scalar/scalar/constant/temporary//2.0
finish
cmo/addatt//linkt/VINT/v2/nelements//temporary/x/0.0
finish
cmo/addatt//v12/INT/scalar/scalar/constant/temporary//12.0
finish
cmo/addatt//sbox/VDOUBLE/v12/nelements/linear/temporary/x/0.0
finish
finish
cmo setatt cmo_src idebug/0
1 values reset for attribute idebug
finish
Build kdtree done - assign the enclosing element for each.
Sink point Elems Searched Elements Found Percent Done
3 5 3 25 %
5 7 5 50 %
7 9 7 75 %
8 10 8 100%
Total Source Elements: 48
Total Sink Nodes: 8
WARNING: Negative-volume source elements: 24
interpolate/continuous done.
cmo select cmo_sink
finish
cmo kdtree release
cmo/DELATT/cmo_src/sbox
finish
cmo/DELATT/cmo_src/v12
finish
cmo/DELATT/cmo_src/linkt
finish
cmo/DELATT/cmo_src/v2
finish
finish
dump avs output_C01_tet3x.inp cmo_sink
cmo/modatt/-def-/-def-/ioflag/x
finish
* begin compare here
cmo status cmo_src
The current-mesh-object(CMO) is: cmo_sink
1 Mesh Object name: cmo_src
number of nodes = 27 number of elements = 48
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
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 2.700E+01
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 4.800E+01
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 1.923E-10
35 epsilona REAL scalar scalar const perma l 1.665E-07
36 epsilonv REAL scalar scalar const perma l 2.776E-05
37 ipointi INT scalar scalar const perma l 1.000E+00
38 ipointj INT scalar scalar const perma l 2.700E+01
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 5.000E+02
55 ymax REAL scalar scalar const perma l 5.000E+02
56 zmax REAL scalar scalar const perma l 5.000E+02
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
66 xval VDOU scalar nnodes linea tempo agl 0.000E+00
cmo status cmo_sink
The current-mesh-object(CMO) is: cmo_sink
2 Mesh Object name: cmo_sink
number of nodes = 8 number of elements = 1
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 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 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 1.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 8.000E+00
12 edges_per_eleme INT scalar scalar const perma l 1.200E+01
13 faces_per_eleme INT scalar scalar const perma l 6.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.578E-11
35 epsilona REAL scalar scalar const perma l 9.437E-09
36 epsilonv REAL scalar scalar const perma l 3.331E-07
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+02
55 ymax REAL scalar scalar const perma l 1.000E+02
56 zmax REAL scalar scalar const perma l 1.500E+02
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
66 xval VDOU scalar nnodes linea tempo agl 0.000E+00
cmo printatt cmo_src xval minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xval 0.000000000E+00 5.000000000E+02 5.000000000E+02 27
cmo printatt cmo_sink xval minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xval 0.000000000E+00 1.500000000E+02 1.500000000E+02 8
* end compare here
cmo delete cmo_src
Released Mesh Object: cmo_src
cmo delete cmo_sink
Released Mesh Object: cmo_sink
**************************************************
* Case 02 QUAD numreal <- TRI numreal
* read source grid
* assign node id to node attribute numreal
read avs input_random500_tri.inp cmo_src
cmo/addatt/cmo_src/iign/VDOUBLE/scalar/nnodes/linear/permanent/gxaf/0.0
finish
cmo/addatt/cmo_src/numreal/VDOUBLE/scalar/nnodes/linear/permanent/gxaf/0.0
finish
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: cmo_src
1 Mesh Object name: cmo_src
number of nodes = 12 number of elements = 12
dimensions geometry = 3 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
finish
cmo copyatt cmo_src cmo_src numreal ialias
Warning: Attribute type VINT written to VDOUBLE
12 copied from cmo_src ialias to -> cmo_src numreal
* read the sink grid and create attribute numreal
read avs input_500_quad.inp cmo_sink
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: cmo_sink
1 Mesh Object name: cmo_src
number of nodes = 12 number of elements = 12
dimensions geometry = 3 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: cmo_sink
number of nodes = 2500 number of elements = 2401
dimensions geometry = 3 element type = qua
dimensions topology = 2 4 nodes 4 faces 4 edges
boundary flag = 16000000 status = active
finish
cmo addatt cmo_sink numreal
cmo setatt cmo_sink numreal 0.
2500 values reset for attribute numreal
* source is irregular tri grid with 12 nodes, 12 vals
* sink grid is square high res quad grid
* sink numreal has 12 values to nearest nodes
* sink nodes outside source have value 13
intrp/continuous/cmo_sink numreal/1,0,0/cmo_src numreal
nodes in indexed point set = 2500
INTRP METHOD: continuous FUNCTION: linear
TIEBREAKER: maxtie FLAG: plus1 0.130000000000E+02
cmo select cmo_src
finish
cmo kdtree build
cmo/addatt//v2/INT/scalar/scalar/constant/temporary//2.0
finish
cmo/addatt//linkt/VINT/v2/nelements//temporary/x/0.0
finish
cmo/addatt//v12/INT/scalar/scalar/constant/temporary//12.0
finish
cmo/addatt//sbox/VDOUBLE/v12/nelements/linear/temporary/x/0.0
finish
finish
cmo setatt cmo_src idebug/0
1 values reset for attribute idebug
finish
Build kdtree done - assign the enclosing element for each.
Sink point Elems Searched Elements Found Percent Done
626 412 411 25 %
1251 938 937 50 %
1876 1469 1468 75 %
2500 2040 2038 100%
Total Source Elements: 12
Total Sink Nodes: 2500
WARNING: Sink points not inside source grid: 462
Outside sink points flagged with value: 13.00
interpolate/continuous done.
cmo select cmo_sink
finish
cmo kdtree release
cmo/DELATT/cmo_src/sbox
finish
cmo/DELATT/cmo_src/v12
finish
cmo/DELATT/cmo_src/linkt
finish
cmo/DELATT/cmo_src/v2
finish
finish
dump avs output_C02_500q.inp cmo_sink
cmo/modatt/-def-/-def-/ioflag/x
finish
* begin compare here
cmo status cmo_src
The current-mesh-object(CMO) is: cmo_sink
1 Mesh Object name: cmo_src
number of nodes = 12 number of elements = 12
dimensions geometry = 3 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 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 1.200E+01
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.200E+01
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 3.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 1.734E-10
35 epsilona REAL scalar scalar const perma l 1.354E-07
36 epsilonv REAL scalar scalar const perma l 1.354E-07
37 ipointi INT scalar scalar const perma l 1.000E+00
38 ipointj INT scalar scalar const perma l 1.200E+01
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 2.500E-01
54 xmax REAL scalar scalar const perma l 5.000E+02
55 ymax REAL scalar scalar const perma l 6.000E+02
56 zmax REAL scalar scalar const perma l 2.500E-01
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
66 iign VDOU scalar nnodes linea perma gxa 0.000E+00
67 numreal VDOU scalar nnodes linea perma gxa 0.000E+00
cmo status cmo_sink
The current-mesh-object(CMO) is: cmo_sink
2 Mesh Object name: cmo_sink
number of nodes = 2500 number of elements = 2401
dimensions geometry = 3 element type = qua
dimensions topology = 2 4 nodes 4 faces 4 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 2.500E+03
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.401E+03
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 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 4.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 1.570E-10
35 epsilona REAL scalar scalar const perma l 1.110E-07
36 epsilonv REAL scalar scalar const perma l 1.110E-07
37 ipointi INT scalar scalar const perma l 1.000E+00
38 ipointj INT scalar scalar const perma l 2.500E+03
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 2.500E-01
54 xmax REAL scalar scalar const perma l 5.000E+02
55 ymax REAL scalar scalar const perma l 5.000E+02
56 zmax REAL scalar scalar const perma l 2.500E-01
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
66 numreal VDOU scalar nnodes linea tempo agl 0.000E+00
cmo printatt cmo_src numreal minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
numreal 1.000000000E+00 1.200000000E+01 1.100000000E+01 12
cmo printatt cmo_sink numreal minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
numreal 1.000000000E+00 1.300000000E+01 1.200000000E+01 2500
* end compare here
cmo delete cmo_src
Released Mesh Object: cmo_src
cmo delete cmo_sink
Released Mesh Object: cmo_sink
**************************************************
* Case 00 HEX xval <- HEX xval
* hex not currently supported for source grid
* source hex grid should result in error return
read avs input_hex.inp cmo_src
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: cmo_src
1 Mesh Object name: cmo_src
number of nodes = 8 number of elements = 1
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = active
finish
cmo addatt cmo_src xval
cmo copyatt cmo_src cmo_src xval zic
8 copied from cmo_src zic to -> cmo_src xval
read avs input_hex1_med.inp cmo_sink
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: cmo_sink
1 Mesh Object name: cmo_src
number of nodes = 8 number of elements = 1
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: cmo_sink
number of nodes = 8 number of elements = 1
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = active
finish
cmo addatt cmo_sink xval
cmo setatt cmo_sink xval 99.
8 values reset for attribute xval
* Source is a hex grid which does not work for continuous
* Should get error and exit with following messege
* nodes in indexed point set = 8
* ERROR: continuous interpolation not valid for hex elements: cmo_src
* Use hextotet to convert hex elements to tetrahedra.
* FATAL ERROR: INTRP unable to begin.
intrp/continuous/cmo_sink xval/1,0,0/cmo_src xval
nodes in indexed point set = 8
WARNING: interpolate/continuous may not work for hex: cmo_src
Use hextotet to convert hex elements to tetrahedra.
INTRP METHOD: continuous FUNCTION: linear
TIEBREAKER: maxtie FLAG: plus1 0.110000000000E+02
cmo select cmo_src
finish
cmo kdtree build
cmo/addatt//v2/INT/scalar/scalar/constant/temporary//2.0
finish
cmo/addatt//linkt/VINT/v2/nelements//temporary/x/0.0
finish
cmo/addatt//v12/INT/scalar/scalar/constant/temporary//12.0
finish
cmo/addatt//sbox/VDOUBLE/v12/nelements/linear/temporary/x/0.0
finish
finish
cmo setatt cmo_src idebug/0
1 values reset for attribute idebug
finish
Build kdtree done - assign the enclosing element for each.
Sink point Elems Searched Elements Found Percent Done
3 1 1 25 %
5 1 1 50 %
7 1 1 75 %
8 1 1 100%
Total Source Elements: 1
Total Sink Nodes: 8
WARNING: Sink points not inside source grid: 7
Outside sink points flagged with value: 11.00
interpolate/continuous done.
cmo select cmo_sink
finish
cmo kdtree release
cmo/DELATT/cmo_src/sbox
finish
cmo/DELATT/cmo_src/v12
finish
cmo/DELATT/cmo_src/linkt
finish
cmo/DELATT/cmo_src/v2
finish
finish
* intrp should exit for source hex grids
* begin compare here
cmo printatt cmo_src xval minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xval 0.000000000E+00 1.000000000E+01 1.000000000E+01 8
cmo printatt cmo_sink xval minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xval 0.000000000E+00 1.100000000E+01 1.100000000E+01 8
* begin compare here
cmo delete cmo_src
Released Mesh Object: cmo_src
cmo delete cmo_sink
Released Mesh Object: cmo_sink
**************************************************
* Case 03 TRI imt <- TET imt, keep search attribute el_gtg
* test attributes created during kdtree searches
* kdtree search for source elements creates el_gtg
* source grid cannot be hex, convert to tets
read avs input_3d_hex.inp cmo_src
cmo/addatt/cmo_src/imtreal/VDOUBLE/scalar/nnodes/linear/permanent/gxaf/0.0
finish
cmo/addatt/cmo_src/itetreal/VDOUBLE/scalar/nelements/linear/permanent/gxaf/0.0
finish
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: cmo_src
1 Mesh Object name: cmo_src
number of nodes = 98 number of elements = 36
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = active
finish
cmo setatt cmo_src itetclr 36,36,0 4
1 values reset for attribute itetclr
hextotet 24 cmotet cmo_src
iremove_vol= 0 iremove_dup= 0 icheckpt= 1
Input Mesh type hex using option 24
Element Material ID, min/max/range: 1 4 3
Epsilon-dist, distmax, distmin: -2.0000000E-06 4.0000000E+00 1.0000000E+00
Epsilon-volume, volmax: 2.0000000E-06 2.0000000E+00
cmo/addatt/cmotet/iign/vint/scalar/nnodes/-def-/-def-/gx/-def-
finish
WARNING: Volumes le zero not removed, nelements= 864
No duplicate points
WARNING: Duplicate points not removed, nnodes = 290
cmo delete cmo_src
Released Mesh Object: cmo_src
read avs input_2d_hires_trans.inp cmo_sink
cmo/addatt/cmo_sink/imtreal/VDOUBLE/scalar/nnodes/linear/permanent/gxaf/0.0
finish
cmo/addatt/cmo_sink/itetreal/VDOUBLE/scalar/nelements/linear/permanent/gxaf/0.0
finish
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: cmo_sink
1 Mesh Object name: cmotet
number of nodes = 290 number of elements = 864
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: cmo_sink
number of nodes = 400 number of elements = 722
dimensions geometry = 3 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
finish
cmo setatt cmo_sink imt1 5
400 values reset for attribute imt1
* source is the hex grid converted to tet24, imt 1-3
* sink is high res tri grid
* sink imt has values 1 and 2 with outside nodes flagged 4
* these are reals converted to integer for imt attribute
* sink imt has the el_gtg attribute with source elem id
intrp/continuous/cmo_sink imt1/1,0,0/cmotet imt1/keepatt
nodes in indexed point set = 400
cmo/addatt/cmo_sink/el_gtg/VINT/scalar/nnodes//permanent/agfx/0
finish
INTRP METHOD: continuous FUNCTION: max
TIEBREAKER: maxtie FLAG: plus1 0.400000000000E+01
el_gtg attribute will be added and kept.
cmo select cmotet
finish
cmo kdtree build
cmo/addatt//v2/INT/scalar/scalar/constant/temporary//2.0
finish
cmo/addatt//linkt/VINT/v2/nelements//temporary/x/0.0
finish
cmo/addatt//v12/INT/scalar/scalar/constant/temporary//12.0
finish
cmo/addatt//sbox/VDOUBLE/v12/nelements/linear/temporary/x/0.0
finish
finish
cmo setatt cmotet idebug/0
1 values reset for attribute idebug
finish
Build kdtree done - assign the enclosing element for each.
Sink point Elems Searched Elements Found Percent Done
101 130 76 25 %
201 210 151 50 %
301 290 226 75 %
400 304 240 100%
Total Source Elements: 864
Total Sink Nodes: 400
WARNING: Sink points not inside source grid: 160
Outside sink points flagged with value: 4.00
interpolate/continuous done.
cmo select cmo_sink
finish
cmo kdtree release
cmo/DELATT/cmotet/sbox
finish
cmo/DELATT/cmotet/v12
finish
cmo/DELATT/cmotet/linkt
finish
cmo/DELATT/cmotet/v2
finish
finish
dump avs output_C03_3d.inp cmo_sink
cmo/modatt/-def-/-def-/ioflag/x
finish
* begin compare here
cmo status cmo_sink
The current-mesh-object(CMO) is: cmo_sink
2 Mesh Object name: cmo_sink
number of nodes = 400 number of elements = 722
dimensions geometry = 3 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 4.000E+02
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 7.220E+02
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 3.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 1.110E-12
35 epsilona REAL scalar scalar const perma l 5.551E-12
36 epsilonv REAL scalar scalar const perma l 5.551E-12
37 ipointi INT scalar scalar const perma l 1.000E+00
38 ipointj INT scalar scalar const perma l 4.000E+02
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 3.000E+00
52 ymin REAL scalar scalar const perma l 3.500E+00
53 zmin REAL scalar scalar const perma l 0.000E+00
54 xmax REAL scalar scalar const perma l 7.000E+00
55 ymax REAL scalar scalar const perma l 6.500E+00
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
66 imtreal VDOU scalar nnodes linea perma gxa 0.000E+00
67 itetreal VDOU scalar nelements linea perma gxa 0.000E+00
68 el_gtg VINT scalar nnodes linea perma agf 0.000E+00
cmo status cmotet
The current-mesh-object(CMO) is: cmo_sink
1 Mesh Object name: cmotet
number of nodes = 290 number of elements = 864
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
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 2.900E+02
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 8.640E+02
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 1.936E-12
35 epsilona REAL scalar scalar const perma l 1.688E-11
36 epsilonv REAL scalar scalar const perma l 1.599E-11
37 ipointi INT scalar scalar const perma l 1.000E+00
38 ipointj INT scalar scalar const perma l 2.900E+02
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 -1.000E+00
54 xmax REAL scalar scalar const perma l 6.000E+00
55 ymax REAL scalar scalar const perma l 6.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
66 imtreal VDOU scalar nnodes linea perma gxa 0.000E+00
67 itetreal VDOU scalar nelements linea perma gxa 0.000E+00
68 iign VINT scalar nnodes linea tempo gx 0.000E+00
cmo printatt cmotet imt1 minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
imt1 1 3 2 290
cmo printatt cmo_sink imt1 minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
imt1 2 4 2 400
cmo printatt cmo_sink el_gtg minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
el_gtg 0 863 863 400
* end compare here
* Case 04 TRI imt <- TET imt, reuse search attribute el_gtg
* reuse and delete attribute el_gtg in second call to intrp
* set interpolation function for attribute imtreal to linear
* sink has values from 2. to 4. where 4. is outside source
cmo setatt cmo_sink imtreal 5.0
400 values reset for attribute imtreal
intrp/continuous/cmo_sink imtreal/1,0,0/cmotet imtreal/linear
nodes in indexed point set = 400
INTRP METHOD: continuous FUNCTION: linear
TIEBREAKER: maxtie FLAG: plus1 0.400000000000E+01
SKIPPING ELEMENT SEARCH... using lookup attribute el_gtg
101 76 76 25 %
201 151 151 50 %
301 226 226 75 %
400 240 240 100%
Total Source Elements: 864
Total Sink Nodes: 400
WARNING: Sink points not inside source grid: 160
Outside sink points flagged with value: 4.00
interpolate/continuous done.
cmo DELATT cmo_sink/el_gtg
finish
cmo select cmo_sink
finish
cmo kdtree release
finish
dump avs output_C04_gtg.inp cmo_sink
cmo/modatt/-def-/-def-/ioflag/x
finish
* el_gtg attribute should have been removed
* begin compare here
cmo status cmo_sink
The current-mesh-object(CMO) is: cmo_sink
2 Mesh Object name: cmo_sink
number of nodes = 400 number of elements = 722
dimensions geometry = 3 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 4.000E+02
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 7.220E+02
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 3.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 1.110E-12
35 epsilona REAL scalar scalar const perma l 5.551E-12
36 epsilonv REAL scalar scalar const perma l 5.551E-12
37 ipointi INT scalar scalar const perma l 1.000E+00
38 ipointj INT scalar scalar const perma l 4.000E+02
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 3.000E+00
52 ymin REAL scalar scalar const perma l 3.500E+00
53 zmin REAL scalar scalar const perma l 0.000E+00
54 xmax REAL scalar scalar const perma l 7.000E+00
55 ymax REAL scalar scalar const perma l 6.500E+00
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
66 imtreal VDOU scalar nnodes linea perma gxa 0.000E+00
67 itetreal VDOU scalar nelements linea perma gxa 0.000E+00
cmo status cmotet
The current-mesh-object(CMO) is: cmo_sink
1 Mesh Object name: cmotet
number of nodes = 290 number of elements = 864
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
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 2.900E+02
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 8.640E+02
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 1.936E-12
35 epsilona REAL scalar scalar const perma l 1.688E-11
36 epsilonv REAL scalar scalar const perma l 1.599E-11
37 ipointi INT scalar scalar const perma l 1.000E+00
38 ipointj INT scalar scalar const perma l 2.900E+02
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 -1.000E+00
54 xmax REAL scalar scalar const perma l 6.000E+00
55 ymax REAL scalar scalar const perma l 6.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
66 imtreal VDOU scalar nnodes linea perma gxa 0.000E+00
67 itetreal VDOU scalar nelements linea perma gxa 0.000E+00
68 iign VINT scalar nnodes linea tempo gx 0.000E+00
cmo printatt cmotet imtreal minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
imtreal 1.000000000E+00 3.000000000E+00 2.000000000E+00 290
cmo printatt cmo_sink imtreal minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
imtreal 2.000000000E+00 4.000000000E+00 2.000000000E+00 400
cmo printatt cmo_sink el_gtg minmax
cannot attribute el_gtg in cmo_sink
* end compare here
cmo delete cmotet
Released Mesh Object: cmotet
cmo delete cmo_sink
Released Mesh Object: cmo_sink
**************************************************
* Case 05 QUAD numreal <- TRI numreal
* subset so sink has 6 elements
* Should have 6 nodes outside
* read source grid
* assign node id to node attribute numreal
read avs input_random500_tri.inp cmo_src
cmo/addatt/cmo_src/iign/VDOUBLE/scalar/nnodes/linear/permanent/gxaf/0.0
finish
cmo/addatt/cmo_src/numreal/VDOUBLE/scalar/nnodes/linear/permanent/gxaf/0.0
finish
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: cmo_src
1 Mesh Object name: cmo_src
number of nodes = 12 number of elements = 12
dimensions geometry = 3 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = active
finish
cmo copyatt cmo_src cmo_src numreal ialias
Warning: Attribute type VINT written to VDOUBLE
12 copied from cmo_src ialias to -> cmo_src numreal
* read the sink grid and create attribute numreal
read avs input_500_quad.inp cmo_sink
geniee
finish
cmo/status/brief
The current-mesh-object(CMO) is: cmo_sink
1 Mesh Object name: cmo_src
number of nodes = 12 number of elements = 12
dimensions geometry = 3 element type = tri
dimensions topology = 2 3 nodes 3 faces 3 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: cmo_sink
number of nodes = 2500 number of elements = 2401
dimensions geometry = 3 element type = qua
dimensions topology = 2 4 nodes 4 faces 4 edges
boundary flag = 16000000 status = active
finish
cmo addatt cmo_sink numreal
cmo setatt cmo_sink numreal 0.
2500 values reset for attribute numreal
* source is irregular tri grid with 12 nodes, 12 vals
* sink grid is square high res quad grid
* sink numreal has 12 values to nearest nodes
* sink nodes outside source have value 13
pset/pbox/geom/xyz/1,0,0/150. 25. 0./170. 35. 1./
THE PSET pbox HAS 2 POINTS
pset/pduds/not pbox
THE PSET pduds HAS 2498 POINTS
rmpoint pset,get,pduds
Dudded 2488 points plus parents, plus 2395 elements removed.
rmpoint compress
2488 points removed and 0 elements removed.
RMPOINT: new point count is 12
RMPOINT: new element count is 6
cmo/printatt/cmo_sink/-xyz- minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xic 1.428571472E+02 1.734693909E+02 3.061224365E+01 12
yic 2.040816307E+01 4.081632614E+01 2.040816307E+01 12
zic 2.500000000E-01 2.500000000E-01 0.000000000E+00 12
intrp/continuous/cmo_sink numreal/1,0,0/cmo_src numreal
nodes in indexed point set = 12
INTRP METHOD: continuous FUNCTION: linear
TIEBREAKER: maxtie FLAG: plus1 0.130000000000E+02
cmo select cmo_src
finish
cmo kdtree build
cmo/addatt//v2/INT/scalar/scalar/constant/temporary//2.0
finish
cmo/addatt//linkt/VINT/v2/nelements//temporary/x/0.0
finish
cmo/addatt//v12/INT/scalar/scalar/constant/temporary//12.0
finish
cmo/addatt//sbox/VDOUBLE/v12/nelements/linear/temporary/x/0.0
finish
finish
cmo setatt cmo_src idebug/0
1 values reset for attribute idebug
finish
Build kdtree done - assign the enclosing element for each.
Sink point Elems Searched Elements Found Percent Done
4 0 0 25 %
7 2 2 50 %
10 4 4 75 %
12 6 6 100%
Total Source Elements: 12
Total Sink Nodes: 12
WARNING: Sink points not inside source grid: 6
Outside sink points flagged with value: 13.00
interpolate/continuous done.
cmo select cmo_sink
finish
cmo kdtree release
cmo/DELATT/cmo_src/sbox
finish
cmo/DELATT/cmo_src/v12
finish
cmo/DELATT/cmo_src/linkt
finish
cmo/DELATT/cmo_src/v2
finish
finish
intersectelements/cmo_sink cmo_src isect
cmo/select/cmo_sink
finish
kdtree/build
cmo/addatt//v2/INT/scalar/scalar/constant/temporary//2.0
finish
cmo/addatt//linkt/VINT/v2/nelements//temporary/x/0.0
finish
cmo/addatt//v12/INT/scalar/scalar/constant/temporary//12.0
finish
cmo/addatt//sbox/VDOUBLE/v12/nelements/linear/temporary/x/0.0
finish
finish
cmo/addatt/cmo_sink/isect/VINT/scalar/nelements/linear/permanent//0/
finish
Element Elems Searched Elements Found Percent Done
4 6 5 25 %
7 6 0 50 %
10 6 0 75 %
12 6 5 Total Done
cmo/select/cmo_sink
finish
kdtree/release
cmo/DELATT/cmo_sink/sbox
finish
cmo/DELATT/cmo_sink/v12
finish
cmo/DELATT/cmo_sink/linkt
finish
cmo/DELATT/cmo_sink/v2
finish
finish
cmo/copyatt/cmo_sink cmo_sink itetclr isect
6 copied from cmo_sink isect to -> cmo_sink itetclr
dump avs output_C05_500q.inp cmo_sink
cmo/modatt/-def-/-def-/ioflag/x
finish
* begin compare here
cmo/select/cmo_sink
pset/pout/attribute numreal 1,0,0 12.5 gt
THE PSET pout HAS 6 POINTS
* end compare here
**************************************************
* Case 06 QUAD numreal <- TRI numreal
* subset so sink has 6 elements
* Move sink cmo to check results
* Move nearly on edge sink node into src element
* Should have 5 nodes outside
cmo/copy/cmo1 cmo_sink
cmo/select/cmo1
cmo/setatt/cmo1 numreal 0.
12 values reset for attribute numreal
trans/1 0 0/0. 0. 0./0. .00005 0.
cmo/addatt/cmo1/transauto/VDOUBLE/scalar/vector/user/permanent/x/0.0
finish
cmo/printatt/cmo1/-xyz- minmax
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
xic 1.428571472E+02 1.734693909E+02 3.061224365E+01 12
yic 2.040821307E+01 4.081637614E+01 2.040816307E+01 12
zic 2.500000000E-01 2.500000000E-01 0.000000000E+00 12
intrp/continuous/cmo1 numreal/1,0,0/cmo_src numreal
nodes in indexed point set = 12
INTRP METHOD: continuous FUNCTION: linear
TIEBREAKER: maxtie FLAG: plus1 0.130000000000E+02
cmo select cmo_src
finish
cmo kdtree build
cmo/addatt//v2/INT/scalar/scalar/constant/temporary//2.0
finish
cmo/addatt//linkt/VINT/v2/nelements//temporary/x/0.0
finish
cmo/addatt//v12/INT/scalar/scalar/constant/temporary//12.0
finish
cmo/addatt//sbox/VDOUBLE/v12/nelements/linear/temporary/x/0.0
finish
finish
cmo setatt cmo_src idebug/0
1 values reset for attribute idebug
finish
Build kdtree done - assign the enclosing element for each.
Sink point Elems Searched Elements Found Percent Done
4 0 0 25 %
7 3 3 50 %
10 5 5 75 %
12 7 7 100%
Total Source Elements: 12
Total Sink Nodes: 12
WARNING: Sink points not inside source grid: 5
Outside sink points flagged with value: 13.00
interpolate/continuous done.
cmo select cmo1
finish
cmo kdtree release
cmo/DELATT/cmo_src/sbox
finish
cmo/DELATT/cmo_src/v12
finish
cmo/DELATT/cmo_src/linkt
finish
cmo/DELATT/cmo_src/v2
finish
finish
dump avs output_C06_500q.inp cmo_sink
cmo/modatt/-def-/-def-/ioflag/x
finish
* begin compare here
cmo/select/cmo1
pset/pout/attribute numreal 1,0,0 12.5 gt
THE PSET pout HAS 5 POINTS
* end compare here
* end testing for intrp/continuous
finish
LaGriT successfully completed