initial upload

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

227
test/level01/filter/input.lgi Executable file
View File

@@ -0,0 +1,227 @@
# TEST FILTERKD and FILTER INPUT OPTIONS
# with DUP POINTS, OVERLAP, ZERO VOLUME
# see test createpts_filter
# for precision tests betweeen
# filter and filterkd on points
#
# Note dump/gmv are commented out
# uncomment to view dudded nodes before
# and after they are removed from mesh object
#----------------------------------------------
# CREATE INPUT MESH OBJECT FOR ALL OPTIONS
# Merge hex elements so they overlap
# make a flat layer of elements
cmo/create/mo1
createpts/brick/xyz/5 3 4/0. 0. 0./10. 10. 6./1 1 1
rmpoint compress ; resetpts itp
cmo setatt mo1 itetclr 1
cmo setatt mo1 imt 1
cmo/create/mo2
createpts/brick/xyz/5 3 4/0. 0. 4./10. 10. 10./1 1 1
rmpoint compress ; resetpts itp
cmo setatt mo2 itetclr 2
cmo setatt mo2 imt 2
addmesh/merge/mohex_all/ mo1 mo2
cmo/select/mohex_all
pset/pz/attribute zic/1,0,0/ eq 10.
cmo/setatt/mohex_all/ zic pset,get,pz 8.
# dump gmv input_all_options.gmv mohex_all
# INPUT POINTS NO ELEMENTS
cmo/create/mopts
copypts/mopts/mohex_all
# dump gmv input_noelems.gmv mopts
# INPUT DUP POINTS, NO OVERLAP, NO ZERO
cmo/copy/mohex_pts/ mo1
copypts/mohex_pts/mo1/ 0,0 /1,0,0
# dump gmv input_duppts.gmv mohex_pts
cmo/delete mo1
cmo/delete mo2
# INPUT MESH OBJECTS
cmo/status/ brief
#########################################
# TEST 1
# NO ELEMENTS, 45 DUP POINTS
# 120 nodes
cmo /copy /mof_pts / mopts
cmo / select / mof_pts
*--------------------------*
filter /1 0 0
# dump out_fpts.gmv mof_pts
rmpoint/compress
# dump out_fpts_rm.gmv mof_pts
cmo /copy /mokd_pts / mopts
cmo / select / mokd_pts
*--------------------------*
filterkd /1 0 0
# dump out_fpts.gmv mokd_pts
rmpoint/compress
# dump out_fpts_rm.gmv mokd_pts
#########################################
# TEST 2
# ELEMENTS, 8 OVERLAP, 8 ZERO, 45 DUP POINTS
# 120 nodes 48 elements
cmo /copy /mof_all / mohex_all
cmo / select / mof_all
*--------------------------*
filter /1 0 0
# dump out_fall.gmv mof_all
rmpoint/compress
# dump out_fall_rm.gmv mof_all
cmo /copy /mokd_all / mohex_all
cmo / select / mokd_all
*--------------------------*
filterkd /1 0 0/
# dump out_fkd_all.gmv mokd_all
rmpoint/compress
# dump out_fkd_all_rm.gmv mokd_all
cmo /copy /mokd_rm0 / mohex_all
cmo / select / mokd_rm0
*--------------------------*
filterkd /1 0 0/ /zero_element
# dump out_fkd_rm0.gmv mokd_rm0
rmpoint/compress
# dump out_fkd_rm0_rm.gmv mokd_rm0
#########################################
# TEST 3
# ELEMENTS, NO OVERLAP NO ZERO, 30 DUP POINTS
cmo /copy /mof_allp / mohex_pts
cmo / select / mof_allp
*--------------------------*
filter /1 0 0
# dump out_fallp.gmv mof_allp
rmpoint/compress
# dump out_fallp_rm.gmv mof_allp
cmo /copy /mokd_allp / mohex_pts
cmo / select / mokd_allp
*--------------------------*
filterkd /1 0 0/ /nocheck
# dump out_fkd_allp.gmv mokd_allp
rmpoint/compress
# dump out_fkd_allp_rm.gmv mokd_allp
cmo /copy /mokd_rm0p / mohex_pts
cmo / select / mokd_rm0p
*--------------------------*
filterkd /1 0 0/ / zero_element
# dump out_fkd_rm0p.gmv mokd_rm0p
rmpoint/compress
# dump out_fkd_rm0p_rm.gmv mokd_rm0p
cmo/status/ brief
#########################################
# TEST PSET
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1 / / nocheck
cmo/delete/motmp
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1/.0001 nocheck
cmo/delete/motmp
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1/ nocheck
cmo/delete/motmp
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1/ .0001
cmo/delete/motmp
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1
cmo/delete/motmp
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1/ .0001 zero_element
cmo/delete/motmp
#########################################
# TEST OPTIONS
# nocheck, no zero_element
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ / nocheck
cmo/delete/motmp
# nocheck, no zero element
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ nocheck
cmo/delete/motmp
# no zero_element
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/
cmo/delete/motmp
# zero_element
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ zero_element
cmo/delete/motmp
# zero_element with eps
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ .0001 zero_element
cmo/delete/motmp
# nocheck with eps
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ .0001 nocheck
cmo/delete/motmp
# eps with no zero_element
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ .0001
cmo/delete/motmp
# min option not available
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ .0001 min
cmo/delete/motmp
# element not valid option
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/ element
cmo/delete/motmp
# DONE
finish

View File

@@ -0,0 +1,227 @@
# TEST FILTERKD and FILTER INPUT OPTIONS
# with DUP POINTS, OVERLAP, ZERO VOLUME
# see test createpts_filter
# for precision tests betweeen
# filter and filterkd on points
#
# Note dump/gmv are commented out
# uncomment to view dudded nodes before
# and after they are removed from mesh object
#----------------------------------------------
# CREATE INPUT MESH OBJECT FOR ALL OPTIONS
# Merge hex elements so they overlap
# make a flat layer of elements
cmo/create/mo1
createpts/brick/xyz/5 3 4/0. 0. 0./10. 10. 6./1 1 1
rmpoint compress ; resetpts itp
cmo setatt mo1 itetclr 1
cmo setatt mo1 imt 1
cmo/create/mo2
createpts/brick/xyz/5 3 4/0. 0. 4./10. 10. 10./1 1 1
rmpoint compress ; resetpts itp
cmo setatt mo2 itetclr 2
cmo setatt mo2 imt 2
addmesh/merge/mohex_all/ mo1 mo2
cmo/select/mohex_all
pset/pz/attribute zic/1,0,0/ eq 10.
cmo/setatt/mohex_all/ zic pset,get,pz 8.
# dump gmv input_all_options.gmv mohex_all
# INPUT POINTS NO ELEMENTS
cmo/create/mopts
copypts/mopts/mohex_all
# dump gmv input_noelems.gmv mopts
# INPUT DUP POINTS, NO OVERLAP, NO ZERO
cmo/copy/mohex_pts/ mo1
copypts/mohex_pts/mo1/ 0,0 /1,0,0
# dump gmv input_duppts.gmv mohex_pts
cmo/delete mo1
cmo/delete mo2
# INPUT MESH OBJECTS
cmo/status/ brief
#########################################
# TEST 1
# NO ELEMENTS, 45 DUP POINTS
# 120 nodes
cmo /copy /mof_pts / mopts
cmo / select / mof_pts
*--------------------------*
filter /1 0 0
# dump out_fpts.gmv mof_pts
rmpoint/compress
# dump out_fpts_rm.gmv mof_pts
cmo /copy /mokd_pts / mopts
cmo / select / mokd_pts
*--------------------------*
filterkd /1 0 0
# dump out_fpts.gmv mokd_pts
rmpoint/compress
# dump out_fpts_rm.gmv mokd_pts
#########################################
# TEST 2
# ELEMENTS, 8 OVERLAP, 8 ZERO, 45 DUP POINTS
# 120 nodes 48 elements
cmo /copy /mof_all / mohex_all
cmo / select / mof_all
*--------------------------*
filter /1 0 0
# dump out_fall.gmv mof_all
rmpoint/compress
# dump out_fall_rm.gmv mof_all
cmo /copy /mokd_all / mohex_all
cmo / select / mokd_all
*--------------------------*
filterkd /1 0 0/
# dump out_fkd_all.gmv mokd_all
rmpoint/compress
# dump out_fkd_all_rm.gmv mokd_all
cmo /copy /mokd_rm0 / mohex_all
cmo / select / mokd_rm0
*--------------------------*
filterkd /1 0 0/ /zero_element
# dump out_fkd_rm0.gmv mokd_rm0
rmpoint/compress
# dump out_fkd_rm0_rm.gmv mokd_rm0
#########################################
# TEST 3
# ELEMENTS, NO OVERLAP NO ZERO, 30 DUP POINTS
cmo /copy /mof_allp / mohex_pts
cmo / select / mof_allp
*--------------------------*
filter /1 0 0
# dump out_fallp.gmv mof_allp
rmpoint/compress
# dump out_fallp_rm.gmv mof_allp
cmo /copy /mokd_allp / mohex_pts
cmo / select / mokd_allp
*--------------------------*
filterkd /1 0 0/ /nocheck
# dump out_fkd_allp.gmv mokd_allp
rmpoint/compress
# dump out_fkd_allp_rm.gmv mokd_allp
cmo /copy /mokd_rm0p / mohex_pts
cmo / select / mokd_rm0p
*--------------------------*
filterkd /1 0 0/ / zero_element
# dump out_fkd_rm0p.gmv mokd_rm0p
rmpoint/compress
# dump out_fkd_rm0p_rm.gmv mokd_rm0p
cmo/status/ brief
#########################################
# TEST PSET
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1 / / nocheck
cmo/delete/motmp
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1/.0001 nocheck
cmo/delete/motmp
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1/ nocheck
cmo/delete/motmp
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1/ .0001
cmo/delete/motmp
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1
cmo/delete/motmp
cmo/copy/motmp/ mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/ lt 3.
filterkd/pset,get,p1/ .0001 zero_element
cmo/delete/motmp
#########################################
# TEST OPTIONS
# nocheck, no zero_element
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ / nocheck
cmo/delete/motmp
# nocheck, no zero element
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ nocheck
cmo/delete/motmp
# no zero_element
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/
cmo/delete/motmp
# zero_element
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ zero_element
cmo/delete/motmp
# zero_element with eps
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ .0001 zero_element
cmo/delete/motmp
# nocheck with eps
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ .0001 nocheck
cmo/delete/motmp
# eps with no zero_element
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ .0001
cmo/delete/motmp
# min option not available
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/1,0,0/ .0001 min
cmo/delete/motmp
# element not valid option
cmo/copy/motmp/ mohex_all
cmo/select/motmp
filterkd/ element
cmo/delete/motmp
# DONE
finish

View File

@@ -0,0 +1,123 @@
cmo/create/mo1
createpts/brick/xyz/5 3 4/0. 0. 0./10. 10. 6./1 1 1
rmpoint compress
resetpts itp
cmo setatt mo1 itetclr 1
cmo setatt mo1 imt 1
cmo/create/mo2
createpts/brick/xyz/5 3 4/0. 0. 4./10. 10. 10./1 1 1
rmpoint compress
resetpts itp
cmo setatt mo2 itetclr 2
cmo setatt mo2 imt 2
addmesh/merge/mohex_all/mo1 mo2
cmo/select/mohex_all
pset/pz/attribute zic/1,0,0/eq 10.
cmo/setatt/mohex_all/zic pset,get,pz 8.
cmo/create/mopts
copypts/mopts/mohex_all
cmo/copy/mohex_pts/mo1
copypts/mohex_pts/mo1/0,0/1,0,0
cmo/delete mo1
cmo/delete mo2
cmo/status/brief
cmo/copy/mof_pts/mopts
cmo/select/mof_pts
filter/1 0 0
rmpoint/compress
cmo/copy/mokd_pts/mopts
cmo/select/mokd_pts
filterkd/1 0 0
rmpoint/compress
cmo/copy/mof_all/mohex_all
cmo/select/mof_all
filter/1 0 0
rmpoint/compress
cmo/copy/mokd_all/mohex_all
cmo/select/mokd_all
filterkd/1 0 0/
rmpoint/compress
cmo/copy/mokd_rm0/mohex_all
cmo/select/mokd_rm0
filterkd/1 0 0//zero_element
rmpoint/compress
cmo/copy/mof_allp/mohex_pts
cmo/select/mof_allp
filter/1 0 0
rmpoint/compress
cmo/copy/mokd_allp/mohex_pts
cmo/select/mokd_allp
filterkd/1 0 0//nocheck
rmpoint/compress
cmo/copy/mokd_rm0p/mohex_pts
cmo/select/mokd_rm0p
filterkd/1 0 0//zero_element
rmpoint/compress
cmo/status/brief
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
filterkd/pset,get,p1//nocheck
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
filterkd/pset,get,p1/.0001 nocheck
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
filterkd/pset,get,p1/nocheck
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
filterkd/pset,get,p1/.0001
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
filterkd/pset,get,p1
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
filterkd/pset,get,p1/.0001 zero_element
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0//nocheck
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/nocheck
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/zero_element
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/.0001 zero_element
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/.0001 nocheck
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/.0001
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/.0001 min
cmo/delete/motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/element
cmo/delete/motmp
finish

View File

@@ -0,0 +1,483 @@
* * * * * * * * * * * * * * * * * * * * * * * * *
* * *
* * Program: LaGriT V3.330 Linux *
* * date_compile: 2021/10/15 test *
* * Run Time: 2021/Nov 4 15:32:54 *
* * 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 FILTERKD and FILTER INPUT OPTIONS
# with DUP POINTS, OVERLAP, ZERO VOLUME
# see test createpts_filter
# for precision tests betweeen
# filter and filterkd on points
#
# Note dump/gmv are commented out
# uncomment to view dudded nodes before
# and after they are removed from mesh object
#----------------------------------------------
# CREATE INPUT MESH OBJECT FOR ALL OPTIONS
# Merge hex elements so they overlap
# make a flat layer of elements
cmo/create/mo1
createpts/brick/xyz/5 3 4/0. 0. 0./10. 10. 6./1 1 1
Number of nodes: 60
Number of elements: 24
Number of negative volume elements: 0
Total volume: 0.600000000000E+03
rmpoint compress
0 points removed and 0 elements removed.
RMPOINT: new point count is 60
RMPOINT: new element count is 24
resetpts itp
geniee
finish
cmo setatt mo1 itetclr 1
24 values reset for attribute itetclr
cmo setatt mo1 imt 1
60 values reset for attribute imt1
cmo/create/mo2
createpts/brick/xyz/5 3 4/0. 0. 4./10. 10. 10./1 1 1
Number of nodes: 60
Number of elements: 24
Number of negative volume elements: 0
Total volume: 0.600000000000E+03
rmpoint compress
0 points removed and 0 elements removed.
RMPOINT: new point count is 60
RMPOINT: new element count is 24
resetpts itp
geniee
finish
cmo setatt mo2 itetclr 2
24 values reset for attribute itetclr
cmo setatt mo2 imt 2
60 values reset for attribute imt1
addmesh/merge/mohex_all/mo1 mo2
cmo/select/mohex_all
pset/pz/attribute zic/1,0,0/eq 10.
THE PSET pz HAS 15 POINTS
cmo/setatt/mohex_all/zic pset,get,pz 8.
15 values reset for attribute zic
# dump gmv input_all_options.gmv mohex_all
# INPUT POINTS NO ELEMENTS
cmo/create/mopts
copypts/mopts/mohex_all
copypts added nodes 1 to 120
# dump gmv input_noelems.gmv mopts
# INPUT DUP POINTS, NO OVERLAP, NO ZERO
cmo/copy/mohex_pts/mo1
copypts/mohex_pts/mo1/0,0/1,0,0
copypts added nodes 61 to 120
# dump gmv input_duppts.gmv mohex_pts
cmo/delete mo1
Released Mesh Object: mo1
cmo/delete mo2
Released Mesh Object: mo2
# INPUT MESH OBJECTS
cmo/status/brief
The current-mesh-object(CMO) is: mohex_all
1 Mesh Object name: mohex_all
number of nodes = 120 number of elements = 48
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = active
2 Mesh Object name: mopts
number of nodes = 120 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
3 Mesh Object name: mohex_pts
number of nodes = 120 number of elements = 24
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = inactive
#########################################
# TEST 1
# NO ELEMENTS, 45 DUP POINTS
# 120 nodes
cmo/copy/mof_pts/mopts
cmo/select/mof_pts
*--------------------------*
filter/1 0 0
FILTER:Use internal epsilonl value = 0.360779779591E-11
FILTER:Dudding duplicate points: 45
# dump out_fpts.gmv mof_pts
rmpoint/compress
45 points removed and 0 elements removed.
RMPOINT: new point count is 75
RMPOINT: new element count is 0
# dump out_fpts_rm.gmv mof_pts
cmo/copy/mokd_pts/mopts
cmo/select/mokd_pts
*--------------------------*
filterkd/1 0 0
FILTERKD:Use internal epsilonl value = 0.360779779591E-11
FILTERKD:Dudding duplicate points: 45
# dump out_fpts.gmv mokd_pts
rmpoint/compress
45 points removed and 0 elements removed.
RMPOINT: new point count is 75
RMPOINT: new element count is 0
# dump out_fpts_rm.gmv mokd_pts
#########################################
# TEST 2
# ELEMENTS, 8 OVERLAP, 8 ZERO, 45 DUP POINTS
# 120 nodes 48 elements
cmo/copy/mof_all/mohex_all
cmo/select/mof_all
*--------------------------*
filter/1 0 0
FILTER:Use internal epsilonl value = 0.341111394591E-11
FILTER:Dudding duplicate points: 45
# dump out_fall.gmv mof_all
rmpoint/compress
45 points removed and 0 elements removed.
RMPOINT: new point count is 75
RMPOINT: new element count is 48
# dump out_fall_rm.gmv mof_all
cmo/copy/mokd_all/mohex_all
cmo/select/mokd_all
*--------------------------*
filterkd/1 0 0/
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD:Dudding duplicate points: 45
# dump out_fkd_all.gmv mokd_all
rmpoint/compress
45 points removed and 0 elements removed.
RMPOINT: new point count is 75
RMPOINT: new element count is 48
# dump out_fkd_all_rm.gmv mokd_all
cmo/copy/mokd_rm0/mohex_all
cmo/select/mokd_rm0
*--------------------------*
filterkd/1 0 0//zero_element
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD: option zero_element
FILTERKD: dudding for zero elements only
FILTERKD:Dudding zero element points: 8
FILTERKD:Marking zero elements: 8
rmpoint/element
Dudded 15 points plus parents, and 8 elements removed.
finish
# dump out_fkd_rm0.gmv mokd_rm0
rmpoint/compress
15 points removed and 0 elements removed.
RMPOINT: new point count is 105
RMPOINT: new element count is 40
# dump out_fkd_rm0_rm.gmv mokd_rm0
#########################################
# TEST 3
# ELEMENTS, NO OVERLAP NO ZERO, 30 DUP POINTS
cmo/copy/mof_allp/mohex_pts
cmo/select/mof_allp
*--------------------------*
filter/1 0 0
FILTER:Use internal epsilonl value = 0.341111394591E-11
FILTER:Dudding duplicate points: 60
# dump out_fallp.gmv mof_allp
rmpoint/compress
60 points removed and 0 elements removed.
RMPOINT: new point count is 60
RMPOINT: new element count is 24
# dump out_fallp_rm.gmv mof_allp
cmo/copy/mokd_allp/mohex_pts
cmo/select/mokd_allp
*--------------------------*
filterkd/1 0 0//nocheck
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD: option nocheck
FILTERKD:Dudding duplicate points: 60
# dump out_fkd_allp.gmv mokd_allp
rmpoint/compress
60 points removed and 0 elements removed.
RMPOINT: new point count is 60
RMPOINT: new element count is 24
# dump out_fkd_allp_rm.gmv mokd_allp
cmo/copy/mokd_rm0p/mohex_pts
cmo/select/mokd_rm0p
*--------------------------*
filterkd/1 0 0//zero_element
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD: option zero_element
FILTERKD: dudding for zero elements only
FILTERKD:Dudding zero element points: 0
FILTERKD:Marking zero elements: 0
rmpoint/element
Dudded 0 points plus parents, and 0 elements removed.
finish
# dump out_fkd_rm0p.gmv mokd_rm0p
rmpoint/compress
0 points removed and 0 elements removed.
RMPOINT: new point count is 120
RMPOINT: new element count is 24
# dump out_fkd_rm0p_rm.gmv mokd_rm0p
cmo/status/brief
The current-mesh-object(CMO) is: mokd_rm0p
1 Mesh Object name: mohex_all
number of nodes = 120 number of elements = 48
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = inactive
2 Mesh Object name: mopts
number of nodes = 120 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
3 Mesh Object name: mohex_pts
number of nodes = 120 number of elements = 24
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = inactive
4 Mesh Object name: mof_pts
number of nodes = 75 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
5 Mesh Object name: mokd_pts
number of nodes = 75 number of elements = 0
dimensions geometry = 3 element type = tet
dimensions topology = 3 4 nodes 4 faces 6 edges
boundary flag = 16000000 status = inactive
6 Mesh Object name: mof_all
number of nodes = 75 number of elements = 48
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = inactive
7 Mesh Object name: mokd_all
number of nodes = 75 number of elements = 48
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = inactive
8 Mesh Object name: mokd_rm0
number of nodes = 105 number of elements = 40
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = inactive
9 Mesh Object name: mof_allp
number of nodes = 60 number of elements = 24
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = inactive
10 Mesh Object name: mokd_allp
number of nodes = 60 number of elements = 24
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = inactive
11 Mesh Object name: mokd_rm0p
number of nodes = 120 number of elements = 24
dimensions geometry = 3 element type = hex
dimensions topology = 3 8 nodes 6 faces 12 edges
boundary flag = 16000000 status = active
#########################################
# TEST PSET
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
THE PSET p1 HAS 48 POINTS
filterkd/pset,get,p1//nocheck
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD: option nocheck
FILTERKD:Dudding duplicate points: 18
cmo/delete/motmp
Released Mesh Object: motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
THE PSET p1 HAS 48 POINTS
filterkd/pset,get,p1/.0001 nocheck
FILTERKD:User specified value = 0.100000000000E-03
FILTERKD: option nocheck
FILTERKD:Dudding duplicate points: 18
cmo/delete/motmp
Released Mesh Object: motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
THE PSET p1 HAS 48 POINTS
filterkd/pset,get,p1/nocheck
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD: option nocheck
FILTERKD:Dudding duplicate points: 18
cmo/delete/motmp
Released Mesh Object: motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
THE PSET p1 HAS 48 POINTS
filterkd/pset,get,p1/.0001
FILTERKD:User specified value = 0.100000000000E-03
FILTERKD:Dudding duplicate points: 18
cmo/delete/motmp
Released Mesh Object: motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
THE PSET p1 HAS 48 POINTS
filterkd/pset,get,p1
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD:Dudding duplicate points: 18
cmo/delete/motmp
Released Mesh Object: motmp
cmo/copy/motmp/mohex_all
cmo/select/motmp
pset/p1/attribute xic/1,0,0/lt 3.
THE PSET p1 HAS 48 POINTS
filterkd/pset,get,p1/.0001 zero_element
FILTERKD:User specified value = 0.100000000000E-03
FILTERKD: option zero_element
FILTERKD: dudding for zero elements only
FILTERKD:Dudding zero element points: 4
FILTERKD:Marking zero elements: 4
rmpoint/element
Dudded 6 points plus parents, and 4 elements removed.
finish
cmo/delete/motmp
Released Mesh Object: motmp
#########################################
# TEST OPTIONS
# nocheck, no zero_element
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0//nocheck
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD: option nocheck
FILTERKD:Dudding duplicate points: 45
cmo/delete/motmp
Released Mesh Object: motmp
# nocheck, no zero element
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/nocheck
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD: option nocheck
FILTERKD:Dudding duplicate points: 45
cmo/delete/motmp
Released Mesh Object: motmp
# no zero_element
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD:Dudding duplicate points: 45
cmo/delete/motmp
Released Mesh Object: motmp
# zero_element
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/zero_element
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD: option zero_element
FILTERKD: dudding for zero elements only
FILTERKD:Dudding zero element points: 8
FILTERKD:Marking zero elements: 8
rmpoint/element
Dudded 15 points plus parents, and 8 elements removed.
finish
cmo/delete/motmp
Released Mesh Object: motmp
# zero_element with eps
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/.0001 zero_element
FILTERKD:User specified value = 0.100000000000E-03
FILTERKD: option zero_element
FILTERKD: dudding for zero elements only
FILTERKD:Dudding zero element points: 8
FILTERKD:Marking zero elements: 8
rmpoint/element
Dudded 15 points plus parents, and 8 elements removed.
finish
cmo/delete/motmp
Released Mesh Object: motmp
# nocheck with eps
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/.0001 nocheck
FILTERKD:User specified value = 0.100000000000E-03
FILTERKD: option nocheck
FILTERKD:Dudding duplicate points: 45
cmo/delete/motmp
Released Mesh Object: motmp
# eps with no zero_element
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/.0001
FILTERKD:User specified value = 0.100000000000E-03
FILTERKD:Dudding duplicate points: 45
cmo/delete/motmp
Released Mesh Object: motmp
# min option not available
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/1,0,0/.0001 min
FILTERKD:User specified value = 0.100000000000E-03
FILTERKD:INVALID option min, use filter
cmo/delete/motmp
Released Mesh Object: motmp
# element not valid option
cmo/copy/motmp/mohex_all
cmo/select/motmp
filterkd/element
illegal pset designation element returns empty pset
FILTERKD:Use internal epsilonl value = 0.341111394591E-11
FILTERKD:INVALID option element, use filter/element
cmo/delete/motmp
Released Mesh Object: motmp
# DONE
finish
LaGriT successfully completed