initial upload
This commit is contained in:
105
test/level01/recon1/reference/input.lgi
Executable file
105
test/level01/recon1/reference/input.lgi
Executable file
@@ -0,0 +1,105 @@
|
||||
# Test recon
|
||||
|
||||
##############################################
|
||||
# seven triangles with materials set
|
||||
cmo / create / mo / / / triplane
|
||||
read / avs / input_fan.inp / mo
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
resetpts / itp
|
||||
|
||||
cmo setatt mo itetclr 1
|
||||
cmo setatt mo itetclr 1 1 1 5
|
||||
cmo setatt mo itetclr 2 2 1 2
|
||||
cmo setatt mo itetclr 3 3 1 3
|
||||
cmo setatt mo itetclr 4 4 1 4
|
||||
cmo setatt mo itetclr 5 5 1 1
|
||||
cmo printatt mo itetclr
|
||||
|
||||
# set double defined points
|
||||
settets parents
|
||||
cmo printatt mo itetclr
|
||||
cmo printatt mo imt1
|
||||
|
||||
# set node imt1 based on element color
|
||||
resetpts / itp
|
||||
settets color_points
|
||||
resetpts / itp
|
||||
cmo printatt mo itetclr
|
||||
cmo printatt mo imt1
|
||||
dump / avs / output_fan_connect.inp / mo
|
||||
quality
|
||||
|
||||
cmo setatt mo idebug 1
|
||||
recon 1
|
||||
cmo status mo
|
||||
quality
|
||||
dump / avs / output_fan_recon1.inp / mo
|
||||
|
||||
cmo / delete / mo
|
||||
|
||||
|
||||
##############################################
|
||||
# single triangle with angle slightly gt 90
|
||||
# should output 2 elements and 4 points
|
||||
cmo / create / mo / / / triplane
|
||||
read / avs / input_tri1a.inp / mo
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
resetpts / itp
|
||||
quality
|
||||
dump / avs / output_tri1a_connect.inp / mo
|
||||
|
||||
cmo setatt mo idebug 1
|
||||
recon 1
|
||||
cmo status mo
|
||||
dump / avs / output_tri1a_recon1.inp / mo
|
||||
|
||||
cmo select mo
|
||||
quality
|
||||
cmo / delete / mo
|
||||
|
||||
##############################################
|
||||
# single triangle with extreme angle gt 90
|
||||
# should output 3 elements and 5 points
|
||||
|
||||
cmo / create / mo / / / triplane
|
||||
read / avs / input_tri1b.inp / mo
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
resetpts / itp
|
||||
dump / avs / output_tri1b_connect.inp / mo
|
||||
quality
|
||||
|
||||
cmo setatt mo idebug 1
|
||||
recon 1
|
||||
cmo status mo
|
||||
dump / avs / output_tri1b_recon1.inp / mo
|
||||
|
||||
cmo select mo
|
||||
quality
|
||||
cmo / delete / mo
|
||||
|
||||
##############################################
|
||||
# read dfn triangulation with 2956 elements
|
||||
# this mesh was causing recon 1 to seg fault
|
||||
|
||||
read / avs / input_tri_dfn.inp / mo
|
||||
resetpts / itp
|
||||
quality/aspect/y
|
||||
dump stor output_dfn mo
|
||||
quality
|
||||
recon 1
|
||||
dump stor output_dfn_recon1 mo
|
||||
dump / avs / output_dfn_recon1.inp / mo
|
||||
cmo DELATT mo aratio
|
||||
quality/aspect/y
|
||||
quality
|
||||
|
||||
|
||||
### input file done ######
|
||||
finish
|
||||
|
||||
Reference in New Issue
Block a user