initial upload
This commit is contained in:
16
test/level01/intrp_2D_sizes/diagnostic.mlgi
Executable file
16
test/level01/intrp_2D_sizes/diagnostic.mlgi
Executable file
@@ -0,0 +1,16 @@
|
||||
cmo / printatt / cmosource / -xyz- / minmax
|
||||
cmo / printatt / cmosink / -xyz- / minmax
|
||||
|
||||
|
||||
cmo / printatt / cmosink / xmin / minmax
|
||||
cmo / printatt / cmosink / xmax / minmax
|
||||
cmo / printatt / cmosink / ymin / minmax
|
||||
cmo / printatt / cmosink / ymax / minmax
|
||||
cmo / printatt / cmosink / zmin / minmax
|
||||
cmo / printatt / cmosink / zmax / minmax
|
||||
cmo / printatt / cmosink / epsilon / minmax
|
||||
cmo / printatt / cmosink / epsilonl / minmax
|
||||
cmo / printatt / cmosink / epsilona / minmax
|
||||
cmo / printatt / cmosink / epsilonv / minmax
|
||||
|
||||
finish
|
||||
128
test/level01/intrp_2D_sizes/input.lgi
Executable file
128
test/level01/intrp_2D_sizes/input.lgi
Executable file
@@ -0,0 +1,128 @@
|
||||
* Test interpolate 2D
|
||||
* examines precision with small numbers
|
||||
* includes fix to V2 issues with interpolate
|
||||
* output files written for important cases
|
||||
*
|
||||
define / SIZE_SRCX / 21
|
||||
define / SIZE_SRCY / 101
|
||||
define / SIZE_SNKX / 20
|
||||
define / SIZE_SNKY / 100
|
||||
|
||||
* Build a source simple 2d triangular mesh
|
||||
cmo / create / cmosource / / / triplane
|
||||
createpts/xyz/SIZE_SRCX,SIZE_SRCY,1/0.,0.,0./1.,1.,0./1,1,1
|
||||
cmo / setatt / cmosource / imt / 1 0 0 / 1
|
||||
cmo / setatt / cmosource / itp / 1 0 0 / 0
|
||||
connect
|
||||
resetpts / itp
|
||||
|
||||
* Build a sink simple 2d triangular mesh
|
||||
cmo / create / cmosink / / / triplane
|
||||
createpts/xyz/SIZE_SNKX,SIZE_SNKY,1/0.,0.,0./1.,1.,0./1,1,1
|
||||
cmo / setatt / cmosink / imt / 1 0 0 / 1
|
||||
cmo / setatt / cmosink / itp / 1 0 0 / 0
|
||||
connect
|
||||
resetpts / itp
|
||||
|
||||
* Add some floating point attributes for interpolate
|
||||
cmo/addatt/cmosource/field3/vdouble/scalar/nnodes
|
||||
cmo/copyatt/cmosource cmosource / field3 xic
|
||||
cmo/addatt/cmosink/field2/vdouble/scalar/nnodes
|
||||
cmo/addatt/cmosink/field3/vdouble/scalar/nnodes
|
||||
cmo/setatt/cmosink/field3 0.0
|
||||
cmo/setatt/cmosink/field2 0.0
|
||||
|
||||
* turn off debug for the test suite
|
||||
cmo/setatt/cmosink/idebug 0
|
||||
cmo/setatt/cmosource/idebug 0
|
||||
|
||||
* each case decreases the values to test precision
|
||||
|
||||
* Case 01
|
||||
cmo / select / cmosource
|
||||
scale/ 1 0 0 / relative / xyz / 1.e10 1.e10 1.0
|
||||
cmo / select / cmosink
|
||||
scale/ 1 0 0 / relative / xyz / 1.e10 1.e10 1.0
|
||||
infile diagnostic.mlgi
|
||||
interpolate/ continuous / cmosink field3 /1,0,0/ &
|
||||
cmosource field3
|
||||
cmo printatt cmosource field3 minmax
|
||||
cmo printatt cmosink field3 minmax
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
|
||||
* Case 02
|
||||
cmo / select / cmosource
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
cmo / select / cmosink
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
interpolate/ continuous / cmosink field3 /1,0,0/ &
|
||||
cmosource field3
|
||||
|
||||
cmo printatt cmosink field3 1,2000,100
|
||||
* dump / avs / out_C02_field3.inp / cmosink
|
||||
* dump / avs / out_C02_field3_src.inp / cmosource
|
||||
|
||||
* Case 03
|
||||
cmo / select / cmosource
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
cmo / select / cmosink
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
interpolate/ continuous / cmosink field3 /1,0,0/ &
|
||||
cmosource field3
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
|
||||
* Case 04
|
||||
cmo / select / cmosource
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
cmo / select / cmosink
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
interpolate/ continuous / cmosink field3 /1,0,0/ &
|
||||
cmosource field3
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
* dump / avs / out_C04_field3.inp / cmosink
|
||||
* dump / avs / out_C04_field3_src.inp / cmosource
|
||||
|
||||
cmo printatt cmosource -xyz- minmax
|
||||
cmo printatt cmosource field3 minmax
|
||||
|
||||
cmo printatt cmosink -xyz- minmax
|
||||
cmo printatt cmosink field3 minmax
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
|
||||
* Case 05
|
||||
cmo/set_id/cmosource node / id_node
|
||||
cmo copyatt cmosource cmosource / imt id_node
|
||||
cmo/set_id/cmosource element / id_elem
|
||||
interpolate/map/cmosink field2/1,0,0/ &
|
||||
cmosource id_elem/ keepatt / nearest imt
|
||||
* dump / avs / out_C05a_field2.inp / cmosink
|
||||
* dump / avs / out_C05a_id_elem_src.inp / cmosource
|
||||
|
||||
cmo printatt cmosource id_elem minmax
|
||||
cmo printatt cmosink field2 minmax
|
||||
cmo printatt cmosink field2 100,2000,100
|
||||
cmo printatt cmosink pt_gtg 100,2000,100
|
||||
cmo printatt cmosink el_gtg 100,2000,100
|
||||
|
||||
* result should be same using attributes again
|
||||
* pre V2.2 code has wrong result at point 2000
|
||||
|
||||
cmo/setatt/cmosink/idebug 0
|
||||
cmo/setatt/cmosource/idebug 0
|
||||
interpolate/map/cmosink field2/1,0,0/ &
|
||||
cmosource id_elem/ keepatt / nearest imt
|
||||
|
||||
cmo printatt cmosource id_elem minmax
|
||||
cmo printatt cmosink field2 minmax
|
||||
cmo printatt cmosink field2 100,2000,100
|
||||
cmo printatt cmosink pt_gtg 100,2000,100
|
||||
cmo printatt cmosink el_gtg 100,2000,100
|
||||
|
||||
* dump / avs / out_C05b_field2.inp / cmosink
|
||||
* dump / avs / out_C05b_id_elem_src.inp / cmosource
|
||||
|
||||
finish
|
||||
|
||||
16
test/level01/intrp_2D_sizes/reference/diagnostic.mlgi
Executable file
16
test/level01/intrp_2D_sizes/reference/diagnostic.mlgi
Executable file
@@ -0,0 +1,16 @@
|
||||
cmo / printatt / cmosource / -xyz- / minmax
|
||||
cmo / printatt / cmosink / -xyz- / minmax
|
||||
|
||||
|
||||
cmo / printatt / cmosink / xmin / minmax
|
||||
cmo / printatt / cmosink / xmax / minmax
|
||||
cmo / printatt / cmosink / ymin / minmax
|
||||
cmo / printatt / cmosink / ymax / minmax
|
||||
cmo / printatt / cmosink / zmin / minmax
|
||||
cmo / printatt / cmosink / zmax / minmax
|
||||
cmo / printatt / cmosink / epsilon / minmax
|
||||
cmo / printatt / cmosink / epsilonl / minmax
|
||||
cmo / printatt / cmosink / epsilona / minmax
|
||||
cmo / printatt / cmosink / epsilonv / minmax
|
||||
|
||||
finish
|
||||
128
test/level01/intrp_2D_sizes/reference/input.lgi
Executable file
128
test/level01/intrp_2D_sizes/reference/input.lgi
Executable file
@@ -0,0 +1,128 @@
|
||||
* Test interpolate 2D
|
||||
* examines precision with small numbers
|
||||
* includes fix to V2 issues with interpolate
|
||||
* output files written for important cases
|
||||
*
|
||||
define / SIZE_SRCX / 21
|
||||
define / SIZE_SRCY / 101
|
||||
define / SIZE_SNKX / 20
|
||||
define / SIZE_SNKY / 100
|
||||
|
||||
* Build a source simple 2d triangular mesh
|
||||
cmo / create / cmosource / / / triplane
|
||||
createpts/xyz/SIZE_SRCX,SIZE_SRCY,1/0.,0.,0./1.,1.,0./1,1,1
|
||||
cmo / setatt / cmosource / imt / 1 0 0 / 1
|
||||
cmo / setatt / cmosource / itp / 1 0 0 / 0
|
||||
connect
|
||||
resetpts / itp
|
||||
|
||||
* Build a sink simple 2d triangular mesh
|
||||
cmo / create / cmosink / / / triplane
|
||||
createpts/xyz/SIZE_SNKX,SIZE_SNKY,1/0.,0.,0./1.,1.,0./1,1,1
|
||||
cmo / setatt / cmosink / imt / 1 0 0 / 1
|
||||
cmo / setatt / cmosink / itp / 1 0 0 / 0
|
||||
connect
|
||||
resetpts / itp
|
||||
|
||||
* Add some floating point attributes for interpolate
|
||||
cmo/addatt/cmosource/field3/vdouble/scalar/nnodes
|
||||
cmo/copyatt/cmosource cmosource / field3 xic
|
||||
cmo/addatt/cmosink/field2/vdouble/scalar/nnodes
|
||||
cmo/addatt/cmosink/field3/vdouble/scalar/nnodes
|
||||
cmo/setatt/cmosink/field3 0.0
|
||||
cmo/setatt/cmosink/field2 0.0
|
||||
|
||||
* turn off debug for the test suite
|
||||
cmo/setatt/cmosink/idebug 0
|
||||
cmo/setatt/cmosource/idebug 0
|
||||
|
||||
* each case decreases the values to test precision
|
||||
|
||||
* Case 01
|
||||
cmo / select / cmosource
|
||||
scale/ 1 0 0 / relative / xyz / 1.e10 1.e10 1.0
|
||||
cmo / select / cmosink
|
||||
scale/ 1 0 0 / relative / xyz / 1.e10 1.e10 1.0
|
||||
infile diagnostic.mlgi
|
||||
interpolate/ continuous / cmosink field3 /1,0,0/ &
|
||||
cmosource field3
|
||||
cmo printatt cmosource field3 minmax
|
||||
cmo printatt cmosink field3 minmax
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
|
||||
* Case 02
|
||||
cmo / select / cmosource
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
cmo / select / cmosink
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
interpolate/ continuous / cmosink field3 /1,0,0/ &
|
||||
cmosource field3
|
||||
|
||||
cmo printatt cmosink field3 1,2000,100
|
||||
* dump / avs / out_C02_field3.inp / cmosink
|
||||
* dump / avs / out_C02_field3_src.inp / cmosource
|
||||
|
||||
* Case 03
|
||||
cmo / select / cmosource
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
cmo / select / cmosink
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
interpolate/ continuous / cmosink field3 /1,0,0/ &
|
||||
cmosource field3
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
|
||||
* Case 04
|
||||
cmo / select / cmosource
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
cmo / select / cmosink
|
||||
scale/ 1 0 0 / relative / xyz / 1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
interpolate/ continuous / cmosink field3 /1,0,0/ &
|
||||
cmosource field3
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
* dump / avs / out_C04_field3.inp / cmosink
|
||||
* dump / avs / out_C04_field3_src.inp / cmosource
|
||||
|
||||
cmo printatt cmosource -xyz- minmax
|
||||
cmo printatt cmosource field3 minmax
|
||||
|
||||
cmo printatt cmosink -xyz- minmax
|
||||
cmo printatt cmosink field3 minmax
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
|
||||
* Case 05
|
||||
cmo/set_id/cmosource node / id_node
|
||||
cmo copyatt cmosource cmosource / imt id_node
|
||||
cmo/set_id/cmosource element / id_elem
|
||||
interpolate/map/cmosink field2/1,0,0/ &
|
||||
cmosource id_elem/ keepatt / nearest imt
|
||||
* dump / avs / out_C05a_field2.inp / cmosink
|
||||
* dump / avs / out_C05a_id_elem_src.inp / cmosource
|
||||
|
||||
cmo printatt cmosource id_elem minmax
|
||||
cmo printatt cmosink field2 minmax
|
||||
cmo printatt cmosink field2 100,2000,100
|
||||
cmo printatt cmosink pt_gtg 100,2000,100
|
||||
cmo printatt cmosink el_gtg 100,2000,100
|
||||
|
||||
* result should be same using attributes again
|
||||
* pre V2.2 code has wrong result at point 2000
|
||||
|
||||
cmo/setatt/cmosink/idebug 0
|
||||
cmo/setatt/cmosource/idebug 0
|
||||
interpolate/map/cmosink field2/1,0,0/ &
|
||||
cmosource id_elem/ keepatt / nearest imt
|
||||
|
||||
cmo printatt cmosource id_elem minmax
|
||||
cmo printatt cmosink field2 minmax
|
||||
cmo printatt cmosink field2 100,2000,100
|
||||
cmo printatt cmosink pt_gtg 100,2000,100
|
||||
cmo printatt cmosink el_gtg 100,2000,100
|
||||
|
||||
* dump / avs / out_C05b_field2.inp / cmosink
|
||||
* dump / avs / out_C05b_id_elem_src.inp / cmosource
|
||||
|
||||
finish
|
||||
|
||||
129
test/level01/intrp_2D_sizes/reference/logx3dgen
Normal file
129
test/level01/intrp_2D_sizes/reference/logx3dgen
Normal file
@@ -0,0 +1,129 @@
|
||||
define/SIZE_SRCX/21
|
||||
define/SIZE_SRCY/101
|
||||
define/SIZE_SNKX/20
|
||||
define/SIZE_SNKY/100
|
||||
cmo/create/cmosource///triplane
|
||||
createpts/xyz/SIZE_SRCX,SIZE_SRCY,1/0.,0.,0./1.,1.,0./1,1,1
|
||||
cmo/setatt/cmosource/imt/1 0 0/1
|
||||
cmo/setatt/cmosource/itp/1 0 0/0
|
||||
connect
|
||||
resetpts/itp
|
||||
cmo/create/cmosink///triplane
|
||||
createpts/xyz/SIZE_SNKX,SIZE_SNKY,1/0.,0.,0./1.,1.,0./1,1,1
|
||||
cmo/setatt/cmosink/imt/1 0 0/1
|
||||
cmo/setatt/cmosink/itp/1 0 0/0
|
||||
connect
|
||||
resetpts/itp
|
||||
cmo/addatt/cmosource/field3/vdouble/scalar/nnodes
|
||||
cmo/copyatt/cmosource cmosource/field3 xic
|
||||
cmo/addatt/cmosink/field2/vdouble/scalar/nnodes
|
||||
cmo/addatt/cmosink/field3/vdouble/scalar/nnodes
|
||||
cmo/setatt/cmosink/field3 0.0
|
||||
cmo/setatt/cmosink/field2 0.0
|
||||
cmo/setatt/cmosink/idebug 0
|
||||
cmo/setatt/cmosource/idebug 0
|
||||
cmo/select/cmosource
|
||||
scale/1 0 0/relative/xyz/1.e10 1.e10 1.0
|
||||
cmo/select/cmosink
|
||||
scale/1 0 0/relative/xyz/1.e10 1.e10 1.0
|
||||
infile diagnostic.mlgi
|
||||
cmo/printatt/cmosource/-xyz-/minmax
|
||||
cmo/printatt/cmosink/-xyz-/minmax
|
||||
cmo/printatt/cmosink/xmin/minmax
|
||||
cmo/printatt/cmosink/xmax/minmax
|
||||
cmo/printatt/cmosink/ymin/minmax
|
||||
cmo/printatt/cmosink/ymax/minmax
|
||||
cmo/printatt/cmosink/zmin/minmax
|
||||
cmo/printatt/cmosink/zmax/minmax
|
||||
cmo/printatt/cmosink/epsilon/minmax
|
||||
cmo/printatt/cmosink/epsilonl/minmax
|
||||
cmo/printatt/cmosink/epsilona/minmax
|
||||
cmo/printatt/cmosink/epsilonv/minmax
|
||||
finish
|
||||
interpolate/continuous/cmosink field3/1,0,0/cmosource field3
|
||||
cmo printatt cmosource field3 minmax
|
||||
cmo printatt cmosink field3 minmax
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
cmo/select/cmosource
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
cmo/select/cmosink
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
cmo/printatt/cmosource/-xyz-/minmax
|
||||
cmo/printatt/cmosink/-xyz-/minmax
|
||||
cmo/printatt/cmosink/xmin/minmax
|
||||
cmo/printatt/cmosink/xmax/minmax
|
||||
cmo/printatt/cmosink/ymin/minmax
|
||||
cmo/printatt/cmosink/ymax/minmax
|
||||
cmo/printatt/cmosink/zmin/minmax
|
||||
cmo/printatt/cmosink/zmax/minmax
|
||||
cmo/printatt/cmosink/epsilon/minmax
|
||||
cmo/printatt/cmosink/epsilonl/minmax
|
||||
cmo/printatt/cmosink/epsilona/minmax
|
||||
cmo/printatt/cmosink/epsilonv/minmax
|
||||
finish
|
||||
interpolate/continuous/cmosink field3/1,0,0/cmosource field3
|
||||
cmo printatt cmosink field3 1,2000,100
|
||||
cmo/select/cmosource
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
cmo/select/cmosink
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
cmo/printatt/cmosource/-xyz-/minmax
|
||||
cmo/printatt/cmosink/-xyz-/minmax
|
||||
cmo/printatt/cmosink/xmin/minmax
|
||||
cmo/printatt/cmosink/xmax/minmax
|
||||
cmo/printatt/cmosink/ymin/minmax
|
||||
cmo/printatt/cmosink/ymax/minmax
|
||||
cmo/printatt/cmosink/zmin/minmax
|
||||
cmo/printatt/cmosink/zmax/minmax
|
||||
cmo/printatt/cmosink/epsilon/minmax
|
||||
cmo/printatt/cmosink/epsilonl/minmax
|
||||
cmo/printatt/cmosink/epsilona/minmax
|
||||
cmo/printatt/cmosink/epsilonv/minmax
|
||||
finish
|
||||
interpolate/continuous/cmosink field3/1,0,0/cmosource field3
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
cmo/select/cmosource
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
cmo/select/cmosink
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
cmo/printatt/cmosource/-xyz-/minmax
|
||||
cmo/printatt/cmosink/-xyz-/minmax
|
||||
cmo/printatt/cmosink/xmin/minmax
|
||||
cmo/printatt/cmosink/xmax/minmax
|
||||
cmo/printatt/cmosink/ymin/minmax
|
||||
cmo/printatt/cmosink/ymax/minmax
|
||||
cmo/printatt/cmosink/zmin/minmax
|
||||
cmo/printatt/cmosink/zmax/minmax
|
||||
cmo/printatt/cmosink/epsilon/minmax
|
||||
cmo/printatt/cmosink/epsilonl/minmax
|
||||
cmo/printatt/cmosink/epsilona/minmax
|
||||
cmo/printatt/cmosink/epsilonv/minmax
|
||||
finish
|
||||
interpolate/continuous/cmosink field3/1,0,0/cmosource field3
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
cmo printatt cmosource -xyz- minmax
|
||||
cmo printatt cmosource field3 minmax
|
||||
cmo printatt cmosink -xyz- minmax
|
||||
cmo printatt cmosink field3 minmax
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
cmo/set_id/cmosource node/id_node
|
||||
cmo copyatt cmosource cmosource/imt id_node
|
||||
cmo/set_id/cmosource element/id_elem
|
||||
interpolate/map/cmosink field2/1,0,0/cmosource id_elem/keepatt/nearest imt
|
||||
cmo printatt cmosource id_elem minmax
|
||||
cmo printatt cmosink field2 minmax
|
||||
cmo printatt cmosink field2 100,2000,100
|
||||
cmo printatt cmosink pt_gtg 100,2000,100
|
||||
cmo printatt cmosink el_gtg 100,2000,100
|
||||
cmo/setatt/cmosink/idebug 0
|
||||
cmo/setatt/cmosource/idebug 0
|
||||
interpolate/map/cmosink field2/1,0,0/cmosource id_elem/keepatt/nearest imt
|
||||
cmo printatt cmosource id_elem minmax
|
||||
cmo printatt cmosink field2 minmax
|
||||
cmo printatt cmosink field2 100,2000,100
|
||||
cmo printatt cmosink pt_gtg 100,2000,100
|
||||
cmo printatt cmosink el_gtg 100,2000,100
|
||||
finish
|
||||
984
test/level01/intrp_2D_sizes/reference/outx3dgen
Normal file
984
test/level01/intrp_2D_sizes/reference/outx3dgen
Normal file
@@ -0,0 +1,984 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.330 Linux *
|
||||
* * date_compile: 2021/10/15 test *
|
||||
* * Run Time: 2021/Nov 8 11:38:02 *
|
||||
* * 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 interpolate 2D
|
||||
* examines precision with small numbers
|
||||
* includes fix to V2 issues with interpolate
|
||||
* output files written for important cases
|
||||
*
|
||||
define/SIZE_SRCX/21
|
||||
define/SIZE_SRCY/101
|
||||
define/SIZE_SNKX/20
|
||||
define/SIZE_SNKY/100
|
||||
* Build a source simple 2d triangular mesh
|
||||
cmo/create/cmosource///triplane
|
||||
createpts/xyz/SIZE_SRCX,SIZE_SRCY,1/0.,0.,0./1.,1.,0./1,1,1
|
||||
RZ GENERATED POINTS 1 TO 2121
|
||||
cmo/setatt/cmosource/imt/1 0 0/1
|
||||
Warning: nelements = 0
|
||||
2121 values reset for attribute imt1
|
||||
|
||||
cmo/setatt/cmosource/itp/1 0 0/0
|
||||
Warning: nelements = 0
|
||||
2121 values reset for attribute itp1
|
||||
|
||||
connect
|
||||
Coordinates of enclosing triangle are:
|
||||
-0.17500D+01-0.16000D+01-0.00000D+00
|
||||
0.27500D+01-0.17500D+01-0.00000D+00
|
||||
0.50500D+00 0.50000D+01-0.00000D+00
|
||||
|
||||
Successfully eliminated all multimaterial connections.
|
||||
|
||||
The mesh is now complete!
|
||||
|
||||
LaGriT FINISH: connect
|
||||
|
||||
recon/0
|
||||
RECON2D reconnection loop2d: 1
|
||||
RECON: done.
|
||||
finish
|
||||
LaGriT FINISH: recon 0 for connect 2d
|
||||
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
* Build a sink simple 2d triangular mesh
|
||||
cmo/create/cmosink///triplane
|
||||
createpts/xyz/SIZE_SNKX,SIZE_SNKY,1/0.,0.,0./1.,1.,0./1,1,1
|
||||
RZ GENERATED POINTS 1 TO 2000
|
||||
cmo/setatt/cmosink/imt/1 0 0/1
|
||||
Warning: nelements = 0
|
||||
2000 values reset for attribute imt1
|
||||
|
||||
cmo/setatt/cmosink/itp/1 0 0/0
|
||||
Warning: nelements = 0
|
||||
2000 values reset for attribute itp1
|
||||
|
||||
connect
|
||||
Coordinates of enclosing triangle are:
|
||||
-0.17500D+01-0.16000D+01-0.00000D+00
|
||||
0.27500D+01-0.17500D+01-0.00000D+00
|
||||
0.50500D+00 0.50000D+01-0.00000D+00
|
||||
|
||||
Successfully eliminated all multimaterial connections.
|
||||
|
||||
The mesh is now complete!
|
||||
|
||||
LaGriT FINISH: connect
|
||||
|
||||
recon/0
|
||||
RECON2D reconnection loop2d: 1
|
||||
RECON: done.
|
||||
finish
|
||||
LaGriT FINISH: recon 0 for connect 2d
|
||||
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
* Add some floating point attributes for interpolate
|
||||
cmo/addatt/cmosource/field3/vdouble/scalar/nnodes
|
||||
cmo/copyatt/cmosource cmosource/field3 xic
|
||||
2121 copied from cmosource xic to -> cmosource field3
|
||||
|
||||
cmo/addatt/cmosink/field2/vdouble/scalar/nnodes
|
||||
cmo/addatt/cmosink/field3/vdouble/scalar/nnodes
|
||||
cmo/setatt/cmosink/field3 0.0
|
||||
2000 values reset for attribute field3
|
||||
|
||||
cmo/setatt/cmosink/field2 0.0
|
||||
2000 values reset for attribute field2
|
||||
|
||||
* turn off debug for the test suite
|
||||
cmo/setatt/cmosink/idebug 0
|
||||
1 values reset for attribute idebug
|
||||
|
||||
cmo/setatt/cmosource/idebug 0
|
||||
1 values reset for attribute idebug
|
||||
|
||||
* each case decreases the values to test precision
|
||||
* Case 01
|
||||
cmo/select/cmosource
|
||||
scale/1 0 0/relative/xyz/1.e10 1.e10 1.0
|
||||
cmo/select/cmosink
|
||||
scale/1 0 0/relative/xyz/1.e10 1.e10 1.0
|
||||
infile diagnostic.mlgi
|
||||
cmo/printatt/cmosource/-xyz-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+10 1.000000000E+10 2121
|
||||
yic 0.000000000E+00 1.000000000E+10 1.000000000E+10 2121
|
||||
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 2121
|
||||
|
||||
cmo/printatt/cmosink/-xyz-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+10 1.000000000E+10 2000
|
||||
yic 0.000000000E+00 1.000000000E+10 1.000000000E+10 2000
|
||||
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 2000
|
||||
|
||||
cmo/printatt/cmosink/xmin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/xmax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xmax 1.000000000E+10 1.000000000E+10 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/ymin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
ymin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/ymax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
ymax 1.000000000E+10 1.000000000E+10 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/zmin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
zmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/zmax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
zmax 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilon/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilon 1.000000004E-15 1.000000004E-15 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilonl/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilonl 3.140184917E-03 3.140184917E-03 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilona/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilona 4.440892099E+07 4.440892099E+07 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilonv/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilonv 4.440892099E+07 4.440892099E+07 0.000000000E+00 1
|
||||
|
||||
finish
|
||||
interpolate/continuous/cmosink field3/1,0,0/cmosource field3
|
||||
nodes in indexed point set = 2000
|
||||
|
||||
INTRP METHOD: continuous FUNCTION: linear
|
||||
TIEBREAKER: maxtie FLAG: plus1 0.200000000000E+01
|
||||
|
||||
cmo select cmosource
|
||||
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 cmosource 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
|
||||
|
||||
501 501 501 25 %
|
||||
1001 1001 1001 50 %
|
||||
1501 1501 1501 75 %
|
||||
2000 2001 2000 100%
|
||||
|
||||
Total Source Elements: 4000
|
||||
Total Sink Nodes: 2000
|
||||
|
||||
|
||||
interpolate/continuous done.
|
||||
|
||||
cmo select cmosink
|
||||
finish
|
||||
cmo kdtree release
|
||||
cmo/DELATT/cmosource/sbox
|
||||
finish
|
||||
cmo/DELATT/cmosource/v12
|
||||
finish
|
||||
cmo/DELATT/cmosource/linkt
|
||||
finish
|
||||
cmo/DELATT/cmosource/v2
|
||||
finish
|
||||
finish
|
||||
cmo printatt cmosource field3 minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
field3 0.000000000E+00 1.000000000E+00 1.000000000E+00 2121
|
||||
|
||||
cmo printatt cmosink field3 minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
field3 0.000000000E+00 1.000000000E+00 1.000000000E+00 2000
|
||||
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
Attribute: field3
|
||||
1 0.00000E+00
|
||||
126 2.63158E-01
|
||||
251 5.26316E-01
|
||||
376 7.89474E-01
|
||||
501 0.00000E+00
|
||||
626 2.63158E-01
|
||||
751 5.26316E-01
|
||||
876 7.89474E-01
|
||||
1001 0.00000E+00
|
||||
1126 2.63158E-01
|
||||
1251 5.26316E-01
|
||||
1376 7.89474E-01
|
||||
1501 0.00000E+00
|
||||
1626 2.63158E-01
|
||||
1751 5.26316E-01
|
||||
1876 7.89474E-01
|
||||
|
||||
* Case 02
|
||||
cmo/select/cmosource
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
cmo/select/cmosink
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
cmo/printatt/cmosource/-xyz-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+12 1.000000000E+12 2121
|
||||
yic 0.000000000E+00 1.000000000E+12 1.000000000E+12 2121
|
||||
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 2121
|
||||
|
||||
cmo/printatt/cmosink/-xyz-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+12 1.000000000E+12 2000
|
||||
yic 0.000000000E+00 1.000000000E+12 1.000000000E+12 2000
|
||||
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 2000
|
||||
|
||||
cmo/printatt/cmosink/xmin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/xmax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xmax 1.000000000E+12 1.000000000E+12 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/ymin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
ymin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/ymax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
ymax 1.000000000E+12 1.000000000E+12 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/zmin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
zmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/zmax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
zmax 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilon/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilon 1.000000004E-15 1.000000004E-15 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilonl/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilonl 3.140184917E-01 3.140184917E-01 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilona/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilona 4.440892099E+11 4.440892099E+11 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilonv/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilonv 4.440892099E+11 4.440892099E+11 0.000000000E+00 1
|
||||
|
||||
finish
|
||||
interpolate/continuous/cmosink field3/1,0,0/cmosource field3
|
||||
nodes in indexed point set = 2000
|
||||
|
||||
INTRP METHOD: continuous FUNCTION: linear
|
||||
TIEBREAKER: maxtie FLAG: plus1 0.200000000000E+01
|
||||
|
||||
cmo select cmosource
|
||||
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 cmosource 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
|
||||
|
||||
501 501 501 25 %
|
||||
1001 1001 1001 50 %
|
||||
1501 1501 1501 75 %
|
||||
2000 2001 2000 100%
|
||||
|
||||
Total Source Elements: 4000
|
||||
Total Sink Nodes: 2000
|
||||
|
||||
|
||||
interpolate/continuous done.
|
||||
|
||||
cmo select cmosink
|
||||
finish
|
||||
cmo kdtree release
|
||||
cmo/DELATT/cmosource/sbox
|
||||
finish
|
||||
cmo/DELATT/cmosource/v12
|
||||
finish
|
||||
cmo/DELATT/cmosource/linkt
|
||||
finish
|
||||
cmo/DELATT/cmosource/v2
|
||||
finish
|
||||
finish
|
||||
cmo printatt cmosink field3 1,2000,100
|
||||
Attribute: field3
|
||||
1 0.00000E+00
|
||||
101 0.00000E+00
|
||||
201 0.00000E+00
|
||||
301 0.00000E+00
|
||||
401 0.00000E+00
|
||||
501 0.00000E+00
|
||||
601 0.00000E+00
|
||||
701 0.00000E+00
|
||||
801 0.00000E+00
|
||||
901 0.00000E+00
|
||||
1001 0.00000E+00
|
||||
1101 0.00000E+00
|
||||
1201 0.00000E+00
|
||||
1301 0.00000E+00
|
||||
1401 0.00000E+00
|
||||
1501 0.00000E+00
|
||||
1601 0.00000E+00
|
||||
1701 0.00000E+00
|
||||
1801 0.00000E+00
|
||||
1901 0.00000E+00
|
||||
|
||||
* dump / avs / out_C02_field3.inp / cmosink
|
||||
* dump / avs / out_C02_field3_src.inp / cmosource
|
||||
* Case 03
|
||||
cmo/select/cmosource
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
cmo/select/cmosink
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
cmo/printatt/cmosource/-xyz-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+14 1.000000000E+14 2121
|
||||
yic 0.000000000E+00 1.000000000E+14 1.000000000E+14 2121
|
||||
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 2121
|
||||
|
||||
cmo/printatt/cmosink/-xyz-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+14 1.000000000E+14 2000
|
||||
yic 0.000000000E+00 1.000000000E+14 1.000000000E+14 2000
|
||||
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 2000
|
||||
|
||||
cmo/printatt/cmosink/xmin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/xmax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xmax 1.000000000E+14 1.000000000E+14 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/ymin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
ymin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/ymax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
ymax 1.000000000E+14 1.000000000E+14 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/zmin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
zmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/zmax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
zmax 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilon/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilon 1.000000004E-15 1.000000004E-15 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilonl/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilonl 3.140184917E+01 3.140184917E+01 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilona/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilona 4.440892099E+15 4.440892099E+15 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilonv/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilonv 4.440892099E+15 4.440892099E+15 0.000000000E+00 1
|
||||
|
||||
finish
|
||||
interpolate/continuous/cmosink field3/1,0,0/cmosource field3
|
||||
nodes in indexed point set = 2000
|
||||
|
||||
INTRP METHOD: continuous FUNCTION: linear
|
||||
TIEBREAKER: maxtie FLAG: plus1 0.200000000000E+01
|
||||
|
||||
cmo select cmosource
|
||||
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 cmosource 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
|
||||
|
||||
501 501 501 25 %
|
||||
1001 1001 1001 50 %
|
||||
1501 1501 1501 75 %
|
||||
2000 2002 2000 100%
|
||||
|
||||
Total Source Elements: 4000
|
||||
Total Sink Nodes: 2000
|
||||
|
||||
|
||||
interpolate/continuous done.
|
||||
|
||||
cmo select cmosink
|
||||
finish
|
||||
cmo kdtree release
|
||||
cmo/DELATT/cmosource/sbox
|
||||
finish
|
||||
cmo/DELATT/cmosource/v12
|
||||
finish
|
||||
cmo/DELATT/cmosource/linkt
|
||||
finish
|
||||
cmo/DELATT/cmosource/v2
|
||||
finish
|
||||
finish
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
Attribute: field3
|
||||
1 0.00000E+00
|
||||
126 2.63158E-01
|
||||
251 5.26316E-01
|
||||
376 7.89474E-01
|
||||
501 0.00000E+00
|
||||
626 2.63158E-01
|
||||
751 5.26316E-01
|
||||
876 7.89474E-01
|
||||
1001 0.00000E+00
|
||||
1126 2.63158E-01
|
||||
1251 5.26316E-01
|
||||
1376 7.89474E-01
|
||||
1501 0.00000E+00
|
||||
1626 2.63158E-01
|
||||
1751 5.26316E-01
|
||||
1876 7.89474E-01
|
||||
|
||||
* Case 04
|
||||
cmo/select/cmosource
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
cmo/select/cmosink
|
||||
scale/1 0 0/relative/xyz/1.e2 1.e2 1.0
|
||||
infile diagnostic.mlgi
|
||||
cmo/printatt/cmosource/-xyz-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+16 1.000000000E+16 2121
|
||||
yic 0.000000000E+00 1.000000000E+16 1.000000000E+16 2121
|
||||
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 2121
|
||||
|
||||
cmo/printatt/cmosink/-xyz-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+16 1.000000000E+16 2000
|
||||
yic 0.000000000E+00 1.000000000E+16 1.000000000E+16 2000
|
||||
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 2000
|
||||
|
||||
cmo/printatt/cmosink/xmin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/xmax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xmax 1.000000000E+16 1.000000000E+16 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/ymin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
ymin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/ymax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
ymax 1.000000000E+16 1.000000000E+16 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/zmin/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
zmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/zmax/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
zmax 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilon/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilon 1.000000004E-15 1.000000004E-15 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilonl/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilonl 3.140184917E+03 3.140184917E+03 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilona/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilona 4.440892099E+19 4.440892099E+19 0.000000000E+00 1
|
||||
|
||||
cmo/printatt/cmosink/epsilonv/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
epsilonv 4.440892099E+19 4.440892099E+19 0.000000000E+00 1
|
||||
|
||||
finish
|
||||
interpolate/continuous/cmosink field3/1,0,0/cmosource field3
|
||||
nodes in indexed point set = 2000
|
||||
|
||||
INTRP METHOD: continuous FUNCTION: linear
|
||||
TIEBREAKER: maxtie FLAG: plus1 0.200000000000E+01
|
||||
|
||||
cmo select cmosource
|
||||
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 cmosource 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
|
||||
|
||||
501 519 501 25 %
|
||||
1001 1041 1001 50 %
|
||||
1501 1593 1501 75 %
|
||||
2000 2217 2000 100%
|
||||
|
||||
Total Source Elements: 4000
|
||||
Total Sink Nodes: 2000
|
||||
|
||||
|
||||
interpolate/continuous done.
|
||||
|
||||
cmo select cmosink
|
||||
finish
|
||||
cmo kdtree release
|
||||
cmo/DELATT/cmosource/sbox
|
||||
finish
|
||||
cmo/DELATT/cmosource/v12
|
||||
finish
|
||||
cmo/DELATT/cmosource/linkt
|
||||
finish
|
||||
cmo/DELATT/cmosource/v2
|
||||
finish
|
||||
finish
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
Attribute: field3
|
||||
1 0.00000E+00
|
||||
126 2.63158E-01
|
||||
251 5.26316E-01
|
||||
376 7.89474E-01
|
||||
501 0.00000E+00
|
||||
626 2.63158E-01
|
||||
751 5.26316E-01
|
||||
876 7.89474E-01
|
||||
1001 0.00000E+00
|
||||
1126 2.63158E-01
|
||||
1251 5.26316E-01
|
||||
1376 7.89474E-01
|
||||
1501 0.00000E+00
|
||||
1626 2.63158E-01
|
||||
1751 5.26316E-01
|
||||
1876 7.89474E-01
|
||||
|
||||
* dump / avs / out_C04_field3.inp / cmosink
|
||||
* dump / avs / out_C04_field3_src.inp / cmosource
|
||||
cmo printatt cmosource -xyz- minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+16 1.000000000E+16 2121
|
||||
yic 0.000000000E+00 1.000000000E+16 1.000000000E+16 2121
|
||||
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 2121
|
||||
|
||||
cmo printatt cmosource field3 minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
field3 0.000000000E+00 1.000000000E+00 1.000000000E+00 2121
|
||||
|
||||
cmo printatt cmosink -xyz- minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+16 1.000000000E+16 2000
|
||||
yic 0.000000000E+00 1.000000000E+16 1.000000000E+16 2000
|
||||
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 2000
|
||||
|
||||
cmo printatt cmosink field3 minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
field3 0.000000000E+00 1.000000000E+00 1.000000000E+00 2000
|
||||
|
||||
cmo printatt cmosink field3 1,2000,125
|
||||
Attribute: field3
|
||||
1 0.00000E+00
|
||||
126 2.63158E-01
|
||||
251 5.26316E-01
|
||||
376 7.89474E-01
|
||||
501 0.00000E+00
|
||||
626 2.63158E-01
|
||||
751 5.26316E-01
|
||||
876 7.89474E-01
|
||||
1001 0.00000E+00
|
||||
1126 2.63158E-01
|
||||
1251 5.26316E-01
|
||||
1376 7.89474E-01
|
||||
1501 0.00000E+00
|
||||
1626 2.63158E-01
|
||||
1751 5.26316E-01
|
||||
1876 7.89474E-01
|
||||
|
||||
* Case 05
|
||||
cmo/set_id/cmosource node/id_node
|
||||
cmo/addatt/cmosource id_node/VINT/scalar/nnodes/linear/permanent//0
|
||||
finish
|
||||
cmo copyatt cmosource cmosource/imt id_node
|
||||
2121 copied from cmosource id_node to -> cmosource imt1
|
||||
|
||||
cmo/set_id/cmosource element/id_elem
|
||||
cmo/addatt/cmosource id_elem/VINT/scalar/nelements/linear/permanent//0
|
||||
finish
|
||||
interpolate/map/cmosink field2/1,0,0/cmosource id_elem/keepatt/nearest imt
|
||||
nodes in indexed point set = 2000
|
||||
|
||||
WARNING: attribute types differ: VDOUBLE VINT
|
||||
|
||||
cmo/addatt/cmosink/pt_gtg/VINT/scalar/nnodes//permanent/agfx/0
|
||||
finish
|
||||
cmo/addatt/cmosink/el_gtg/VINT/scalar/nnodes//permanent/agfx/0
|
||||
finish
|
||||
|
||||
INTRP METHOD: map FUNCTION: linear
|
||||
TIEBREAKER: maxtie FLAG: nearest imt
|
||||
|
||||
pt_gtg attribute will be added and kept.
|
||||
el_gtg attribute will be added and kept.
|
||||
Building pt_gtg for nearest point flag, element search follows.
|
||||
|
||||
Build kdtree0 done - assign nearest node for each.
|
||||
|
||||
|
||||
Sink point Points Searched Points Found Percent Done
|
||||
|
||||
501 501 501 25 %
|
||||
1001 1001 1001 50 %
|
||||
1501 1501 1501 75 %
|
||||
2000 2000 2000 100%
|
||||
|
||||
Total Source Nodes: 2121
|
||||
Total Sink Nodes: 2000
|
||||
|
||||
cmo select cmosource
|
||||
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 cmosource 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
|
||||
|
||||
501 519 501 25 %
|
||||
1001 1041 1001 50 %
|
||||
1501 1593 1501 75 %
|
||||
2000 2217 2000 100%
|
||||
|
||||
Total Source Elements: 4000
|
||||
Total Sink Nodes: 2000
|
||||
|
||||
|
||||
interpolate/map done.
|
||||
|
||||
cmo select cmosink
|
||||
finish
|
||||
cmo kdtree release
|
||||
cmo/DELATT/cmosource/sbox
|
||||
finish
|
||||
cmo/DELATT/cmosource/v12
|
||||
finish
|
||||
cmo/DELATT/cmosource/linkt
|
||||
finish
|
||||
cmo/DELATT/cmosource/v2
|
||||
finish
|
||||
finish
|
||||
* dump / avs / out_C05a_field2.inp / cmosink
|
||||
* dump / avs / out_C05a_id_elem_src.inp / cmosource
|
||||
cmo printatt cmosource id_elem minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
id_elem 1 4000 3999 4000
|
||||
|
||||
cmo printatt cmosink field2 minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
field2 1.000000000E+00 3.998000000E+03 3.997000000E+03 2000
|
||||
|
||||
cmo printatt cmosink field2 100,2000,100
|
||||
Attribute: field2
|
||||
100 2.50000E+01
|
||||
200 3.51800E+03
|
||||
300 1.29200E+03
|
||||
400 2.30000E+03
|
||||
500 3.05600E+03
|
||||
600 7.60000E+01
|
||||
700 1.83900E+03
|
||||
800 3.59300E+03
|
||||
900 3.35100E+03
|
||||
1000 3.48000E+02
|
||||
1100 2.87900E+03
|
||||
1200 3.39200E+03
|
||||
1300 1.15700E+03
|
||||
1400 2.66800E+03
|
||||
1500 3.42500E+03
|
||||
1600 3.93800E+03
|
||||
1700 6.94000E+02
|
||||
1800 4.74000E+02
|
||||
1900 3.72800E+03
|
||||
2000 7.27000E+02
|
||||
|
||||
cmo printatt cmosink pt_gtg 100,2000,100
|
||||
Attribute: pt_gtg
|
||||
100 105
|
||||
200 210
|
||||
300 315
|
||||
400 420
|
||||
500 525
|
||||
600 630
|
||||
700 735
|
||||
800 840
|
||||
900 945
|
||||
1000 1050
|
||||
1100 1176
|
||||
1200 1281
|
||||
1300 1386
|
||||
1400 1491
|
||||
1500 1596
|
||||
1600 1701
|
||||
1700 1806
|
||||
1800 1911
|
||||
1900 2016
|
||||
2000 2121
|
||||
|
||||
cmo printatt cmosink el_gtg 100,2000,100
|
||||
Attribute: el_gtg
|
||||
100 25
|
||||
200 3518
|
||||
300 1292
|
||||
400 2300
|
||||
500 3056
|
||||
600 76
|
||||
700 1839
|
||||
800 3593
|
||||
900 3351
|
||||
1000 348
|
||||
1100 2879
|
||||
1200 3392
|
||||
1300 1157
|
||||
1400 2668
|
||||
1500 3425
|
||||
1600 3938
|
||||
1700 694
|
||||
1800 474
|
||||
1900 3728
|
||||
2000 727
|
||||
|
||||
* result should be same using attributes again
|
||||
* pre V2.2 code has wrong result at point 2000
|
||||
cmo/setatt/cmosink/idebug 0
|
||||
1 values reset for attribute idebug
|
||||
|
||||
cmo/setatt/cmosource/idebug 0
|
||||
1 values reset for attribute idebug
|
||||
|
||||
interpolate/map/cmosink field2/1,0,0/cmosource id_elem/keepatt/nearest imt
|
||||
nodes in indexed point set = 2000
|
||||
|
||||
WARNING: attribute types differ: VDOUBLE VINT
|
||||
|
||||
|
||||
INTRP METHOD: map FUNCTION: linear
|
||||
TIEBREAKER: maxtie FLAG: nearest imt
|
||||
|
||||
pt_gtg attribute will be added and kept.
|
||||
Building pt_gtg for nearest point flag, element search follows.
|
||||
SKIPPING POINT SEARCH... using lookup attribute pt_gtg
|
||||
501 501 501 25 %
|
||||
1001 1001 1001 50 %
|
||||
1501 1501 1501 75 %
|
||||
2000 2000 2000 100%
|
||||
|
||||
Total Source Nodes: 2121
|
||||
Total Sink Nodes: 2000
|
||||
|
||||
SKIPPING ELEMENT SEARCH... using lookup attribute el_gtg
|
||||
501 501 501 25 %
|
||||
1001 1001 1001 50 %
|
||||
1501 1501 1501 75 %
|
||||
2000 2000 2000 100%
|
||||
|
||||
Total Source Elements: 4000
|
||||
Total Sink Nodes: 2000
|
||||
|
||||
|
||||
interpolate/map done.
|
||||
|
||||
cmo select cmosink
|
||||
finish
|
||||
cmo printatt cmosource id_elem minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
id_elem 1 4000 3999 4000
|
||||
|
||||
cmo printatt cmosink field2 minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
field2 1.000000000E+00 3.998000000E+03 3.997000000E+03 2000
|
||||
|
||||
cmo printatt cmosink field2 100,2000,100
|
||||
Attribute: field2
|
||||
100 2.50000E+01
|
||||
200 3.51800E+03
|
||||
300 1.29200E+03
|
||||
400 2.30000E+03
|
||||
500 3.05600E+03
|
||||
600 7.60000E+01
|
||||
700 1.83900E+03
|
||||
800 3.59300E+03
|
||||
900 3.35100E+03
|
||||
1000 3.48000E+02
|
||||
1100 2.87900E+03
|
||||
1200 3.39200E+03
|
||||
1300 1.15700E+03
|
||||
1400 2.66800E+03
|
||||
1500 3.42500E+03
|
||||
1600 3.93800E+03
|
||||
1700 6.94000E+02
|
||||
1800 4.74000E+02
|
||||
1900 3.72800E+03
|
||||
2000 7.27000E+02
|
||||
|
||||
cmo printatt cmosink pt_gtg 100,2000,100
|
||||
Attribute: pt_gtg
|
||||
100 105
|
||||
200 210
|
||||
300 315
|
||||
400 420
|
||||
500 525
|
||||
600 630
|
||||
700 735
|
||||
800 840
|
||||
900 945
|
||||
1000 1050
|
||||
1100 1176
|
||||
1200 1281
|
||||
1300 1386
|
||||
1400 1491
|
||||
1500 1596
|
||||
1600 1701
|
||||
1700 1806
|
||||
1800 1911
|
||||
1900 2016
|
||||
2000 2121
|
||||
|
||||
cmo printatt cmosink el_gtg 100,2000,100
|
||||
Attribute: el_gtg
|
||||
100 25
|
||||
200 3518
|
||||
300 1292
|
||||
400 2300
|
||||
500 3056
|
||||
600 76
|
||||
700 1839
|
||||
800 3593
|
||||
900 3351
|
||||
1000 348
|
||||
1100 2879
|
||||
1200 3392
|
||||
1300 1157
|
||||
1400 2668
|
||||
1500 3425
|
||||
1600 3938
|
||||
1700 694
|
||||
1800 474
|
||||
1900 3728
|
||||
2000 727
|
||||
|
||||
* dump / avs / out_C05b_field2.inp / cmosink
|
||||
* dump / avs / out_C05b_id_elem_src.inp / cmosource
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
Reference in New Issue
Block a user