64 lines
1.3 KiB
Plaintext
Executable File
64 lines
1.3 KiB
Plaintext
Executable File
* test quality on refined and reconnected mesh
|
|
|
|
cmo/create/3dmesh/
|
|
cmo/addatt/3dmesh/boron
|
|
cmo/modatt/3dmesh/boron/ioflag/gx/
|
|
cmo/modatt/3dmesh/boron/interp/linear/
|
|
surface/cube/reflect/box/.0,.0,.0/1.,1.,1./
|
|
surface/mid/intrface/plane/0,0,.5/1,0,.5/1,1,.5
|
|
region/upper/le cube and ge mid /
|
|
region/lower/le cube and lt mid /
|
|
mregion/mupper/le cube and gt mid /
|
|
mregion/mlower/le cube and lt mid /
|
|
createpts/xyz/3,3,3/0.,0.,0./1.,1.,1./1,1,1/
|
|
setpts
|
|
connect
|
|
settets
|
|
* begin compare no refine
|
|
quality/aspect
|
|
quality/volume
|
|
quality/angle/gt/90.
|
|
* end compare no refine
|
|
|
|
refine/maxsize///edge/1,0,0/0.01,0.0,0.0/
|
|
recon
|
|
refine/constant/boron/linear/edge/1,0,0/1.3+20/
|
|
|
|
cmo setatt 3dmesh idebug 2
|
|
|
|
* begin compare refine 1
|
|
quality/aspect
|
|
quality/volume
|
|
quality/angle/gt/90.
|
|
quality/taylor/boron/1.e-1/
|
|
* end compare refine 1
|
|
|
|
recon
|
|
* begin compare recon
|
|
quality/aspect
|
|
quality/volume
|
|
quality/angle/gt/90.
|
|
quality/taylor/boron/1.e-1/
|
|
* end compare recon
|
|
|
|
recon
|
|
* begin compare recon 2
|
|
quality/aspect/y
|
|
quality/volume
|
|
quality/angle/gt/90.
|
|
quality/taylor/boron/1.e-1/
|
|
quality/volume/material
|
|
cmo/status
|
|
* end compare recon 2
|
|
|
|
* check sorted array
|
|
sort / xyz / bins
|
|
* begin compare sort
|
|
cmo/printatt/3dmesh/i_index/1,20,1
|
|
cmo/printatt/3dmesh/j_index/1,20,1
|
|
* end compare sort
|
|
|
|
|
|
*END
|
|
finish
|