initial upload
26
test/level01/README
Executable file
@@ -0,0 +1,26 @@
|
||||
level01 test directory
|
||||
|
||||
These directories represent a mininum set of tests for LaGriT
|
||||
Contact: lagrit-dev@lanl.gov
|
||||
|
||||
Each test directory contains input.lgi command file
|
||||
Each test directory has a reference directory for comparisons
|
||||
To run a test is a single directory:
|
||||
lagrit -log logx3dgen -out outx3dgen < input.lgi
|
||||
diff outx3dgen reference/outx3dgen
|
||||
|
||||
Note there may be OS differences in precision of numbers written.
|
||||
Some command files read input files and write output files.
|
||||
Reference directory has a copy of all files written.
|
||||
|
||||
See LaGriT/test/README for scripts to run the full test suite.
|
||||
|
||||
additional checks
|
||||
valgrind --leak-check=yes --track-origins=yes --log-file=memcheck.txt lagrit < input.lgi
|
||||
mkdir valgrind
|
||||
cp memcheck.txt valgrind
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
129
test/level01/addmesh_add/input.lgi
Executable file
@@ -0,0 +1,129 @@
|
||||
*--* Create a rough and fine mesh,
|
||||
*--* Insert the fine mesh inside the course mesh,
|
||||
*--* Refine the course mesh near the fine mesh,
|
||||
*--* Delete elements of the course mesh that intersect the fine mesh
|
||||
*--* Put the two MO into a single MO
|
||||
*--* Copy the point distribution into a tet MO
|
||||
*--* Connect the points to a Delaunay mesh
|
||||
*--*
|
||||
*--*----------------------------------------------------
|
||||
*--* Header End
|
||||
*--* ex_addmesh_add
|
||||
*--*
|
||||
* Simple two element version
|
||||
cmo / create / cmo_hex / / / hex
|
||||
cmo / select / cmo_hex
|
||||
*
|
||||
* Create a simple hex mesh, NX-NY-NZ
|
||||
define / NX / 10
|
||||
define / NY / 10
|
||||
define / NZ / 10
|
||||
define / NX / 2
|
||||
define / NY / 2
|
||||
define / NZ / 2
|
||||
createpts/brick/xyz/NX,NY,NZ/0. 0. 0./1. .5 .5/1,1,1
|
||||
cmo / setatt / cmo_hex / itetclr / 1 0 0 / 1
|
||||
cmo / setatt / cmo_hex / imt / 1 0 0 / 1
|
||||
resetpts / itp
|
||||
quality
|
||||
*
|
||||
* Create the smaller mesh which will have higher resolution
|
||||
cmo / create / cmo_hex2 / / / hex
|
||||
cmo / select / cmo_hex2
|
||||
define / NX / 10
|
||||
define / NY / 10
|
||||
define / NZ / 30
|
||||
define / NX / 2
|
||||
define / NY / 2
|
||||
define / NZ / 2
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4, 0.4, 0.2/ 0.6 0.6 0.8 /1,1,1
|
||||
cmo / setatt / cmo_hex2 / itetclr / 1 0 0 / 2
|
||||
cmo / setatt / cmo_hex2 / imt / 1 0 0 / 2
|
||||
resetpts / itp
|
||||
quality
|
||||
*
|
||||
* merge hex meshes
|
||||
*
|
||||
addmesh / merge / cmo_merge / cmo_hex / cmo_hex2
|
||||
dump avs output_merge_hex2.inp cmo_merge
|
||||
|
||||
cmo/select/cmo_merge
|
||||
quality
|
||||
|
||||
* finish simple version
|
||||
|
||||
* Run full version test
|
||||
|
||||
cmo/delete/cmo_hex
|
||||
cmo/delete/cmo_hex2
|
||||
|
||||
* Create the larger mesh
|
||||
*
|
||||
cmo / create / cmo_hex / / / hex
|
||||
cmo / select / cmo_hex
|
||||
*
|
||||
* Create a simple hex mesh, NX-NY-NZ
|
||||
define / NX / 10
|
||||
define / NY / 10
|
||||
define / NZ / 10
|
||||
createpts/brick/xyz/NX,NY,NZ/0.,0.,0./1.,1.,1./1,1,1
|
||||
cmo / setatt / cmo_hex / itetclr / 1 0 0 / 1
|
||||
cmo / setatt / cmo_hex / imt / 1 0 0 / 1
|
||||
resetpts / itp
|
||||
quality
|
||||
*
|
||||
* Create the smaller mesh which will have higher resolution
|
||||
cmo / create / cmo_hex2 / / / hex
|
||||
cmo / select / cmo_hex2
|
||||
define / NX / 10
|
||||
define / NY / 10
|
||||
define / NZ / 30
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4, 0.4, 0.1/ 0.6 0.6 0.9 /1,1,1
|
||||
cmo / setatt / cmo_hex2 / itetclr / 1 0 0 / 2
|
||||
cmo / setatt / cmo_hex2 / imt / 1 0 0 / 2
|
||||
resetpts / itp
|
||||
quality
|
||||
*
|
||||
* Merge the small mesh with the large using addmesh merge
|
||||
*
|
||||
addmesh / merge / cmo_merge / cmo_hex / cmo_hex2
|
||||
dump avs output_merge_hex.inp cmo_merge
|
||||
cmo/select/cmo_merge
|
||||
quality
|
||||
|
||||
*
|
||||
* Create tet versions of the meshes
|
||||
*
|
||||
hextotet / 5 / cmo_tet1 / cmo_hex
|
||||
quality
|
||||
hextotet / 5 / cmo_tet2 / cmo_hex2
|
||||
quality
|
||||
*
|
||||
* Insert and connect the small mesh into the large
|
||||
* using addmesh add and connect
|
||||
*
|
||||
* excavate the cmo_tet1 mesh to make room for the cmo_tet2 mesh
|
||||
* Use the refine_factor to minimize space between objects
|
||||
*
|
||||
addmesh / add / cmo_add / cmo_tet1 / cmo_tet2/ 1 edge
|
||||
cmo/setatt//ipolydat/no
|
||||
dump / avs / output_addmesh_add.inp / cmo_add
|
||||
*
|
||||
* Now connect
|
||||
*
|
||||
cmo / create / cmo_tet3 / / / tet
|
||||
copypts / cmo_tet3 / cmo_add
|
||||
cmo / setatt / cmo_tet3 / imt / 1 0 0 / 1
|
||||
cmo / setatt / cmo_tet3 / itp / 1 0 0 / 0
|
||||
|
||||
connect
|
||||
resetpts / itp
|
||||
quality
|
||||
|
||||
cmo/setatt//ipolydat/no
|
||||
dump / avs / output_addmesh_connect.inp / cmo_tet3
|
||||
resetpts / itp
|
||||
quality
|
||||
|
||||
finish
|
||||
|
||||
10597
test/level01/addmesh_add/polygon.inp
Normal file
129
test/level01/addmesh_add/reference/input.lgi
Executable file
@@ -0,0 +1,129 @@
|
||||
*--* Create a rough and fine mesh,
|
||||
*--* Insert the fine mesh inside the course mesh,
|
||||
*--* Refine the course mesh near the fine mesh,
|
||||
*--* Delete elements of the course mesh that intersect the fine mesh
|
||||
*--* Put the two MO into a single MO
|
||||
*--* Copy the point distribution into a tet MO
|
||||
*--* Connect the points to a Delaunay mesh
|
||||
*--*
|
||||
*--*----------------------------------------------------
|
||||
*--* Header End
|
||||
*--* ex_addmesh_add
|
||||
*--*
|
||||
* Simple two element version
|
||||
cmo / create / cmo_hex / / / hex
|
||||
cmo / select / cmo_hex
|
||||
*
|
||||
* Create a simple hex mesh, NX-NY-NZ
|
||||
define / NX / 10
|
||||
define / NY / 10
|
||||
define / NZ / 10
|
||||
define / NX / 2
|
||||
define / NY / 2
|
||||
define / NZ / 2
|
||||
createpts/brick/xyz/NX,NY,NZ/0. 0. 0./1. .5 .5/1,1,1
|
||||
cmo / setatt / cmo_hex / itetclr / 1 0 0 / 1
|
||||
cmo / setatt / cmo_hex / imt / 1 0 0 / 1
|
||||
resetpts / itp
|
||||
quality
|
||||
*
|
||||
* Create the smaller mesh which will have higher resolution
|
||||
cmo / create / cmo_hex2 / / / hex
|
||||
cmo / select / cmo_hex2
|
||||
define / NX / 10
|
||||
define / NY / 10
|
||||
define / NZ / 30
|
||||
define / NX / 2
|
||||
define / NY / 2
|
||||
define / NZ / 2
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4, 0.4, 0.2/ 0.6 0.6 0.8 /1,1,1
|
||||
cmo / setatt / cmo_hex2 / itetclr / 1 0 0 / 2
|
||||
cmo / setatt / cmo_hex2 / imt / 1 0 0 / 2
|
||||
resetpts / itp
|
||||
quality
|
||||
*
|
||||
* merge hex meshes
|
||||
*
|
||||
addmesh / merge / cmo_merge / cmo_hex / cmo_hex2
|
||||
dump avs output_merge_hex2.inp cmo_merge
|
||||
|
||||
cmo/select/cmo_merge
|
||||
quality
|
||||
|
||||
* finish simple version
|
||||
|
||||
* Run full version test
|
||||
|
||||
cmo/delete/cmo_hex
|
||||
cmo/delete/cmo_hex2
|
||||
|
||||
* Create the larger mesh
|
||||
*
|
||||
cmo / create / cmo_hex / / / hex
|
||||
cmo / select / cmo_hex
|
||||
*
|
||||
* Create a simple hex mesh, NX-NY-NZ
|
||||
define / NX / 10
|
||||
define / NY / 10
|
||||
define / NZ / 10
|
||||
createpts/brick/xyz/NX,NY,NZ/0.,0.,0./1.,1.,1./1,1,1
|
||||
cmo / setatt / cmo_hex / itetclr / 1 0 0 / 1
|
||||
cmo / setatt / cmo_hex / imt / 1 0 0 / 1
|
||||
resetpts / itp
|
||||
quality
|
||||
*
|
||||
* Create the smaller mesh which will have higher resolution
|
||||
cmo / create / cmo_hex2 / / / hex
|
||||
cmo / select / cmo_hex2
|
||||
define / NX / 10
|
||||
define / NY / 10
|
||||
define / NZ / 30
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4, 0.4, 0.1/ 0.6 0.6 0.9 /1,1,1
|
||||
cmo / setatt / cmo_hex2 / itetclr / 1 0 0 / 2
|
||||
cmo / setatt / cmo_hex2 / imt / 1 0 0 / 2
|
||||
resetpts / itp
|
||||
quality
|
||||
*
|
||||
* Merge the small mesh with the large using addmesh merge
|
||||
*
|
||||
addmesh / merge / cmo_merge / cmo_hex / cmo_hex2
|
||||
dump avs output_merge_hex.inp cmo_merge
|
||||
cmo/select/cmo_merge
|
||||
quality
|
||||
|
||||
*
|
||||
* Create tet versions of the meshes
|
||||
*
|
||||
hextotet / 5 / cmo_tet1 / cmo_hex
|
||||
quality
|
||||
hextotet / 5 / cmo_tet2 / cmo_hex2
|
||||
quality
|
||||
*
|
||||
* Insert and connect the small mesh into the large
|
||||
* using addmesh add and connect
|
||||
*
|
||||
* excavate the cmo_tet1 mesh to make room for the cmo_tet2 mesh
|
||||
* Use the refine_factor to minimize space between objects
|
||||
*
|
||||
addmesh / add / cmo_add / cmo_tet1 / cmo_tet2/ 1 edge
|
||||
cmo/setatt//ipolydat/no
|
||||
dump / avs / output_addmesh_add.inp / cmo_add
|
||||
*
|
||||
* Now connect
|
||||
*
|
||||
cmo / create / cmo_tet3 / / / tet
|
||||
copypts / cmo_tet3 / cmo_add
|
||||
cmo / setatt / cmo_tet3 / imt / 1 0 0 / 1
|
||||
cmo / setatt / cmo_tet3 / itp / 1 0 0 / 0
|
||||
|
||||
connect
|
||||
resetpts / itp
|
||||
quality
|
||||
|
||||
cmo/setatt//ipolydat/no
|
||||
dump / avs / output_addmesh_connect.inp / cmo_tet3
|
||||
resetpts / itp
|
||||
quality
|
||||
|
||||
finish
|
||||
|
||||
75
test/level01/addmesh_add/reference/logx3dgen
Executable file
@@ -0,0 +1,75 @@
|
||||
cmo/create/cmo_hex///hex
|
||||
cmo/select/cmo_hex
|
||||
define/NX/10
|
||||
define/NY/10
|
||||
define/NZ/10
|
||||
define/NX/2
|
||||
define/NY/2
|
||||
define/NZ/2
|
||||
createpts/brick/xyz/NX,NY,NZ/0. 0. 0./1. .5 .5/1,1,1
|
||||
cmo/setatt/cmo_hex/itetclr/1 0 0/1
|
||||
cmo/setatt/cmo_hex/imt/1 0 0/1
|
||||
resetpts/itp
|
||||
quality
|
||||
cmo/create/cmo_hex2///hex
|
||||
cmo/select/cmo_hex2
|
||||
define/NX/10
|
||||
define/NY/10
|
||||
define/NZ/30
|
||||
define/NX/2
|
||||
define/NY/2
|
||||
define/NZ/2
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4,0.4,0.2/0.6 0.6 0.8/1,1,1
|
||||
cmo/setatt/cmo_hex2/itetclr/1 0 0/2
|
||||
cmo/setatt/cmo_hex2/imt/1 0 0/2
|
||||
resetpts/itp
|
||||
quality
|
||||
addmesh/merge/cmo_merge/cmo_hex/cmo_hex2
|
||||
dump avs output_merge_hex2.inp cmo_merge
|
||||
cmo/select/cmo_merge
|
||||
quality
|
||||
cmo/delete/cmo_hex
|
||||
cmo/delete/cmo_hex2
|
||||
cmo/create/cmo_hex///hex
|
||||
cmo/select/cmo_hex
|
||||
define/NX/10
|
||||
define/NY/10
|
||||
define/NZ/10
|
||||
createpts/brick/xyz/NX,NY,NZ/0.,0.,0./1.,1.,1./1,1,1
|
||||
cmo/setatt/cmo_hex/itetclr/1 0 0/1
|
||||
cmo/setatt/cmo_hex/imt/1 0 0/1
|
||||
resetpts/itp
|
||||
quality
|
||||
cmo/create/cmo_hex2///hex
|
||||
cmo/select/cmo_hex2
|
||||
define/NX/10
|
||||
define/NY/10
|
||||
define/NZ/30
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4,0.4,0.1/0.6 0.6 0.9/1,1,1
|
||||
cmo/setatt/cmo_hex2/itetclr/1 0 0/2
|
||||
cmo/setatt/cmo_hex2/imt/1 0 0/2
|
||||
resetpts/itp
|
||||
quality
|
||||
addmesh/merge/cmo_merge/cmo_hex/cmo_hex2
|
||||
dump avs output_merge_hex.inp cmo_merge
|
||||
cmo/select/cmo_merge
|
||||
quality
|
||||
hextotet/5/cmo_tet1/cmo_hex
|
||||
quality
|
||||
hextotet/5/cmo_tet2/cmo_hex2
|
||||
quality
|
||||
addmesh/add/cmo_add/cmo_tet1/cmo_tet2/1 edge
|
||||
cmo/setatt//ipolydat/no
|
||||
dump/avs/output_addmesh_add.inp/cmo_add
|
||||
cmo/create/cmo_tet3///tet
|
||||
copypts/cmo_tet3/cmo_add
|
||||
cmo/setatt/cmo_tet3/imt/1 0 0/1
|
||||
cmo/setatt/cmo_tet3/itp/1 0 0/0
|
||||
connect
|
||||
resetpts/itp
|
||||
quality
|
||||
cmo/setatt//ipolydat/no
|
||||
dump/avs/output_addmesh_connect.inp/cmo_tet3
|
||||
resetpts/itp
|
||||
quality
|
||||
finish
|
||||
23066
test/level01/addmesh_add/reference/output_addmesh_add.inp
Normal file
29232
test/level01/addmesh_add/reference/output_addmesh_connect.inp
Normal file
11084
test/level01/addmesh_add/reference/output_merge_hex.inp
Normal file
40
test/level01/addmesh_add/reference/output_merge_hex2.inp
Normal file
@@ -0,0 +1,40 @@
|
||||
16 2 4 0 0
|
||||
001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
002 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
003 0.000000000000E+00 5.000000000000E-01 0.000000000000E+00
|
||||
004 1.000000000000E+00 5.000000000000E-01 0.000000000000E+00
|
||||
005 0.000000000000E+00 0.000000000000E+00 5.000000000000E-01
|
||||
006 1.000000000000E+00 0.000000000000E+00 5.000000000000E-01
|
||||
007 0.000000000000E+00 5.000000000000E-01 5.000000000000E-01
|
||||
008 1.000000000000E+00 5.000000000000E-01 5.000000000000E-01
|
||||
009 4.000000000000E-01 4.000000000000E-01 2.000000000000E-01
|
||||
010 6.000000000000E-01 4.000000000000E-01 2.000000000000E-01
|
||||
011 4.000000000000E-01 6.000000000000E-01 2.000000000000E-01
|
||||
012 6.000000000000E-01 6.000000000000E-01 2.000000000000E-01
|
||||
013 4.000000000000E-01 4.000000000000E-01 8.000000000000E-01
|
||||
014 6.000000000000E-01 4.000000000000E-01 8.000000000000E-01
|
||||
015 4.000000000000E-01 6.000000000000E-01 8.000000000000E-01
|
||||
016 6.000000000000E-01 6.000000000000E-01 8.000000000000E-01
|
||||
001 1 hex 5 6 8 7 1 2 4 3
|
||||
002 2 hex 13 14 16 15 9 10 12 11
|
||||
00004 1 1 1 1
|
||||
imt1, integer
|
||||
itp1, integer
|
||||
icr1, integer
|
||||
isn1, integer
|
||||
1 1 10 0 0
|
||||
2 1 10 0 0
|
||||
3 1 10 0 0
|
||||
4 1 10 0 0
|
||||
5 1 10 0 0
|
||||
6 1 10 0 0
|
||||
7 1 10 0 0
|
||||
8 1 10 0 0
|
||||
9 2 10 0 0
|
||||
10 2 10 0 0
|
||||
11 2 10 0 0
|
||||
12 2 10 0 0
|
||||
13 2 10 0 0
|
||||
14 2 10 0 0
|
||||
15 2 10 0 0
|
||||
16 2 10 0 0
|
||||
491
test/level01/addmesh_add/reference/outx3dgen
Executable file
@@ -0,0 +1,491 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.330 Linux *
|
||||
* * date_compile: 2021/10/15 test *
|
||||
* * Run Time: 2021/Nov 3 17:25:18 *
|
||||
* * 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
|
||||
|
||||
*--* Create a rough and fine mesh,
|
||||
*--* Insert the fine mesh inside the course mesh,
|
||||
*--* Refine the course mesh near the fine mesh,
|
||||
*--* Delete elements of the course mesh that intersect the fine mesh
|
||||
*--* Put the two MO into a single MO
|
||||
*--* Copy the point distribution into a tet MO
|
||||
*--* Connect the points to a Delaunay mesh
|
||||
*--*
|
||||
*--*----------------------------------------------------
|
||||
*--* Header End
|
||||
*--* ex_addmesh_add
|
||||
*--*
|
||||
* Simple two element version
|
||||
cmo/create/cmo_hex///hex
|
||||
cmo/select/cmo_hex
|
||||
*
|
||||
* Create a simple hex mesh, NX-NY-NZ
|
||||
define/NX/10
|
||||
define/NY/10
|
||||
define/NZ/10
|
||||
define/NX/2
|
||||
define/NY/2
|
||||
define/NZ/2
|
||||
createpts/brick/xyz/NX,NY,NZ/0. 0. 0./1. .5 .5/1,1,1
|
||||
Number of nodes: 8
|
||||
Number of elements: 1
|
||||
Number of negative volume elements: 0
|
||||
Total volume: 0.250000000000E+00
|
||||
cmo/setatt/cmo_hex/itetclr/1 0 0/1
|
||||
1 values reset for attribute itetclr
|
||||
|
||||
cmo/setatt/cmo_hex/imt/1 0 0/1
|
||||
8 values reset for attribute imt1
|
||||
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 2.7194799E-13 2.0112107E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 1
|
||||
min aspect ratio = 0.1000E+01 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 5.5511151E-14
|
||||
---------------------------------------
|
||||
All elements have volume 2.5000000E-01
|
||||
-----------------------------------------------------------
|
||||
1 total elements evaluated.
|
||||
|
||||
*
|
||||
* Create the smaller mesh which will have higher resolution
|
||||
cmo/create/cmo_hex2///hex
|
||||
cmo/select/cmo_hex2
|
||||
define/NX/10
|
||||
define/NY/10
|
||||
define/NZ/30
|
||||
define/NX/2
|
||||
define/NY/2
|
||||
define/NZ/2
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4,0.4,0.2/0.6 0.6 0.8/1,1,1
|
||||
Number of nodes: 8
|
||||
Number of elements: 1
|
||||
Number of negative volume elements: 0
|
||||
Total volume: 0.240000000000E-01
|
||||
cmo/setatt/cmo_hex2/itetclr/1 0 0/2
|
||||
1 values reset for attribute itetclr
|
||||
|
||||
cmo/setatt/cmo_hex2/imt/1 0 0/2
|
||||
8 values reset for attribute imt1
|
||||
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 1.4728773E-13 3.1952121E-39
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 1
|
||||
min aspect ratio = 0.1000E+01 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 5.3290705E-15
|
||||
---------------------------------------
|
||||
All elements have volume 2.4000000E-02
|
||||
-----------------------------------------------------------
|
||||
1 total elements evaluated.
|
||||
|
||||
*
|
||||
* merge hex meshes
|
||||
*
|
||||
addmesh/merge/cmo_merge/cmo_hex/cmo_hex2
|
||||
dump avs output_merge_hex2.inp cmo_merge
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
cmo/select/cmo_merge
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 2.7194799E-13 2.0112107E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 2
|
||||
min aspect ratio = 0.1000E+01 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 1.0658141E-13
|
||||
---------------------------------------
|
||||
element volumes b/w 0.2400E-01 and 0.3835E-01: 1
|
||||
element volumes b/w 0.3835E-01 and 0.6128E-01: 0
|
||||
element volumes b/w 0.6128E-01 and 0.9791E-01: 0
|
||||
element volumes b/w 0.9791E-01 and 0.1565E+00: 0
|
||||
element volumes b/w 0.1565E+00 and 0.2500E+00: 1
|
||||
min volume = 2.4000000E-02 max volume = 2.5000000E-01
|
||||
-----------------------------------------------------------
|
||||
2 total elements evaluated.
|
||||
|
||||
* finish simple version
|
||||
* Run full version test
|
||||
cmo/delete/cmo_hex
|
||||
Released Mesh Object: cmo_hex
|
||||
cmo/delete/cmo_hex2
|
||||
Released Mesh Object: cmo_hex2
|
||||
* Create the larger mesh
|
||||
*
|
||||
cmo/create/cmo_hex///hex
|
||||
cmo/select/cmo_hex
|
||||
*
|
||||
* Create a simple hex mesh, NX-NY-NZ
|
||||
define/NX/10
|
||||
define/NY/10
|
||||
define/NZ/10
|
||||
createpts/brick/xyz/NX,NY,NZ/0.,0.,0./1.,1.,1./1,1,1
|
||||
Number of nodes: 1000
|
||||
Number of elements: 729
|
||||
Number of negative volume elements: 0
|
||||
Total volume: 0.100000000000E+01
|
||||
cmo/setatt/cmo_hex/itetclr/1 0 0/1
|
||||
729 values reset for attribute itetclr
|
||||
|
||||
cmo/setatt/cmo_hex/imt/1 0 0/1
|
||||
1000 values reset for attribute imt1
|
||||
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 3.8459254E-13 5.6885628E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 729
|
||||
min aspect ratio = 0.1000E+01 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 2.2204460E-13
|
||||
---------------------------------------
|
||||
All elements have volume 1.3717421E-03
|
||||
-----------------------------------------------------------
|
||||
729 total elements evaluated.
|
||||
|
||||
*
|
||||
* Create the smaller mesh which will have higher resolution
|
||||
cmo/create/cmo_hex2///hex
|
||||
cmo/select/cmo_hex2
|
||||
define/NX/10
|
||||
define/NY/10
|
||||
define/NZ/30
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4,0.4,0.1/0.6 0.6 0.9/1,1,1
|
||||
Number of nodes: 3000
|
||||
Number of elements: 2349
|
||||
Number of negative volume elements: 0
|
||||
Total volume: 0.320000000000E-01
|
||||
cmo/setatt/cmo_hex2/itetclr/1 0 0/2
|
||||
2349 values reset for attribute itetclr
|
||||
|
||||
cmo/setatt/cmo_hex2/imt/1 0 0/2
|
||||
3000 values reset for attribute imt1
|
||||
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 1.8841110E-13 6.6883566E-39
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 2349
|
||||
min aspect ratio = 0.1000E+01 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 7.1054274E-15
|
||||
---------------------------------------
|
||||
All elements have volume 1.3622818E-05
|
||||
-----------------------------------------------------------
|
||||
2349 total elements evaluated.
|
||||
|
||||
*
|
||||
* Merge the small mesh with the large using addmesh merge
|
||||
*
|
||||
addmesh/merge/cmo_merge/cmo_hex/cmo_hex2
|
||||
dump avs output_merge_hex.inp cmo_merge
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
cmo/select/cmo_merge
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 3.1401849E-13 3.0964614E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 3078
|
||||
min aspect ratio = 0.1000E+01 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 2.2204460E-13
|
||||
---------------------------------------
|
||||
element volumes b/w 0.1362E-04 and 0.3427E-04: 2349
|
||||
element volumes b/w 0.3427E-04 and 0.8619E-04: 0
|
||||
element volumes b/w 0.8619E-04 and 0.2168E-03: 0
|
||||
element volumes b/w 0.2168E-03 and 0.5453E-03: 0
|
||||
element volumes b/w 0.5453E-03 and 0.1372E-02: 729
|
||||
min volume = 1.3622818E-05 max volume = 1.3717421E-03
|
||||
-----------------------------------------------------------
|
||||
3078 total elements evaluated.
|
||||
|
||||
*
|
||||
* Create tet versions of the meshes
|
||||
*
|
||||
hextotet/5/cmo_tet1/cmo_hex
|
||||
iremove_vol= 0 iremove_dup= 0 icheckpt= 1
|
||||
Input Mesh type hex using option 5
|
||||
Element Material ID, min/max/range: 1 1 0
|
||||
Epsilon-dist, distmax, distmin: -1.1111111E-07 1.2345679E-02 1.2345679E-02
|
||||
Epsilon-volume, volmax: 1.3717421E-09 1.3717421E-03
|
||||
cmo/addatt/cmo_tet1/iign/vint/scalar/nnodes/-def-/-def-/gx/-def-
|
||||
finish
|
||||
WARNING: Volumes le zero not removed, nelements= 3645
|
||||
No duplicate points
|
||||
WARNING: Duplicate points not removed, nnodes = 1000
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 3.8459254E-13 5.6885628E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 3645
|
||||
min aspect ratio = 0.7321E+00 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 2.2204460E-13
|
||||
---------------------------------------
|
||||
element volumes b/w 0.2286E-03 and 0.2626E-03: 2916
|
||||
element volumes b/w 0.2626E-03 and 0.3017E-03: 0
|
||||
element volumes b/w 0.3017E-03 and 0.3465E-03: 0
|
||||
element volumes b/w 0.3465E-03 and 0.3981E-03: 0
|
||||
element volumes b/w 0.3981E-03 and 0.4572E-03: 729
|
||||
min volume = 2.2862369E-04 max volume = 4.5724737E-04
|
||||
-----------------------------------------------------------
|
||||
3645 total elements evaluated.
|
||||
|
||||
hextotet/5/cmo_tet2/cmo_hex2
|
||||
iremove_vol= 0 iremove_dup= 0 icheckpt= 1
|
||||
Input Mesh type hex using option 5
|
||||
Element Material ID, min/max/range: 2 2 0
|
||||
Epsilon-dist, distmax, distmin: -2.7586207E-08 7.6099881E-04 4.9382716E-04
|
||||
Epsilon-volume, volmax: 1.3622818E-11 1.3622818E-05
|
||||
cmo/addatt/cmo_tet2/iign/vint/scalar/nnodes/-def-/-def-/gx/-def-
|
||||
finish
|
||||
WARNING: Volumes le zero not removed, nelements= 11745
|
||||
No duplicate points
|
||||
WARNING: Duplicate points not removed, nnodes = 3000
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 1.8841110E-13 6.6883566E-39
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 11745
|
||||
min aspect ratio = 0.7192E+00 max aspect ratio = 0.9795E+00
|
||||
|
||||
epsilonvol: 7.1054274E-15
|
||||
---------------------------------------
|
||||
element volumes b/w 0.2270E-05 and 0.2608E-05: 9396
|
||||
element volumes b/w 0.2608E-05 and 0.2996E-05: 0
|
||||
element volumes b/w 0.2996E-05 and 0.3441E-05: 0
|
||||
element volumes b/w 0.3441E-05 and 0.3953E-05: 0
|
||||
element volumes b/w 0.3953E-05 and 0.4541E-05: 2349
|
||||
min volume = 2.2704697E-06 max volume = 4.5409394E-06
|
||||
-----------------------------------------------------------
|
||||
11745 total elements evaluated.
|
||||
|
||||
*
|
||||
* Insert and connect the small mesh into the large
|
||||
* using addmesh add and connect
|
||||
*
|
||||
* excavate the cmo_tet1 mesh to make room for the cmo_tet2 mesh
|
||||
* Use the refine_factor to minimize space between objects
|
||||
*
|
||||
addmesh/add/cmo_add/cmo_tet1/cmo_tet2/1 edge
|
||||
Max/min 1: 1.000E+00 1.000E+00 1.000E+00 0.000E+00 0.000E+00 0.000E
|
||||
+00
|
||||
Max/min 2: 6.000E-01 6.000E-01 9.000E-01 4.000E-01 4.000E-01 1.000E
|
||||
-01
|
||||
ADDMESH ADD: 0 refine iteration.
|
||||
Max/min 1: 1.000E+00 1.000E+00 1.000E+00 0.000E+00 0.000E+00 0.000E
|
||||
+00
|
||||
Max/min 2: 6.000E-01 6.000E-01 9.000E-01 4.000E-01 4.000E-01 1.000E
|
||||
-01
|
||||
refine tet edges:
|
||||
Refine edges: 2
|
||||
Edge_add iteration: 1 2
|
||||
Edge-refined tets: old= 3645 new= 3651
|
||||
recon/0
|
||||
RECON3D reconnection loop: 1
|
||||
recon2: MFLIP NEWLEN FOR iremov with: 4
|
||||
recon2: ntets= 3663 nface= 2 nflips= 17
|
||||
niter= 2 negvol= 0 nbface= 2
|
||||
recon2 set new node and element total: 1002 3663
|
||||
RECON: done.
|
||||
finish
|
||||
ADDMESH ADD: recon done.
|
||||
Max/min 1: 1.000E+00 1.000E+00 1.000E+00 0.000E+00 0.000E+00 0.000E
|
||||
+00
|
||||
Max/min 2: 6.000E-01 6.000E-01 9.000E-01 4.000E-01 4.000E-01 1.000E
|
||||
-01
|
||||
cmo/derive/cmod cmo_add 0/0/tri
|
||||
finish
|
||||
dump/avs/polygon.inp/cmod
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
finish
|
||||
cmo/setatt//ipolydat/no
|
||||
1 values reset for attribute ipolydat
|
||||
|
||||
dump/avs/output_addmesh_add.inp/cmo_add
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
*
|
||||
* Now connect
|
||||
*
|
||||
cmo/create/cmo_tet3///tet
|
||||
copypts/cmo_tet3/cmo_add
|
||||
cmo/addatt/cmo_tet3/iign/VINT/scalar/nnodes/linear/temporary/gx/0.0
|
||||
finish
|
||||
copypts added nodes 1 to 3967
|
||||
cmo/setatt/cmo_tet3/imt/1 0 0/1
|
||||
Warning: nelements = 0
|
||||
3967 values reset for attribute imt1
|
||||
|
||||
cmo/setatt/cmo_tet3/itp/1 0 0/0
|
||||
Warning: nelements = 0
|
||||
3967 values reset for attribute itp1
|
||||
|
||||
connect
|
||||
Coordinates of enclosing tetrahedron are:
|
||||
-0.20000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 -0.75000D+00 0.42500D+01
|
||||
0.30000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 0.42500D+01 0.50000D+00
|
||||
|
||||
Successfully eliminated all multimaterial connections.
|
||||
|
||||
The mesh is now complete!
|
||||
|
||||
LaGriT FINISH: connect
|
||||
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 3.8459254E-13 5.6885628E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 1
|
||||
elements with aspect ratio b/w .1 and .2 : 133
|
||||
elements with aspect ratio b/w .2 and .5 : 2714
|
||||
elements with aspect ratio b/w .5 and 1. : 18444
|
||||
min aspect ratio = 0.5846E-01 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 2.2204460E-13
|
||||
---------------------------------------
|
||||
element volumes b/w 0.2270E-05 and 0.6560E-05: 13957
|
||||
element volumes b/w 0.6560E-05 and 0.1896E-04: 2419
|
||||
element volumes b/w 0.1896E-04 and 0.5477E-04: 774
|
||||
element volumes b/w 0.5477E-04 and 0.1583E-03: 235
|
||||
element volumes b/w 0.1583E-03 and 0.4572E-03: 3907
|
||||
min volume = 2.2704697E-06 max volume = 4.5724737E-04
|
||||
-----------------------------------------------------------
|
||||
21292 total elements evaluated.
|
||||
|
||||
cmo/setatt//ipolydat/no
|
||||
1 values reset for attribute ipolydat
|
||||
|
||||
dump/avs/output_addmesh_connect.inp/cmo_tet3
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 3.8459254E-13 5.6885628E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 1
|
||||
elements with aspect ratio b/w .1 and .2 : 133
|
||||
elements with aspect ratio b/w .2 and .5 : 2714
|
||||
elements with aspect ratio b/w .5 and 1. : 18444
|
||||
min aspect ratio = 0.5846E-01 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 2.2204460E-13
|
||||
---------------------------------------
|
||||
element volumes b/w 0.2270E-05 and 0.6560E-05: 13957
|
||||
element volumes b/w 0.6560E-05 and 0.1896E-04: 2419
|
||||
element volumes b/w 0.1896E-04 and 0.5477E-04: 774
|
||||
element volumes b/w 0.5477E-04 and 0.1583E-03: 235
|
||||
element volumes b/w 0.1583E-03 and 0.4572E-03: 3907
|
||||
min volume = 2.2704697E-06 max volume = 4.5724737E-04
|
||||
-----------------------------------------------------------
|
||||
21292 total elements evaluated.
|
||||
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
10597
test/level01/addmesh_add/reference/polygon.inp
Normal file
81
test/level01/addmesh_append/input.lgi
Executable file
@@ -0,0 +1,81 @@
|
||||
*--* Create a rough and fine mesh,
|
||||
*--* Test append on mixed attributes
|
||||
*--*
|
||||
*--*----------------------------------------------------
|
||||
*--* Header End
|
||||
*--* ex_addmesh_add
|
||||
*--*
|
||||
* Simple two element version
|
||||
cmo / create / first_cmo / / / hex
|
||||
cmo / select / first_cmo
|
||||
define / NX / 2
|
||||
define / NY / 2
|
||||
define / NZ / 2
|
||||
createpts/brick/xyz/NX,NY,NZ/0. 0. 0./1. .5 .5/1,1,1
|
||||
cmo / setatt / first_cmo / itetclr / 1 0 0 / 1
|
||||
cmo / setatt / first_cmo / imt / 1 0 0 / 1
|
||||
resetpts / itp
|
||||
|
||||
* Create the smaller mesh which will have higher resolution
|
||||
cmo / create / second_cmo / / / hex
|
||||
cmo / select / second_cmo
|
||||
define / NX / 2
|
||||
define / NY / 2
|
||||
define / NZ / 2
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4, 0.4, 0.2/ 0.6 0.6 0.8 /1,1,1
|
||||
cmo / setatt / second_cmo / itetclr / 1 0 0 / 1
|
||||
cmo / setatt / second_cmo / imt / 1 0 0 / 1
|
||||
resetpts / itp
|
||||
|
||||
cmo/addatt/first_cmo/zcoord/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/copyatt/first_cmo first_cmo/zcoord zic
|
||||
cmo/addatt/first_cmo/Aint/VINT/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/first_cmo/Aint 1
|
||||
cmo/setatt/first_cmo/Aint 2,4,1 2
|
||||
cmo/addatt/first_cmo/Adoub/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/addatt/first_cmo/newmat/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/copyatt/first_cmo first_cmo/newmat itetclr
|
||||
cmo/addatt/first_cmo/Aint/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/setatt/first_cmo/Aint 1
|
||||
cmo/setatt/first_cmo/Aint 2,4,1 2
|
||||
cmo/addatt/first_cmo/Adoub/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
cmo/addatt/first_cmo/Anode/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/addatt/first_cmo/Achar/VCHAR/
|
||||
cmo/addatt/first_cmo/Aextra
|
||||
cmo/addatt/first_cmo/Eextra/VDOUBLE/scalar/nelements
|
||||
|
||||
cmo/addatt/second_cmo/zcoord/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/copyatt/second_cmo second_cmo/zcoord zic
|
||||
cmo/addatt/second_cmo/Aint/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/second_cmo/Aint 1.0
|
||||
cmo/setatt/second_cmo/Aint 2,4,1 2.0
|
||||
cmo/addatt/second_cmo/Adoub/VINT/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/second_cmo/Adoub/5
|
||||
cmo/addatt/second_cmo/newmat/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/copyatt/second_cmo second_cmo/newmat itetclr
|
||||
cmo/addatt/second_cmo/Aint/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
cmo/setatt/second_cmo/Aint 1
|
||||
cmo/setatt/second_cmo/Aint 2,4,1 2
|
||||
cmo/addatt/second_cmo/Adoub/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/addatt/second_cmo/Anode/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
cmo/addatt/second_cmo/Achar/VINT/
|
||||
cmo/addatt/second_cmo/Askip
|
||||
|
||||
cmo/status/first_cmo
|
||||
cmo/status/second_cmo
|
||||
|
||||
*
|
||||
* Test append attributes
|
||||
* zcoord has copied zic values
|
||||
* Aint copies VDOUBLE -> VINT
|
||||
* Adoub copies VINT -> VDOUBLE
|
||||
* Anode have mixed nnode and nelement lengths
|
||||
* Achar have mixed char and int
|
||||
* Aextra does not exist in second_cmo
|
||||
* Askip does not exist in master first_cmo
|
||||
*
|
||||
addmesh / append / cmo_merge / first_cmo / second_cmo
|
||||
|
||||
dump avs output_append_hex2.inp cmo_merge
|
||||
finish
|
||||
|
||||
81
test/level01/addmesh_append/reference/input.lgi
Executable file
@@ -0,0 +1,81 @@
|
||||
*--* Create a rough and fine mesh,
|
||||
*--* Test append on mixed attributes
|
||||
*--*
|
||||
*--*----------------------------------------------------
|
||||
*--* Header End
|
||||
*--* ex_addmesh_add
|
||||
*--*
|
||||
* Simple two element version
|
||||
cmo / create / first_cmo / / / hex
|
||||
cmo / select / first_cmo
|
||||
define / NX / 2
|
||||
define / NY / 2
|
||||
define / NZ / 2
|
||||
createpts/brick/xyz/NX,NY,NZ/0. 0. 0./1. .5 .5/1,1,1
|
||||
cmo / setatt / first_cmo / itetclr / 1 0 0 / 1
|
||||
cmo / setatt / first_cmo / imt / 1 0 0 / 1
|
||||
resetpts / itp
|
||||
|
||||
* Create the smaller mesh which will have higher resolution
|
||||
cmo / create / second_cmo / / / hex
|
||||
cmo / select / second_cmo
|
||||
define / NX / 2
|
||||
define / NY / 2
|
||||
define / NZ / 2
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4, 0.4, 0.2/ 0.6 0.6 0.8 /1,1,1
|
||||
cmo / setatt / second_cmo / itetclr / 1 0 0 / 1
|
||||
cmo / setatt / second_cmo / imt / 1 0 0 / 1
|
||||
resetpts / itp
|
||||
|
||||
cmo/addatt/first_cmo/zcoord/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/copyatt/first_cmo first_cmo/zcoord zic
|
||||
cmo/addatt/first_cmo/Aint/VINT/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/first_cmo/Aint 1
|
||||
cmo/setatt/first_cmo/Aint 2,4,1 2
|
||||
cmo/addatt/first_cmo/Adoub/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/addatt/first_cmo/newmat/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/copyatt/first_cmo first_cmo/newmat itetclr
|
||||
cmo/addatt/first_cmo/Aint/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/setatt/first_cmo/Aint 1
|
||||
cmo/setatt/first_cmo/Aint 2,4,1 2
|
||||
cmo/addatt/first_cmo/Adoub/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
cmo/addatt/first_cmo/Anode/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/addatt/first_cmo/Achar/VCHAR/
|
||||
cmo/addatt/first_cmo/Aextra
|
||||
cmo/addatt/first_cmo/Eextra/VDOUBLE/scalar/nelements
|
||||
|
||||
cmo/addatt/second_cmo/zcoord/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/copyatt/second_cmo second_cmo/zcoord zic
|
||||
cmo/addatt/second_cmo/Aint/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/second_cmo/Aint 1.0
|
||||
cmo/setatt/second_cmo/Aint 2,4,1 2.0
|
||||
cmo/addatt/second_cmo/Adoub/VINT/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/second_cmo/Adoub/5
|
||||
cmo/addatt/second_cmo/newmat/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/copyatt/second_cmo second_cmo/newmat itetclr
|
||||
cmo/addatt/second_cmo/Aint/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
cmo/setatt/second_cmo/Aint 1
|
||||
cmo/setatt/second_cmo/Aint 2,4,1 2
|
||||
cmo/addatt/second_cmo/Adoub/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/addatt/second_cmo/Anode/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
cmo/addatt/second_cmo/Achar/VINT/
|
||||
cmo/addatt/second_cmo/Askip
|
||||
|
||||
cmo/status/first_cmo
|
||||
cmo/status/second_cmo
|
||||
|
||||
*
|
||||
* Test append attributes
|
||||
* zcoord has copied zic values
|
||||
* Aint copies VDOUBLE -> VINT
|
||||
* Adoub copies VINT -> VDOUBLE
|
||||
* Anode have mixed nnode and nelement lengths
|
||||
* Achar have mixed char and int
|
||||
* Aextra does not exist in second_cmo
|
||||
* Askip does not exist in master first_cmo
|
||||
*
|
||||
addmesh / append / cmo_merge / first_cmo / second_cmo
|
||||
|
||||
dump avs output_append_hex2.inp cmo_merge
|
||||
finish
|
||||
|
||||
55
test/level01/addmesh_append/reference/logx3dgen
Executable file
@@ -0,0 +1,55 @@
|
||||
cmo/create/first_cmo///hex
|
||||
cmo/select/first_cmo
|
||||
define/NX/2
|
||||
define/NY/2
|
||||
define/NZ/2
|
||||
createpts/brick/xyz/NX,NY,NZ/0. 0. 0./1. .5 .5/1,1,1
|
||||
cmo/setatt/first_cmo/itetclr/1 0 0/1
|
||||
cmo/setatt/first_cmo/imt/1 0 0/1
|
||||
resetpts/itp
|
||||
cmo/create/second_cmo///hex
|
||||
cmo/select/second_cmo
|
||||
define/NX/2
|
||||
define/NY/2
|
||||
define/NZ/2
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4,0.4,0.2/0.6 0.6 0.8/1,1,1
|
||||
cmo/setatt/second_cmo/itetclr/1 0 0/1
|
||||
cmo/setatt/second_cmo/imt/1 0 0/1
|
||||
resetpts/itp
|
||||
cmo/addatt/first_cmo/zcoord/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/copyatt/first_cmo first_cmo/zcoord zic
|
||||
cmo/addatt/first_cmo/Aint/VINT/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/first_cmo/Aint 1
|
||||
cmo/setatt/first_cmo/Aint 2,4,1 2
|
||||
cmo/addatt/first_cmo/Adoub/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/addatt/first_cmo/newmat/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/copyatt/first_cmo first_cmo/newmat itetclr
|
||||
cmo/addatt/first_cmo/Aint/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/setatt/first_cmo/Aint 1
|
||||
cmo/setatt/first_cmo/Aint 2,4,1 2
|
||||
cmo/addatt/first_cmo/Adoub/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
cmo/addatt/first_cmo/Anode/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/addatt/first_cmo/Achar/VCHAR/
|
||||
cmo/addatt/first_cmo/Aextra
|
||||
cmo/addatt/first_cmo/Eextra/VDOUBLE/scalar/nelements
|
||||
cmo/addatt/second_cmo/zcoord/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/copyatt/second_cmo second_cmo/zcoord zic
|
||||
cmo/addatt/second_cmo/Aint/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/second_cmo/Aint 1.0
|
||||
cmo/setatt/second_cmo/Aint 2,4,1 2.0
|
||||
cmo/addatt/second_cmo/Adoub/VINT/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/second_cmo/Adoub/5
|
||||
cmo/addatt/second_cmo/newmat/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/copyatt/second_cmo second_cmo/newmat itetclr
|
||||
cmo/addatt/second_cmo/Aint/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
cmo/setatt/second_cmo/Aint 1
|
||||
cmo/setatt/second_cmo/Aint 2,4,1 2
|
||||
cmo/addatt/second_cmo/Adoub/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/addatt/second_cmo/Anode/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
cmo/addatt/second_cmo/Achar/VINT/
|
||||
cmo/addatt/second_cmo/Askip
|
||||
cmo/status/first_cmo
|
||||
cmo/status/second_cmo
|
||||
addmesh/append/cmo_merge/first_cmo/second_cmo
|
||||
dump avs output_append_hex2.inp cmo_merge
|
||||
finish
|
||||
51
test/level01/addmesh_append/reference/output_append_hex2.inp
Executable file
@@ -0,0 +1,51 @@
|
||||
16 2 10 2 0
|
||||
001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
002 1.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
003 0.000000000000E+00 5.000000000000E-01 0.000000000000E+00
|
||||
004 1.000000000000E+00 5.000000000000E-01 0.000000000000E+00
|
||||
005 0.000000000000E+00 0.000000000000E+00 5.000000000000E-01
|
||||
006 1.000000000000E+00 0.000000000000E+00 5.000000000000E-01
|
||||
007 0.000000000000E+00 5.000000000000E-01 5.000000000000E-01
|
||||
008 1.000000000000E+00 5.000000000000E-01 5.000000000000E-01
|
||||
009 4.000000000000E-01 4.000000000000E-01 2.000000000000E-01
|
||||
010 6.000000000000E-01 4.000000000000E-01 2.000000000000E-01
|
||||
011 4.000000000000E-01 6.000000000000E-01 2.000000000000E-01
|
||||
012 6.000000000000E-01 6.000000000000E-01 2.000000000000E-01
|
||||
013 4.000000000000E-01 4.000000000000E-01 8.000000000000E-01
|
||||
014 6.000000000000E-01 4.000000000000E-01 8.000000000000E-01
|
||||
015 4.000000000000E-01 6.000000000000E-01 8.000000000000E-01
|
||||
016 6.000000000000E-01 6.000000000000E-01 8.000000000000E-01
|
||||
001 1 hex 5 6 8 7 1 2 4 3
|
||||
002 2 hex 13 14 16 15 9 10 12 11
|
||||
00010 1 1 1 1 1 1 1 1 1 1
|
||||
imt1, integer
|
||||
itp1, integer
|
||||
icr1, integer
|
||||
isn1, integer
|
||||
zcoord, real
|
||||
Aint, integer
|
||||
Adoub, real
|
||||
Anode, real
|
||||
Achar, no units
|
||||
Aextra, real
|
||||
1 1 10 0 0 0.000000000000E+00 1 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
2 1 10 0 0 0.000000000000E+00 2 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
3 1 10 0 0 0.000000000000E+00 2 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
4 1 10 0 0 0.000000000000E+00 2 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
5 1 10 0 0 0.500000000000E+00 1 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
6 1 10 0 0 0.500000000000E+00 1 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
7 1 10 0 0 0.500000000000E+00 1 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
8 1 10 0 0 0.500000000000E+00 1 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
9 2 10 0 0 0.200000000000E+00 1 0.500000000000E+01 0.000000000000E+00 0.000000000000E+00
|
||||
10 2 10 0 0 0.200000000000E+00 2 0.500000000000E+01 0.000000000000E+00 0.000000000000E+00
|
||||
11 2 10 0 0 0.200000000000E+00 2 0.500000000000E+01 0.000000000000E+00 0.000000000000E+00
|
||||
12 2 10 0 0 0.200000000000E+00 2 0.500000000000E+01 0.000000000000E+00 0.000000000000E+00
|
||||
13 2 10 0 0 0.800000000000E+00 1 0.500000000000E+01 0.000000000000E+00 0.000000000000E+00
|
||||
14 2 10 0 0 0.800000000000E+00 1 0.500000000000E+01 0.000000000000E+00 0.000000000000E+00
|
||||
15 2 10 0 0 0.800000000000E+00 1 0.500000000000E+01 0.000000000000E+00 0.000000000000E+00
|
||||
16 2 10 0 0 0.800000000000E+00 1 0.500000000000E+01 0.000000000000E+00 0.000000000000E+00
|
||||
00002 1 1
|
||||
newmat, integer
|
||||
Eextra, real
|
||||
1 1 0.000000000000E+00
|
||||
2 1 0.000000000000E+00
|
||||
331
test/level01/addmesh_append/reference/outx3dgen
Executable file
@@ -0,0 +1,331 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.330 Linux *
|
||||
* * date_compile: 2021/10/15 test *
|
||||
* * Run Time: 2021/Nov 3 17:51:35 *
|
||||
* * 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
|
||||
|
||||
*--* Create a rough and fine mesh,
|
||||
*--* Test append on mixed attributes
|
||||
*--*
|
||||
*--*----------------------------------------------------
|
||||
*--* Header End
|
||||
*--* ex_addmesh_add
|
||||
*--*
|
||||
* Simple two element version
|
||||
cmo/create/first_cmo///hex
|
||||
cmo/select/first_cmo
|
||||
define/NX/2
|
||||
define/NY/2
|
||||
define/NZ/2
|
||||
createpts/brick/xyz/NX,NY,NZ/0. 0. 0./1. .5 .5/1,1,1
|
||||
Number of nodes: 8
|
||||
Number of elements: 1
|
||||
Number of negative volume elements: 0
|
||||
Total volume: 0.250000000000E+00
|
||||
cmo/setatt/first_cmo/itetclr/1 0 0/1
|
||||
1 values reset for attribute itetclr
|
||||
|
||||
cmo/setatt/first_cmo/imt/1 0 0/1
|
||||
8 values reset for attribute imt1
|
||||
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
* Create the smaller mesh which will have higher resolution
|
||||
cmo/create/second_cmo///hex
|
||||
cmo/select/second_cmo
|
||||
define/NX/2
|
||||
define/NY/2
|
||||
define/NZ/2
|
||||
createpts/brick/xyz/NX,NY,NZ/0.4,0.4,0.2/0.6 0.6 0.8/1,1,1
|
||||
Number of nodes: 8
|
||||
Number of elements: 1
|
||||
Number of negative volume elements: 0
|
||||
Total volume: 0.240000000000E-01
|
||||
cmo/setatt/second_cmo/itetclr/1 0 0/1
|
||||
1 values reset for attribute itetclr
|
||||
|
||||
cmo/setatt/second_cmo/imt/1 0 0/1
|
||||
8 values reset for attribute imt1
|
||||
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
cmo/addatt/first_cmo/zcoord/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/copyatt/first_cmo first_cmo/zcoord zic
|
||||
8 copied from first_cmo zic to -> first_cmo zcoord
|
||||
|
||||
cmo/addatt/first_cmo/Aint/VINT/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/first_cmo/Aint 1
|
||||
8 values reset for attribute Aint
|
||||
|
||||
cmo/setatt/first_cmo/Aint 2,4,1 2
|
||||
3 values reset for attribute Aint
|
||||
|
||||
cmo/addatt/first_cmo/Adoub/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/addatt/first_cmo/newmat/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/copyatt/first_cmo first_cmo/newmat itetclr
|
||||
1 copied from first_cmo itetclr to -> first_cmo newmat
|
||||
|
||||
cmo/addatt/first_cmo/Aint/VINT/scalar/nelements/linear/permanent/
|
||||
CMO_ADDATT warning: attribute already exist: first_cmo Aint
|
||||
cmo/setatt/first_cmo/Aint 1
|
||||
8 values reset for attribute Aint
|
||||
|
||||
cmo/setatt/first_cmo/Aint 2,4,1 2
|
||||
3 values reset for attribute Aint
|
||||
|
||||
cmo/addatt/first_cmo/Adoub/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
CMO_ADDATT warning: attribute already exist: first_cmo Adoub
|
||||
cmo/addatt/first_cmo/Anode/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/addatt/first_cmo/Achar/VCHAR/
|
||||
cmo/addatt/first_cmo/Aextra
|
||||
cmo/addatt/first_cmo/Eextra/VDOUBLE/scalar/nelements
|
||||
cmo/addatt/second_cmo/zcoord/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/copyatt/second_cmo second_cmo/zcoord zic
|
||||
8 copied from second_cmo zic to -> second_cmo zcoord
|
||||
|
||||
cmo/addatt/second_cmo/Aint/VDOUBLE/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/second_cmo/Aint 1.0
|
||||
8 values reset for attribute Aint
|
||||
|
||||
cmo/setatt/second_cmo/Aint 2,4,1 2.0
|
||||
3 values reset for attribute Aint
|
||||
|
||||
cmo/addatt/second_cmo/Adoub/VINT/scalar/nnodes/linear/permanent/
|
||||
cmo/setatt/second_cmo/Adoub/5
|
||||
8 values reset for attribute Adoub
|
||||
|
||||
cmo/addatt/second_cmo/newmat/VINT/scalar/nelements/linear/permanent/
|
||||
cmo/copyatt/second_cmo second_cmo/newmat itetclr
|
||||
1 copied from second_cmo itetclr to -> second_cmo newmat
|
||||
|
||||
cmo/addatt/second_cmo/Aint/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
CMO_ADDATT warning: attribute already exist: second_cmo Aint
|
||||
cmo/setatt/second_cmo/Aint 1
|
||||
8 values reset for attribute Aint
|
||||
|
||||
cmo/setatt/second_cmo/Aint 2,4,1 2
|
||||
3 values reset for attribute Aint
|
||||
|
||||
cmo/addatt/second_cmo/Adoub/VINT/scalar/nelements/linear/permanent/
|
||||
CMO_ADDATT warning: attribute already exist: second_cmo Adoub
|
||||
cmo/addatt/second_cmo/Anode/VDOUBLE/scalar/nelements/linear/permanent/
|
||||
cmo/addatt/second_cmo/Achar/VINT/
|
||||
cmo/addatt/second_cmo/Askip
|
||||
cmo/status/first_cmo
|
||||
|
||||
The current-mesh-object(CMO) is: second_cmo
|
||||
|
||||
1 Mesh Object name: first_cmo
|
||||
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
|
||||
|
||||
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 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 2.719E-13
|
||||
35 epsilona REAL scalar scalar const perma l 3.331E-13
|
||||
36 epsilonv REAL scalar scalar const perma l 5.551E-14
|
||||
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+00
|
||||
55 ymax REAL scalar scalar const perma l 5.000E-01
|
||||
56 zmax REAL scalar scalar const perma l 5.000E-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 zcoord VDOU scalar nnodes linea perma agl 0.000E+00
|
||||
67 Aint VINT scalar nnodes linea perma agl 0.000E+00
|
||||
68 Adoub VDOU scalar nnodes linea perma agl 0.000E+00
|
||||
69 newmat VINT scalar nelements linea perma agl 0.000E+00
|
||||
70 Anode VDOU scalar nnodes linea perma agl 0.000E+00
|
||||
71 Achar VCHA scalar nnodes linea tempo agl 0.6
|
||||
72 Aextra VDOU scalar nnodes linea tempo agl 0.000E+00
|
||||
73 Eextra VDOU scalar nelements linea tempo agl 0.000E+00
|
||||
cmo/status/second_cmo
|
||||
|
||||
The current-mesh-object(CMO) is: second_cmo
|
||||
|
||||
2 Mesh Object name: second_cmo
|
||||
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 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 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 1.473E-13
|
||||
35 epsilona REAL scalar scalar const perma l 9.770E-14
|
||||
36 epsilonv REAL scalar scalar const perma l 5.329E-15
|
||||
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 4.000E-01
|
||||
52 ymin REAL scalar scalar const perma l 4.000E-01
|
||||
53 zmin REAL scalar scalar const perma l 2.000E-01
|
||||
54 xmax REAL scalar scalar const perma l 6.000E-01
|
||||
55 ymax REAL scalar scalar const perma l 6.000E-01
|
||||
56 zmax REAL scalar scalar const perma l 8.000E-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 zcoord VDOU scalar nnodes linea perma agl 0.000E+00
|
||||
67 Aint VDOU scalar nnodes linea perma agl 0.000E+00
|
||||
68 Adoub VINT scalar nnodes linea perma agl 0.000E+00
|
||||
69 newmat VINT scalar nelements linea perma agl 0.000E+00
|
||||
70 Anode VDOU scalar nelements linea perma agl 0.000E+00
|
||||
71 Achar VINT scalar nnodes linea tempo agl 0.000E+00
|
||||
72 Askip VDOU scalar nnodes linea tempo agl 0.000E+00
|
||||
*
|
||||
* Test append attributes
|
||||
* zcoord has copied zic values
|
||||
* Aint copies VDOUBLE -> VINT
|
||||
* Adoub copies VINT -> VDOUBLE
|
||||
* Anode have mixed nnode and nelement lengths
|
||||
* Achar have mixed char and int
|
||||
* Aextra does not exist in second_cmo
|
||||
* Askip does not exist in master first_cmo
|
||||
*
|
||||
addmesh/append/cmo_merge/first_cmo/second_cmo
|
||||
searching for cmo_merge attributes in second_cmo
|
||||
length mismatch: 70 Anode nnodes nelements
|
||||
type mismatch: 71 Achar VCHAR VINT
|
||||
attribute not found: 72 Aextra
|
||||
attribute not found: 73 Eextra
|
||||
ADDMESH: 4 attributes not copied from second_cmo to cmo_merge
|
||||
|
||||
dump avs output_append_hex2.inp cmo_merge
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
59
test/level01/addmesh_doublemesh/input.lgi
Executable file
@@ -0,0 +1,59 @@
|
||||
* duplicate an existing mesh to make a mesh twice as big
|
||||
define/ngrains/5
|
||||
define/xmn/0.
|
||||
define/xmx/2.6
|
||||
define/ymn/-1.
|
||||
define/ymx/1.
|
||||
define/zmn/0./
|
||||
define/zmx/1.
|
||||
read avs input_doublemesh.inp 3dmesh
|
||||
cmo/copy/newmesh/3dmesh
|
||||
math/times/newmesh/yic/1,0,0/newmesh/yic/-1.0/
|
||||
math/add/newmesh/imt1/1,0,0/newmesh/imt1/ngrains
|
||||
math/add/newmesh/itetclr/1,0,0/newmesh/itetclr/ngrains
|
||||
addmesh/glue/doublemesh/3dmesh/newmesh
|
||||
geometry/create/biggeom
|
||||
cmo/geometry/doublemesh/biggeom
|
||||
cmo/setatt//nconbnd/0
|
||||
surface/top/ reflect/plane/0.,0.,zmx/1.,0.,zmx/1.,1.,zmx/
|
||||
surface/bottom/reflect/plane/0.,0.,zmn/1.,0.,zmn/1.,1.,zmn/
|
||||
surface/left/ reflect/plane/xmn,0.,0./xmn,1.,0./xmn,1.,1./
|
||||
surface/right/ reflect/plane/xmx,0.,0./xmx,1.,0./xmx,1.,1./
|
||||
surface/front/ reflect/plane/0.,ymx,0./1.,ymx,0./1.,ymx,1./
|
||||
surface/back/ reflect/plane/0.,ymn,0./1.,ymn,0./1.,ymn,1./
|
||||
resetpts/itp
|
||||
cmo/setatt//icr1/1,0,0/0
|
||||
boundary/dirichlet/icr1/1/top
|
||||
boundary/dirichlet/icr1/2/bottom/
|
||||
boundary/dirichlet/icr1/3/right/
|
||||
boundary/dirichlet/icr1/4/left/
|
||||
boundary/dirichlet/icr1/5/front/
|
||||
boundary/dirichlet/icr1/6/back/
|
||||
boundary/dirichlet/icr1/7/top/back
|
||||
boundary/dirichlet/icr1/8/top/front
|
||||
boundary/dirichlet/icr1/9/top/left
|
||||
boundary/dirichlet/icr1/10/top/right
|
||||
boundary/dirichlet/icr1/11/front/right
|
||||
boundary/dirichlet/icr1/12/front/left
|
||||
boundary/dirichlet/icr1/13/front/bottom
|
||||
boundary/dirichlet/icr1/14/bottom/right
|
||||
boundary/dirichlet/icr1/15/bottom/left
|
||||
boundary/dirichlet/icr1/16/bottom/back
|
||||
boundary/dirichlet/icr1/17/back/left
|
||||
boundary/dirichlet/icr1/18/back/right
|
||||
boundary/dirichlet/icr1/19/top/back/left
|
||||
boundary/dirichlet/icr1/20/top/back/right
|
||||
boundary/dirichlet/icr1/21/top/front/left
|
||||
boundary/dirichlet/icr1/22/top/front/right
|
||||
boundary/dirichlet/icr1/23/bottom/back/left
|
||||
boundary/dirichlet/icr1/24/bottom/back/right
|
||||
boundary/dirichlet/icr1/25/bottom/front/left
|
||||
boundary/dirichlet/icr1/26/bottom/front/right
|
||||
*
|
||||
dump/avs/output_doublemesh.inp
|
||||
* begin compare
|
||||
cmo/status
|
||||
cmo/printatt//-all-/minmax
|
||||
quality
|
||||
* end compare
|
||||
finish
|
||||
36258
test/level01/addmesh_doublemesh/input_doublemesh.inp
Executable file
59
test/level01/addmesh_doublemesh/reference/input.lgi
Executable file
@@ -0,0 +1,59 @@
|
||||
* duplicate an existing mesh to make a mesh twice as big
|
||||
define/ngrains/5
|
||||
define/xmn/0.
|
||||
define/xmx/2.6
|
||||
define/ymn/-1.
|
||||
define/ymx/1.
|
||||
define/zmn/0./
|
||||
define/zmx/1.
|
||||
read avs input_doublemesh.inp 3dmesh
|
||||
cmo/copy/newmesh/3dmesh
|
||||
math/times/newmesh/yic/1,0,0/newmesh/yic/-1.0/
|
||||
math/add/newmesh/imt1/1,0,0/newmesh/imt1/ngrains
|
||||
math/add/newmesh/itetclr/1,0,0/newmesh/itetclr/ngrains
|
||||
addmesh/glue/doublemesh/3dmesh/newmesh
|
||||
geometry/create/biggeom
|
||||
cmo/geometry/doublemesh/biggeom
|
||||
cmo/setatt//nconbnd/0
|
||||
surface/top/ reflect/plane/0.,0.,zmx/1.,0.,zmx/1.,1.,zmx/
|
||||
surface/bottom/reflect/plane/0.,0.,zmn/1.,0.,zmn/1.,1.,zmn/
|
||||
surface/left/ reflect/plane/xmn,0.,0./xmn,1.,0./xmn,1.,1./
|
||||
surface/right/ reflect/plane/xmx,0.,0./xmx,1.,0./xmx,1.,1./
|
||||
surface/front/ reflect/plane/0.,ymx,0./1.,ymx,0./1.,ymx,1./
|
||||
surface/back/ reflect/plane/0.,ymn,0./1.,ymn,0./1.,ymn,1./
|
||||
resetpts/itp
|
||||
cmo/setatt//icr1/1,0,0/0
|
||||
boundary/dirichlet/icr1/1/top
|
||||
boundary/dirichlet/icr1/2/bottom/
|
||||
boundary/dirichlet/icr1/3/right/
|
||||
boundary/dirichlet/icr1/4/left/
|
||||
boundary/dirichlet/icr1/5/front/
|
||||
boundary/dirichlet/icr1/6/back/
|
||||
boundary/dirichlet/icr1/7/top/back
|
||||
boundary/dirichlet/icr1/8/top/front
|
||||
boundary/dirichlet/icr1/9/top/left
|
||||
boundary/dirichlet/icr1/10/top/right
|
||||
boundary/dirichlet/icr1/11/front/right
|
||||
boundary/dirichlet/icr1/12/front/left
|
||||
boundary/dirichlet/icr1/13/front/bottom
|
||||
boundary/dirichlet/icr1/14/bottom/right
|
||||
boundary/dirichlet/icr1/15/bottom/left
|
||||
boundary/dirichlet/icr1/16/bottom/back
|
||||
boundary/dirichlet/icr1/17/back/left
|
||||
boundary/dirichlet/icr1/18/back/right
|
||||
boundary/dirichlet/icr1/19/top/back/left
|
||||
boundary/dirichlet/icr1/20/top/back/right
|
||||
boundary/dirichlet/icr1/21/top/front/left
|
||||
boundary/dirichlet/icr1/22/top/front/right
|
||||
boundary/dirichlet/icr1/23/bottom/back/left
|
||||
boundary/dirichlet/icr1/24/bottom/back/right
|
||||
boundary/dirichlet/icr1/25/bottom/front/left
|
||||
boundary/dirichlet/icr1/26/bottom/front/right
|
||||
*
|
||||
dump/gmv/output_doublemesh.gmv
|
||||
* begin compare
|
||||
cmo/status
|
||||
cmo/printatt//-all-/minmax
|
||||
quality
|
||||
* end compare
|
||||
finish
|
||||
36258
test/level01/addmesh_doublemesh/reference/input_doublemesh.inp
Executable file
55
test/level01/addmesh_doublemesh/reference/logx3dgen
Executable file
@@ -0,0 +1,55 @@
|
||||
define/ngrains/5
|
||||
define/xmn/0.
|
||||
define/xmx/2.6
|
||||
define/ymn/-1.
|
||||
define/ymx/1.
|
||||
define/zmn/0./
|
||||
define/zmx/1.
|
||||
read avs input_doublemesh.inp 3dmesh
|
||||
cmo/copy/newmesh/3dmesh
|
||||
math/times/newmesh/yic/1,0,0/newmesh/yic/-1.0/
|
||||
math/add/newmesh/imt1/1,0,0/newmesh/imt1/ngrains
|
||||
math/add/newmesh/itetclr/1,0,0/newmesh/itetclr/ngrains
|
||||
addmesh/glue/doublemesh/3dmesh/newmesh
|
||||
geometry/create/biggeom
|
||||
cmo/geometry/doublemesh/biggeom
|
||||
cmo/setatt//nconbnd/0
|
||||
surface/top/reflect/plane/0.,0.,zmx/1.,0.,zmx/1.,1.,zmx/
|
||||
surface/bottom/reflect/plane/0.,0.,zmn/1.,0.,zmn/1.,1.,zmn/
|
||||
surface/left/reflect/plane/xmn,0.,0./xmn,1.,0./xmn,1.,1./
|
||||
surface/right/reflect/plane/xmx,0.,0./xmx,1.,0./xmx,1.,1./
|
||||
surface/front/reflect/plane/0.,ymx,0./1.,ymx,0./1.,ymx,1./
|
||||
surface/back/reflect/plane/0.,ymn,0./1.,ymn,0./1.,ymn,1./
|
||||
resetpts/itp
|
||||
cmo/setatt//icr1/1,0,0/0
|
||||
boundary/dirichlet/icr1/1/top
|
||||
boundary/dirichlet/icr1/2/bottom/
|
||||
boundary/dirichlet/icr1/3/right/
|
||||
boundary/dirichlet/icr1/4/left/
|
||||
boundary/dirichlet/icr1/5/front/
|
||||
boundary/dirichlet/icr1/6/back/
|
||||
boundary/dirichlet/icr1/7/top/back
|
||||
boundary/dirichlet/icr1/8/top/front
|
||||
boundary/dirichlet/icr1/9/top/left
|
||||
boundary/dirichlet/icr1/10/top/right
|
||||
boundary/dirichlet/icr1/11/front/right
|
||||
boundary/dirichlet/icr1/12/front/left
|
||||
boundary/dirichlet/icr1/13/front/bottom
|
||||
boundary/dirichlet/icr1/14/bottom/right
|
||||
boundary/dirichlet/icr1/15/bottom/left
|
||||
boundary/dirichlet/icr1/16/bottom/back
|
||||
boundary/dirichlet/icr1/17/back/left
|
||||
boundary/dirichlet/icr1/18/back/right
|
||||
boundary/dirichlet/icr1/19/top/back/left
|
||||
boundary/dirichlet/icr1/20/top/back/right
|
||||
boundary/dirichlet/icr1/21/top/front/left
|
||||
boundary/dirichlet/icr1/22/top/front/right
|
||||
boundary/dirichlet/icr1/23/bottom/back/left
|
||||
boundary/dirichlet/icr1/24/bottom/back/right
|
||||
boundary/dirichlet/icr1/25/bottom/front/left
|
||||
boundary/dirichlet/icr1/26/bottom/front/right
|
||||
dump/avs/output_doublemesh.inp
|
||||
cmo/status
|
||||
cmo/printatt//-all-/minmax
|
||||
quality
|
||||
finish
|
||||
440
test/level01/addmesh_doublemesh/reference/outx3dgen
Executable file
@@ -0,0 +1,440 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.330 Linux *
|
||||
* * date_compile: 2021/10/15 test *
|
||||
* * Run Time: 2021/Nov 3 17:56:27 *
|
||||
* * 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
|
||||
|
||||
* duplicate an existing mesh to make a mesh twice as big
|
||||
define/ngrains/5
|
||||
define/xmn/0.
|
||||
define/xmx/2.6
|
||||
define/ymn/-1.
|
||||
define/ymx/1.
|
||||
define/zmn/0./
|
||||
define/zmx/1.
|
||||
read avs input_doublemesh.inp 3dmesh
|
||||
geniee
|
||||
finish
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: 3dmesh
|
||||
|
||||
1 Mesh Object name: 3dmesh
|
||||
number of nodes = 8738 number of elements = 18776
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
finish
|
||||
cmo/copy/newmesh/3dmesh
|
||||
math/times/newmesh/yic/1,0,0/newmesh/yic/-1.0/
|
||||
math/add/newmesh/imt1/1,0,0/newmesh/imt1/ngrains
|
||||
math/add/newmesh/itetclr/1,0,0/newmesh/itetclr/ngrains
|
||||
addmesh/glue/doublemesh/3dmesh/newmesh
|
||||
geometry/create/biggeom
|
||||
Current geometry name set to: biggeom
|
||||
cmo/geometry/doublemesh/biggeom
|
||||
cmo/modatt/doublemesh/geom_name/default/biggeom/
|
||||
finish
|
||||
cmo/setatt//nconbnd/0
|
||||
cannot attribute nconbnd in doublemesh
|
||||
surface/top/reflect/plane/0.,0.,zmx/1.,0.,zmx/1.,1.,zmx/
|
||||
The unit vector for top is 0.0000000i -0.0000000j 1.0000000k
|
||||
cmo/addatt//ncon50/INT/scalar/scalar/constant/permanent/l/0
|
||||
finish
|
||||
cmo/addatt//nconbnd/INT/scalar/scalar/constant/permanent/l/0
|
||||
finish
|
||||
cmo/addatt//icontab/VINT/scalar/ncon50/constant/permanent/l/0.0
|
||||
finish
|
||||
surface/bottom/reflect/plane/0.,0.,zmn/1.,0.,zmn/1.,1.,zmn/
|
||||
The unit vector for bottom is 0.0000000i -0.0000000j 1.0000000k
|
||||
surface/left/reflect/plane/xmn,0.,0./xmn,1.,0./xmn,1.,1./
|
||||
The unit vector for left is 1.0000000i -0.0000000j 0.0000000k
|
||||
surface/right/reflect/plane/xmx,0.,0./xmx,1.,0./xmx,1.,1./
|
||||
The unit vector for right is 1.0000000i -0.0000000j 0.0000000k
|
||||
surface/front/reflect/plane/0.,ymx,0./1.,ymx,0./1.,ymx,1./
|
||||
The unit vector for front is 0.0000000i -1.0000000j 0.0000000k
|
||||
surface/back/reflect/plane/0.,ymn,0./1.,ymn,0./1.,ymn,1./
|
||||
The unit vector for back is 0.0000000i -1.0000000j 0.0000000k
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
cmo/setatt//icr1/1,0,0/0
|
||||
17476 values reset for attribute icr1
|
||||
|
||||
boundary/dirichlet/icr1/1/top
|
||||
boundary/dirichlet/icr1/2/bottom/
|
||||
boundary/dirichlet/icr1/3/right/
|
||||
boundary/dirichlet/icr1/4/left/
|
||||
boundary/dirichlet/icr1/5/front/
|
||||
boundary/dirichlet/icr1/6/back/
|
||||
boundary/dirichlet/icr1/7/top/back
|
||||
boundary/dirichlet/icr1/8/top/front
|
||||
boundary/dirichlet/icr1/9/top/left
|
||||
boundary/dirichlet/icr1/10/top/right
|
||||
boundary/dirichlet/icr1/11/front/right
|
||||
boundary/dirichlet/icr1/12/front/left
|
||||
boundary/dirichlet/icr1/13/front/bottom
|
||||
boundary/dirichlet/icr1/14/bottom/right
|
||||
boundary/dirichlet/icr1/15/bottom/left
|
||||
boundary/dirichlet/icr1/16/bottom/back
|
||||
boundary/dirichlet/icr1/17/back/left
|
||||
boundary/dirichlet/icr1/18/back/right
|
||||
boundary/dirichlet/icr1/19/top/back/left
|
||||
boundary/dirichlet/icr1/20/top/back/right
|
||||
boundary/dirichlet/icr1/21/top/front/left
|
||||
boundary/dirichlet/icr1/22/top/front/right
|
||||
boundary/dirichlet/icr1/23/bottom/back/left
|
||||
boundary/dirichlet/icr1/24/bottom/back/right
|
||||
boundary/dirichlet/icr1/25/bottom/front/left
|
||||
boundary/dirichlet/icr1/26/bottom/front/right
|
||||
*
|
||||
dump/avs/output_doublemesh.inp
|
||||
|
||||
Second argument is not a filename. Trying to use default mesh object.
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
* begin compare
|
||||
cmo/status
|
||||
|
||||
The current-mesh-object(CMO) is: doublemesh
|
||||
|
||||
1 Mesh Object name: 3dmesh
|
||||
number of nodes = 8738 number of elements = 18776
|
||||
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 8.738E+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 1.878E+04
|
||||
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 6.572E-13
|
||||
35 epsilona REAL scalar scalar const perma l 1.945E-12
|
||||
36 epsilonv REAL scalar scalar const perma l 5.773E-13
|
||||
37 ipointi INT scalar scalar const perma l 1.000E+00
|
||||
38 ipointj INT scalar scalar const perma l 8.738E+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 0.000E+00
|
||||
54 xmax REAL scalar scalar const perma l 2.600E+00
|
||||
55 ymax REAL scalar scalar const perma l 1.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
|
||||
|
||||
2 Mesh Object name: newmesh
|
||||
number of nodes = 8738 number of elements = 18776
|
||||
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 8.738E+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 1.878E+04
|
||||
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 6.572E-13
|
||||
35 epsilona REAL scalar scalar const perma l 1.945E-12
|
||||
36 epsilonv REAL scalar scalar const perma l 5.773E-13
|
||||
37 ipointi INT scalar scalar const perma l 1.000E+00
|
||||
38 ipointj INT scalar scalar const perma l 8.738E+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 0.000E+00
|
||||
54 xmax REAL scalar scalar const perma l 2.600E+00
|
||||
55 ymax REAL scalar scalar const perma l 1.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
|
||||
|
||||
3 Mesh Object name: doublemesh
|
||||
number of nodes = 17476 number of elements = 37552
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 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 1.748E+04
|
||||
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 3.755E+04
|
||||
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 6.572E-13
|
||||
35 epsilona REAL scalar scalar const perma l 1.945E-12
|
||||
36 epsilonv REAL scalar scalar const perma l 5.773E-13
|
||||
37 ipointi INT scalar scalar const perma l 8.739E+03
|
||||
38 ipointj INT scalar scalar const perma l 1.748E+04
|
||||
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 2.600E+00
|
||||
55 ymax REAL scalar scalar const perma l 1.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 biggeom
|
||||
64 fsetnames VCHA scalar max_number_sets const perma l
|
||||
65 number_of_fsets INT scalar scalar const perma l 0.000E+00
|
||||
66 ncon50 INT scalar scalar const perma l 2.500E+03
|
||||
67 nconbnd INT scalar scalar const perma l 2.600E+01
|
||||
68 icontab VINT scalar ncon50 const perma l 0.000E+00
|
||||
cmo/printatt//-all-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
-def- 0.000000000E+00 0.000000000E+00 0.000000000E+00 17476
|
||||
scalar 1 1 0 1
|
||||
vector 3 3 0 1
|
||||
nnodes 17476 17476 0 1
|
||||
nedges 0 0 0 1
|
||||
nfaces 0 0 0 1
|
||||
nelements 37552 37552 0 1
|
||||
mbndry 16000000 16000000 0 1
|
||||
ndimensions_topo 3 3 0 1
|
||||
ndimensions_geom 3 3 0 1
|
||||
nodes_per_element 4 4 0 1
|
||||
edges_per_element 6 6 0 1
|
||||
faces_per_element 4 4 0 1
|
||||
isetwd 0 0 0 17476
|
||||
ialias 0 8738 8738 17476
|
||||
imt1 1 10 9 17476
|
||||
itp1 0 41 41 17476
|
||||
icr1 0 26 26 17476
|
||||
isn1 0 17476 17476 17476
|
||||
xic 0.000000000E+00 2.600000003E+00 2.600000003E+00 17476
|
||||
yic -1.000000001E+00 1.000000001E+00 2.000000002E+00 17476
|
||||
zic 0.000000000E+00 1.000000000E+00 1.000000000E+00 17476
|
||||
xtetwd 0 0 0 37552
|
||||
itetclr 1 10 9 37552
|
||||
itettyp 5 5 0 37552
|
||||
itetoff 0 150204 150204 37552
|
||||
jtetoff 0 150204 150204 37552
|
||||
itet 1 17476 17475 37552x4
|
||||
jtet 1 16150208 16150207 37552x4
|
||||
epsilon 1.000000004E-15 1.000000004E-15 0.000000000E+00 1
|
||||
epsilonl 6.571920164E-13 6.571920164E-13 0.000000000E+00 1
|
||||
epsilona 1.945110743E-12 1.945110743E-12 0.000000000E+00 1
|
||||
epsilonv 5.773159741E-13 5.773159741E-13 0.000000000E+00 1
|
||||
ipointi 8739 8739 0 1
|
||||
ipointj 17476 17476 0 1
|
||||
idebug 0 0 0 1
|
||||
itypconv_sm 1 1 0 1
|
||||
maxiter_sm 25 25 0 1
|
||||
tolconv_sm 1.000000000E+00 1.000000000E+00 0.000000000E+00 1
|
||||
nnfreq 1 1 0 1
|
||||
ivoronoi 1 1 0 1
|
||||
iopt2to2 2 2 0 1
|
||||
xmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
ymin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
zmin 0.000000000E+00 0.000000000E+00 0.000000000E+00 1
|
||||
xmax 2.600000003E+00 2.600000003E+00 0.000000000E+00 1
|
||||
ymax 1.000000001E+00 1.000000001E+00 0.000000000E+00 1
|
||||
zmax 1.000000000E+00 1.000000000E+00 0.000000000E+00 1
|
||||
kdtree_level 0 0 0 1
|
||||
max_number_sets 64 64 0 1
|
||||
number_of_psets 0 0 0 1
|
||||
number_of_eltsets 0 0 0 1
|
||||
number_of_fsets 0 0 0 1
|
||||
ncon50 2500 2500 0 1
|
||||
nconbnd 26 26 0 1
|
||||
icontab 0 6 6 2500
|
||||
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 6.5719202E-13 2.8384212E-37
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 24
|
||||
elements with aspect ratio b/w .01 and .02: 56
|
||||
elements with aspect ratio b/w .02 and .05: 194
|
||||
elements with aspect ratio b/w .05 and .1 : 424
|
||||
elements with aspect ratio b/w .1 and .2 : 1472
|
||||
elements with aspect ratio b/w .2 and .5 : 13334
|
||||
elements with aspect ratio b/w .5 and 1. : 22048
|
||||
min aspect ratio = 0.3115E-02 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 1.1546319E-12
|
||||
---------------------------------------
|
||||
element volumes b/w 0.8966E-08 and 0.1021E-06: 24
|
||||
element volumes b/w 0.1021E-06 and 0.1162E-05: 335
|
||||
element volumes b/w 0.1162E-05 and 0.1323E-04: 2082
|
||||
element volumes b/w 0.1323E-04 and 0.1507E-03: 11728
|
||||
element volumes b/w 0.1507E-03 and 0.1715E-02: 4607
|
||||
element volumes <= 0.0: 18776
|
||||
element volumes < 0.0: 18776
|
||||
element volumes <= epsilonvol: 18776
|
||||
element volumes < epsilonvol: 18776
|
||||
min volume = -1.7152778E-03 max volume = 1.7152778E-03
|
||||
-----------------------------------------------------------
|
||||
37552 total elements evaluated.
|
||||
|
||||
* end compare
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
92
test/level01/addmesh_merge/input.lgi
Executable file
@@ -0,0 +1,92 @@
|
||||
# test addmesh merge scenarios
|
||||
#
|
||||
* Possible cases (X => mo exists, - => mo does not exist)
|
||||
* C A B
|
||||
* 1 X X X Normal C = C + A + B
|
||||
* 2 X - - No change, exit
|
||||
* 3 X X - Modify to C = C + A
|
||||
* 4 X - X Modify to C = C + B
|
||||
* 5 - X X Normal C = A + B
|
||||
* 6 - - X Modify C = B
|
||||
* 7 - X - Modify C = A
|
||||
* 8 - - - No action, exit
|
||||
*
|
||||
#######################################################
|
||||
# create mo_A mo_B mo_C
|
||||
cmo / create / mo_A
|
||||
createpts / xyz / 3 3 3 / 0. 0. 0. / 1. 1. 1. / 1 1 1
|
||||
connect
|
||||
cmo / create / mo_B
|
||||
createpts / xyz / 3 3 3 / 0. 0. 0. / 1. 1. 1. / 1 1 1
|
||||
connect
|
||||
cmo / create / mo_C
|
||||
createpts / xyz / 3 3 3 / 0. 0. 0. / 1. 1. 1. / 1 1 1
|
||||
connect
|
||||
cmo / status / brief
|
||||
|
||||
*####################################################
|
||||
* Case 1 X X X AB = A + B
|
||||
addmesh / merge / mo_AB / mo_A / mo_B
|
||||
cmo / status / brief
|
||||
cmo / delete / mo_AB
|
||||
|
||||
*####################################################
|
||||
* Case 2 X - - C = dum + dum
|
||||
* No change to C, exit
|
||||
addmesh / merge / mo_C / dum1 / dum2
|
||||
cmo / status / mo_C / brief
|
||||
|
||||
*####################################################
|
||||
* Case 3 X X - AC = C + A
|
||||
* Modify to C
|
||||
cmo / copy / mo_C2 / mo_C
|
||||
addmesh / merge / mo_C2 / mo_A / dum2
|
||||
cmo / status / brief
|
||||
|
||||
*####################################################
|
||||
* Case 4 X - X CB = C + B
|
||||
* Modify to C
|
||||
cmo / delete / mo_C2
|
||||
cmo / copy / mo_C2 / mo_C
|
||||
addmesh / merge / mo_C2 / dum1 / mo_B
|
||||
cmo / status / brief
|
||||
|
||||
*####################################################
|
||||
* Case 5 - X X New = A + B
|
||||
addmesh / merge / mo_AB / mo_A / mo_B
|
||||
cmo / status / brief
|
||||
cmo / delete / mo_AB
|
||||
|
||||
*####################################################
|
||||
* Case 6 - - X Modify C = B
|
||||
addmesh / merge / mo_BB / dum1 / mo_B
|
||||
cmo / status / brief
|
||||
|
||||
*####################################################
|
||||
* Case 7 - X - Modify C = A
|
||||
addmesh / merge / mo_AA / mo_A / dum2
|
||||
cmo / status / brief
|
||||
|
||||
*####################################################
|
||||
* Case 8 - - - No action, exit
|
||||
addmesh / merge / dum3 / dum1 / dum2
|
||||
|
||||
*####################################################
|
||||
*
|
||||
cmo / delete / mo_C2
|
||||
cmo / delete / mo_AB
|
||||
cmo / delete / mo_AA
|
||||
cmo / delete / mo_BB
|
||||
|
||||
*####################################################
|
||||
* Use the syntax
|
||||
*
|
||||
addmesh / merge / mo / mo / mo_A
|
||||
addmesh / merge / mo / mo / mo_B
|
||||
addmesh / merge / mo / mo / mo_C
|
||||
|
||||
cmo / status / brief
|
||||
cmo / select / mo
|
||||
quality
|
||||
|
||||
finish
|
||||
92
test/level01/addmesh_merge/reference/input.lgi
Executable file
@@ -0,0 +1,92 @@
|
||||
# test addmesh merge scenarios
|
||||
#
|
||||
* Possible cases (X => mo exists, - => mo does not exist)
|
||||
* C A B
|
||||
* 1 X X X Normal C = C + A + B
|
||||
* 2 X - - No change, exit
|
||||
* 3 X X - Modify to C = C + A
|
||||
* 4 X - X Modify to C = C + B
|
||||
* 5 - X X Normal C = A + B
|
||||
* 6 - - X Modify C = B
|
||||
* 7 - X - Modify C = A
|
||||
* 8 - - - No action, exit
|
||||
*
|
||||
#######################################################
|
||||
# create mo_A mo_B mo_C
|
||||
cmo / create / mo_A
|
||||
createpts / xyz / 3 3 3 / 0. 0. 0. / 1. 1. 1. / 1 1 1
|
||||
connect
|
||||
cmo / create / mo_B
|
||||
createpts / xyz / 3 3 3 / 0. 0. 0. / 1. 1. 1. / 1 1 1
|
||||
connect
|
||||
cmo / create / mo_C
|
||||
createpts / xyz / 3 3 3 / 0. 0. 0. / 1. 1. 1. / 1 1 1
|
||||
connect
|
||||
cmo / status / brief
|
||||
|
||||
*####################################################
|
||||
* Case 1 X X X AB = A + B
|
||||
addmesh / merge / mo_AB / mo_A / mo_B
|
||||
cmo / status / brief
|
||||
cmo / delete / mo_AB
|
||||
|
||||
*####################################################
|
||||
* Case 2 X - - C = dum + dum
|
||||
* No change to C, exit
|
||||
addmesh / merge / mo_C / dum1 / dum2
|
||||
cmo / status / mo_C / brief
|
||||
|
||||
*####################################################
|
||||
* Case 3 X X - AC = C + A
|
||||
* Modify to C
|
||||
cmo / copy / mo_C2 / mo_C
|
||||
addmesh / merge / mo_C2 / mo_A / dum2
|
||||
cmo / status / brief
|
||||
|
||||
*####################################################
|
||||
* Case 4 X - X CB = C + B
|
||||
* Modify to C
|
||||
cmo / delete / mo_C2
|
||||
cmo / copy / mo_C2 / mo_C
|
||||
addmesh / merge / mo_C2 / dum1 / mo_B
|
||||
cmo / status / brief
|
||||
|
||||
*####################################################
|
||||
* Case 5 - X X New = A + B
|
||||
addmesh / merge / mo_AB / mo_A / mo_B
|
||||
cmo / status / brief
|
||||
cmo / delete / mo_AB
|
||||
|
||||
*####################################################
|
||||
* Case 6 - - X Modify C = B
|
||||
addmesh / merge / mo_BB / dum1 / mo_B
|
||||
cmo / status / brief
|
||||
|
||||
*####################################################
|
||||
* Case 7 - X - Modify C = A
|
||||
addmesh / merge / mo_AA / mo_A / dum2
|
||||
cmo / status / brief
|
||||
|
||||
*####################################################
|
||||
* Case 8 - - - No action, exit
|
||||
addmesh / merge / dum3 / dum1 / dum2
|
||||
|
||||
*####################################################
|
||||
*
|
||||
cmo / delete / mo_C2
|
||||
cmo / delete / mo_AB
|
||||
cmo / delete / mo_AA
|
||||
cmo / delete / mo_BB
|
||||
|
||||
*####################################################
|
||||
* Use the syntax
|
||||
*
|
||||
addmesh / merge / mo / mo / mo_A
|
||||
addmesh / merge / mo / mo / mo_B
|
||||
addmesh / merge / mo / mo / mo_C
|
||||
|
||||
cmo / status / brief
|
||||
cmo / select / mo
|
||||
quality
|
||||
|
||||
finish
|
||||
41
test/level01/addmesh_merge/reference/logx3dgen
Executable file
@@ -0,0 +1,41 @@
|
||||
cmo/create/mo_A
|
||||
createpts/xyz/3 3 3/0. 0. 0./1. 1. 1./1 1 1
|
||||
connect
|
||||
cmo/create/mo_B
|
||||
createpts/xyz/3 3 3/0. 0. 0./1. 1. 1./1 1 1
|
||||
connect
|
||||
cmo/create/mo_C
|
||||
createpts/xyz/3 3 3/0. 0. 0./1. 1. 1./1 1 1
|
||||
connect
|
||||
cmo/status/brief
|
||||
addmesh/merge/mo_AB/mo_A/mo_B
|
||||
cmo/status/brief
|
||||
cmo/delete/mo_AB
|
||||
addmesh/merge/mo_C/dum1/dum2
|
||||
cmo/status/mo_C/brief
|
||||
cmo/copy/mo_C2/mo_C
|
||||
addmesh/merge/mo_C2/mo_A/dum2
|
||||
cmo/status/brief
|
||||
cmo/delete/mo_C2
|
||||
cmo/copy/mo_C2/mo_C
|
||||
addmesh/merge/mo_C2/dum1/mo_B
|
||||
cmo/status/brief
|
||||
addmesh/merge/mo_AB/mo_A/mo_B
|
||||
cmo/status/brief
|
||||
cmo/delete/mo_AB
|
||||
addmesh/merge/mo_BB/dum1/mo_B
|
||||
cmo/status/brief
|
||||
addmesh/merge/mo_AA/mo_A/dum2
|
||||
cmo/status/brief
|
||||
addmesh/merge/dum3/dum1/dum2
|
||||
cmo/delete/mo_C2
|
||||
cmo/delete/mo_AB
|
||||
cmo/delete/mo_AA
|
||||
cmo/delete/mo_BB
|
||||
addmesh/merge/mo/mo/mo_A
|
||||
addmesh/merge/mo/mo/mo_B
|
||||
addmesh/merge/mo/mo/mo_C
|
||||
cmo/status/brief
|
||||
cmo/select/mo
|
||||
quality
|
||||
finish
|
||||
458
test/level01/addmesh_merge/reference/outx3dgen
Executable file
@@ -0,0 +1,458 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.330 Linux *
|
||||
* * date_compile: 2021/10/15 test *
|
||||
* * Run Time: 2021/Nov 3 18:03:35 *
|
||||
* * 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 addmesh merge scenarios
|
||||
#
|
||||
* Possible cases (X => mo exists, - => mo does not exist)
|
||||
* C A B
|
||||
* 1 X X X Normal C = C + A + B
|
||||
* 2 X - - No change, exit
|
||||
* 3 X X - Modify to C = C + A
|
||||
* 4 X - X Modify to C = C + B
|
||||
* 5 - X X Normal C = A + B
|
||||
* 6 - - X Modify C = B
|
||||
* 7 - X - Modify C = A
|
||||
* 8 - - - No action, exit
|
||||
*
|
||||
#######################################################
|
||||
# create mo_A mo_B mo_C
|
||||
cmo/create/mo_A
|
||||
createpts/xyz/3 3 3/0. 0. 0./1. 1. 1./1 1 1
|
||||
RZ GENERATED POINTS 1 TO 27
|
||||
connect
|
||||
No materials associated with 27 noninterface points.
|
||||
Coordinates of enclosing tetrahedron are:
|
||||
-0.20000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 -0.75000D+00 0.42500D+01
|
||||
0.30000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 0.42500D+01 0.50000D+00
|
||||
Candidate connections that may cross boundaries = 118
|
||||
|
||||
Successfully eliminated all multimaterial connections.
|
||||
|
||||
The mesh is now complete!
|
||||
|
||||
LaGriT FINISH: connect
|
||||
|
||||
cmo/create/mo_B
|
||||
createpts/xyz/3 3 3/0. 0. 0./1. 1. 1./1 1 1
|
||||
RZ GENERATED POINTS 1 TO 27
|
||||
connect
|
||||
No materials associated with 27 noninterface points.
|
||||
Coordinates of enclosing tetrahedron are:
|
||||
-0.20000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 -0.75000D+00 0.42500D+01
|
||||
0.30000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 0.42500D+01 0.50000D+00
|
||||
Candidate connections that may cross boundaries = 118
|
||||
|
||||
Successfully eliminated all multimaterial connections.
|
||||
|
||||
The mesh is now complete!
|
||||
|
||||
LaGriT FINISH: connect
|
||||
|
||||
cmo/create/mo_C
|
||||
createpts/xyz/3 3 3/0. 0. 0./1. 1. 1./1 1 1
|
||||
RZ GENERATED POINTS 1 TO 27
|
||||
connect
|
||||
No materials associated with 27 noninterface points.
|
||||
Coordinates of enclosing tetrahedron are:
|
||||
-0.20000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 -0.75000D+00 0.42500D+01
|
||||
0.30000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 0.42500D+01 0.50000D+00
|
||||
Candidate connections that may cross boundaries = 118
|
||||
|
||||
Successfully eliminated all multimaterial connections.
|
||||
|
||||
The mesh is now complete!
|
||||
|
||||
LaGriT FINISH: connect
|
||||
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: mo_C
|
||||
|
||||
1 Mesh Object name: mo_A
|
||||
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: mo_B
|
||||
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
|
||||
|
||||
3 Mesh Object name: mo_C
|
||||
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
|
||||
|
||||
|
||||
*####################################################
|
||||
* Case 1 X X X AB = A + B
|
||||
addmesh/merge/mo_AB/mo_A/mo_B
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: mo_AB
|
||||
|
||||
1 Mesh Object name: mo_A
|
||||
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: mo_B
|
||||
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
|
||||
|
||||
3 Mesh Object name: mo_C
|
||||
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
|
||||
|
||||
4 Mesh Object name: mo_AB
|
||||
number of nodes = 54 number of elements = 96
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
cmo/delete/mo_AB
|
||||
Released Mesh Object: mo_AB
|
||||
*####################################################
|
||||
* Case 2 X - - C = dum + dum
|
||||
* No change to C, exit
|
||||
addmesh/merge/mo_C/dum1/dum2
|
||||
WARNING: The source object doesn't exist: dum1
|
||||
WARNING: The source object doesn't exist: dum2
|
||||
WARNING: no action
|
||||
cmo/status/mo_C/brief
|
||||
|
||||
The current-mesh-object(CMO) is: mo_A
|
||||
|
||||
3 Mesh Object name: mo_C
|
||||
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
|
||||
|
||||
|
||||
*####################################################
|
||||
* Case 3 X X - AC = C + A
|
||||
* Modify to C
|
||||
cmo/copy/mo_C2/mo_C
|
||||
addmesh/merge/mo_C2/mo_A/dum2
|
||||
WARNING: The source object doesn't exist: dum2
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: mo_C2
|
||||
|
||||
1 Mesh Object name: mo_A
|
||||
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: mo_B
|
||||
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
|
||||
|
||||
3 Mesh Object name: mo_C
|
||||
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
|
||||
|
||||
4 Mesh Object name: mo_C2
|
||||
number of nodes = 54 number of elements = 96
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
*####################################################
|
||||
* Case 4 X - X CB = C + B
|
||||
* Modify to C
|
||||
cmo/delete/mo_C2
|
||||
Released Mesh Object: mo_C2
|
||||
cmo/copy/mo_C2/mo_C
|
||||
addmesh/merge/mo_C2/dum1/mo_B
|
||||
WARNING: The source object doesn't exist: dum1
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: mo_C2
|
||||
|
||||
1 Mesh Object name: mo_A
|
||||
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: mo_B
|
||||
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
|
||||
|
||||
3 Mesh Object name: mo_C
|
||||
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
|
||||
|
||||
4 Mesh Object name: mo_C2
|
||||
number of nodes = 54 number of elements = 96
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
*####################################################
|
||||
* Case 5 - X X New = A + B
|
||||
addmesh/merge/mo_AB/mo_A/mo_B
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: mo_AB
|
||||
|
||||
1 Mesh Object name: mo_A
|
||||
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: mo_B
|
||||
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
|
||||
|
||||
3 Mesh Object name: mo_C
|
||||
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
|
||||
|
||||
4 Mesh Object name: mo_C2
|
||||
number of nodes = 54 number of elements = 96
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = inactive
|
||||
|
||||
5 Mesh Object name: mo_AB
|
||||
number of nodes = 54 number of elements = 96
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
cmo/delete/mo_AB
|
||||
Released Mesh Object: mo_AB
|
||||
*####################################################
|
||||
* Case 6 - - X Modify C = B
|
||||
addmesh/merge/mo_BB/dum1/mo_B
|
||||
cmo/copy/mo_BB/mo_B
|
||||
finish
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: mo_BB
|
||||
|
||||
1 Mesh Object name: mo_A
|
||||
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: mo_B
|
||||
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
|
||||
|
||||
3 Mesh Object name: mo_C
|
||||
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
|
||||
|
||||
4 Mesh Object name: mo_C2
|
||||
number of nodes = 54 number of elements = 96
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = inactive
|
||||
|
||||
5 Mesh Object name: mo_BB
|
||||
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
|
||||
|
||||
|
||||
*####################################################
|
||||
* Case 7 - X - Modify C = A
|
||||
addmesh/merge/mo_AA/mo_A/dum2
|
||||
cmo/copy/mo_AA/mo_A
|
||||
finish
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: mo_AA
|
||||
|
||||
1 Mesh Object name: mo_A
|
||||
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: mo_B
|
||||
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
|
||||
|
||||
3 Mesh Object name: mo_C
|
||||
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
|
||||
|
||||
4 Mesh Object name: mo_C2
|
||||
number of nodes = 54 number of elements = 96
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = inactive
|
||||
|
||||
5 Mesh Object name: mo_BB
|
||||
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
|
||||
|
||||
6 Mesh Object name: mo_AA
|
||||
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
|
||||
|
||||
|
||||
*####################################################
|
||||
* Case 8 - - - No action, exit
|
||||
addmesh/merge/dum3/dum1/dum2
|
||||
WARNING: The sink object doesn't exist: dum3
|
||||
WARNING: The source object doesn't exist: dum1
|
||||
WARNING: The source object doesn't exist: dum2
|
||||
WARNING: no action
|
||||
*####################################################
|
||||
*
|
||||
cmo/delete/mo_C2
|
||||
Released Mesh Object: mo_C2
|
||||
cmo/delete/mo_AB
|
||||
Mesh Object release skipped, it does not exist: mo_AB
|
||||
cmo/delete/mo_AA
|
||||
Released Mesh Object: mo_AA
|
||||
cmo/delete/mo_BB
|
||||
Released Mesh Object: mo_BB
|
||||
*####################################################
|
||||
* Use the syntax
|
||||
*
|
||||
addmesh/merge/mo/mo/mo_A
|
||||
cmo/copy/mo/mo_A
|
||||
finish
|
||||
addmesh/merge/mo/mo/mo_B
|
||||
cmo/move/-tmp_source_internal-/mo
|
||||
finish
|
||||
cmo/delete/-tmp_source_internal-/
|
||||
Released Mesh Object: -tmp_source_internal-
|
||||
finish
|
||||
addmesh/merge/mo/mo/mo_C
|
||||
cmo/move/-tmp_source_internal-/mo
|
||||
finish
|
||||
cmo/delete/-tmp_source_internal-/
|
||||
Released Mesh Object: -tmp_source_internal-
|
||||
finish
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: mo_A
|
||||
|
||||
1 Mesh Object name: mo_A
|
||||
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
|
||||
|
||||
2 Mesh Object name: mo_B
|
||||
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
|
||||
|
||||
3 Mesh Object name: mo_C
|
||||
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
|
||||
|
||||
4 Mesh Object name: mo
|
||||
number of nodes = 81 number of elements = 144
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = inactive
|
||||
|
||||
|
||||
cmo/select/mo
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 3.8459254E-13 5.6885628E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 144
|
||||
min aspect ratio = 0.6230E+00 max aspect ratio = 0.7321E+00
|
||||
|
||||
epsilonvol: 2.2204460E-13
|
||||
---------------------------------------
|
||||
All elements have volume 2.0833333E-02
|
||||
-----------------------------------------------------------
|
||||
144 total elements evaluated.
|
||||
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
53
test/level01/clean_testdirs.scr
Executable file
@@ -0,0 +1,53 @@
|
||||
#!/bin/csh
|
||||
# C shell script
|
||||
#
|
||||
# Usage: clean_testdirs
|
||||
#
|
||||
# Remove any out* *gmvF and *x3dgen files in each of the test directories.
|
||||
# Do not Remove stdout*txt and diff*txt from top directory.
|
||||
# Skip directory result_files
|
||||
#
|
||||
####### Begin script: ################
|
||||
#
|
||||
#
|
||||
set top_dir = ${cwd}
|
||||
set dirs = (*)
|
||||
#
|
||||
# remove previous log files
|
||||
'rm' -f outx3dgen logx3dgen
|
||||
mv stdout_sun.txt stdout_sun.old.txt
|
||||
mv stdout_lin.txt stdout_lin.old.txt
|
||||
mv stdout_mac.txt stdout_mac.old.txt
|
||||
mv stdout_maci.txt stdout_maci.old.txt
|
||||
mv diffout_sun.txt diffout_sun.old.txt
|
||||
mv diffout_lin.txt diffout_lin.old.txt
|
||||
mv diffout_mac.txt diffout_mac.old.txt
|
||||
mv diffout_maci.txt diffout_maci.old.txt
|
||||
#
|
||||
# loop through test directories
|
||||
#
|
||||
foreach dir ($dirs)
|
||||
# If $dir is actually a directory (and not a file) then process
|
||||
if( -d $dir )then
|
||||
if ($dir == "result_files") then
|
||||
echo "Skip Directory: " $dir
|
||||
echo " "
|
||||
else
|
||||
echo "Directory: " $dir
|
||||
cd $dir
|
||||
# remove all output files
|
||||
'rm' -f out* *x3dgen *gmvF
|
||||
echo " "
|
||||
endif
|
||||
#
|
||||
# Return to test_dir to process next directory
|
||||
cd $top_dir
|
||||
endif
|
||||
continue # to next $dir if the last was not a directory
|
||||
|
||||
end # foreach dir
|
||||
|
||||
echo "Done. All output files removed from directories."
|
||||
echo " "
|
||||
exit 0
|
||||
|
||||
202
test/level01/cmo_addatt_normals/input.lgi
Executable file
@@ -0,0 +1,202 @@
|
||||
# test cmo/addatt compute normals options
|
||||
# test cmo/addatt/ area_normal and unit_area_normal
|
||||
* implemented only for xyz, not rtp and rtz
|
||||
|
||||
# create the triangles to use for test
|
||||
# use surface from brick so triangles point in each of 6 directions
|
||||
cmo / create / mo_hex / / / hex
|
||||
createpts / brick / xyz / 2 2 2 / 0. 0. 0. / 2. 2. 2. / 1 1 1
|
||||
extract surfmesh / 1 0 0 / mo_quad / mo_hex / external
|
||||
resetpts / itp
|
||||
hextotet / 2 / mo_tri / mo_quad
|
||||
resetpts / itp
|
||||
cmo / delete / mo_hex
|
||||
|
||||
*********************************************************
|
||||
|
||||
# create vector attributes Vunit_anorm and Vanorm
|
||||
# create three scalar attributes from Vanorm
|
||||
# Vector of form A[i1 j1 k1 i2 j2 k2 ... in jn kn]
|
||||
# Scalar from Vector Ai[1-n] Aj[1-n] Ak[1-n]
|
||||
cmo addatt mo_tri / area / darea
|
||||
cmo addatt mo_tri / unit_area_normal / Vunit_anorm
|
||||
cmo addatt mo_tri / area_normal / Vanorm
|
||||
cmo addatt mo_tri / scalar / x_scalar y_scalar z_scalar / Vanorm
|
||||
|
||||
#---------------------------------------------------
|
||||
# box -z bottom = tri 1,2 v(x,y,z)
|
||||
cmo printatt mo_tri darea 1,2,1
|
||||
cmo printatt mo_tri Vunit_anorm 1,2,1
|
||||
cmo printatt mo_tri Vanorm 1,2,1
|
||||
cmo printatt mo_tri x_scalar 1,2,1
|
||||
cmo printatt mo_tri y_scalar 1,2,1
|
||||
cmo printatt mo_tri z_scalar 1,2,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# box +z top = tri 3,4 v(x,y,z)
|
||||
cmo printatt mo_tri darea 3,4,1
|
||||
cmo printatt mo_tri Vunit_anorm 3,4,1
|
||||
cmo printatt mo_tri Vanorm 3,4,1
|
||||
cmo printatt mo_tri x_scalar 3,4,1
|
||||
cmo printatt mo_tri y_scalar 3,4,1
|
||||
cmo printatt mo_tri z_scalar 3,4,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# box -y front = tri 5,6 v(x,y,z)
|
||||
cmo printatt mo_tri darea 5,6,1
|
||||
cmo printatt mo_tri Vunit_anorm 5,6,1
|
||||
cmo printatt mo_tri Vanorm 5,6,1
|
||||
cmo printatt mo_tri x_scalar 5,6,1
|
||||
cmo printatt mo_tri y_scalar 5,6,1
|
||||
cmo printatt mo_tri z_scalar 5,6,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# box +y back = tri 9,10 v(x,y,z)
|
||||
cmo printatt mo_tri darea 9,10,1
|
||||
cmo printatt mo_tri Vunit_anorm 9,10,1
|
||||
cmo printatt mo_tri Vanorm 9,10,1
|
||||
cmo printatt mo_tri x_scalar 9,10,1
|
||||
cmo printatt mo_tri y_scalar 9,10,1
|
||||
cmo printatt mo_tri z_scalar 9,10,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# box +x right = tri 7,8 v(x,y,z)
|
||||
cmo printatt mo_tri darea 7,8,1
|
||||
cmo printatt mo_tri Vunit_anorm 7,8,1
|
||||
cmo printatt mo_tri Vanorm 7,8,1
|
||||
cmo printatt mo_tri x_scalar 7,8,1
|
||||
cmo printatt mo_tri y_scalar 7,8,1
|
||||
cmo printatt mo_tri z_scalar 7,8,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# box -x left = tri 11,12 v(x,y,z)
|
||||
cmo printatt mo_tri darea 11,12,1
|
||||
cmo printatt mo_tri Vunit_anorm 11,12,1
|
||||
cmo printatt mo_tri Vanorm 11,12,1
|
||||
cmo printatt mo_tri x_scalar 11,12,1
|
||||
cmo printatt mo_tri y_scalar 11,12,1
|
||||
cmo printatt mo_tri z_scalar 11,12,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# remove dump/avs as it can not write array of 3x nodes
|
||||
|
||||
#################################################
|
||||
# test synthetic normal on vertices (nodes)
|
||||
#
|
||||
# These do not work since quads are not supported
|
||||
# Should return with ADDATT error
|
||||
#
|
||||
cmo / addatt / mo_quad / synth_normal
|
||||
cmo / addatt / mo_quad / synth_normal_area
|
||||
cmo / addatt / mo_quad / synth_normal_angle
|
||||
#
|
||||
# The commands below should work for triangles
|
||||
# copy attributes and save so not overwritten each call
|
||||
cmo/addatt/mo_tri/xsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
#
|
||||
cmo / addatt / mo_tri / synth_normal
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth z_n_norm
|
||||
cmo / addatt / mo_tri / synth_normal_area
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth_area x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth_area y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth_area z_n_norm
|
||||
cmo / addatt / mo_tri / synth_normal_angle
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth_angle x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth_angle y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth_angle z_n_norm
|
||||
|
||||
#
|
||||
# Try something that uses synthetic normal
|
||||
#
|
||||
cmo copy mo_tri2 mo_tri
|
||||
offsetsurf / mo_tri_off / mo_tri2 / 0.1
|
||||
|
||||
# report attributes from cmo/addatt and from offset
|
||||
cmo / printatt / mo_tri / -all- minmax
|
||||
cmo / printatt / mo_tri2 / -all- minmax
|
||||
|
||||
# report all mesh objects and their attributes
|
||||
cmo / status
|
||||
|
||||
|
||||
# finish
|
||||
|
||||
cmo delete mo_tri
|
||||
############################################
|
||||
## full test includes surface from sphere ###
|
||||
#
|
||||
# Compute normals to exterior surface of a sphere
|
||||
#
|
||||
cmo/create/cmo_tet
|
||||
createpts/sphere/1/2/500/0.5,1.0/0.,0.,0./0
|
||||
filter/1,0,0
|
||||
rmpoint / compress
|
||||
cmo / setatt / cmo_tet / imt / 1 0 0 / 1
|
||||
cmo / setatt / cmo_tet / itp / 1 0 0 / 0
|
||||
connect
|
||||
cmo / setatt / cmo_tet / itetclr / 1 0 0 / 1
|
||||
resetpts / itp
|
||||
extract/surfmesh/1,0,0/mo_tri/cmo_tet
|
||||
cmo select mo_tri
|
||||
resetpts itp
|
||||
|
||||
# create vector attributes Vunit_anorm and Vanorm
|
||||
# create three scalar attributes from Vanorm
|
||||
# Vector of form A[i1 j1 k1 i2 j2 k2 ... in jn kn]
|
||||
# Scalar from Vector Ai[1-n] Aj[1-n] Ak[1-n]
|
||||
cmo addatt mo_tri / area / darea
|
||||
cmo addatt mo_tri / unit_area_normal / Vunit_anorm
|
||||
cmo addatt mo_tri / area_normal / Vanorm
|
||||
cmo addatt mo_tri / scalar / x_scalar y_scalar z_scalar / Vanorm
|
||||
|
||||
|
||||
# create synthetic normals on vertices (nodes)
|
||||
|
||||
# copy attributes and save so not overwritten each call
|
||||
cmo/addatt/mo_tri/xsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
|
||||
cmo / addatt / mo_tri / synth_normal
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth z_n_norm
|
||||
cmo / addatt / mo_tri / synth_normal_area
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth_area x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth_area y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth_area z_n_norm
|
||||
cmo / addatt / mo_tri / synth_normal_angle
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth_angle x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth_angle y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth_angle z_n_norm
|
||||
|
||||
|
||||
#### write cmo information for all the mesh objects ####
|
||||
cmo status
|
||||
cmo printatt mo_tri -all- minmax
|
||||
|
||||
# ERROR dumpavs: vector output not supported.
|
||||
cmo/DELATT/mo_tri Vunit_anorm
|
||||
cmo/DELATT/mo_tri Vanorm
|
||||
dump/avs/output_sphere_normals.inp / mo_tri
|
||||
|
||||
## Done.
|
||||
finish
|
||||
|
||||
|
||||
BIN
test/level01/cmo_addatt_normals/reference/a_norm_x.jpg
Executable file
|
After Width: | Height: | Size: 65 KiB |
BIN
test/level01/cmo_addatt_normals/reference/a_norm_x_sphere.jpg
Executable file
|
After Width: | Height: | Size: 232 KiB |
BIN
test/level01/cmo_addatt_normals/reference/a_norm_y.jpg
Executable file
|
After Width: | Height: | Size: 64 KiB |
BIN
test/level01/cmo_addatt_normals/reference/a_norm_y_sphere.jpg
Executable file
|
After Width: | Height: | Size: 227 KiB |
BIN
test/level01/cmo_addatt_normals/reference/a_norm_z.jpg
Executable file
|
After Width: | Height: | Size: 65 KiB |
BIN
test/level01/cmo_addatt_normals/reference/a_norm_z_sphere.jpg
Executable file
|
After Width: | Height: | Size: 227 KiB |
BIN
test/level01/cmo_addatt_normals/reference/areas_sphere.jpg
Executable file
|
After Width: | Height: | Size: 230 KiB |
202
test/level01/cmo_addatt_normals/reference/input.lgi
Executable file
@@ -0,0 +1,202 @@
|
||||
# test cmo/addatt compute normals options
|
||||
# test cmo/addatt/ area_normal and unit_area_normal
|
||||
* implemented only for xyz, not rtp and rtz
|
||||
|
||||
# create the triangles to use for test
|
||||
# use surface from brick so triangles point in each of 6 directions
|
||||
cmo / create / mo_hex / / / hex
|
||||
createpts / brick / xyz / 2 2 2 / 0. 0. 0. / 2. 2. 2. / 1 1 1
|
||||
extract surfmesh / 1 0 0 / mo_quad / mo_hex / external
|
||||
resetpts / itp
|
||||
hextotet / 2 / mo_tri / mo_quad
|
||||
resetpts / itp
|
||||
cmo / delete / mo_hex
|
||||
|
||||
*********************************************************
|
||||
|
||||
# create vector attributes Vunit_anorm and Vanorm
|
||||
# create three scalar attributes from Vanorm
|
||||
# Vector of form A[i1 j1 k1 i2 j2 k2 ... in jn kn]
|
||||
# Scalar from Vector Ai[1-n] Aj[1-n] Ak[1-n]
|
||||
cmo addatt mo_tri / area / darea
|
||||
cmo addatt mo_tri / unit_area_normal / Vunit_anorm
|
||||
cmo addatt mo_tri / area_normal / Vanorm
|
||||
cmo addatt mo_tri / scalar / x_scalar y_scalar z_scalar / Vanorm
|
||||
|
||||
#---------------------------------------------------
|
||||
# box -z bottom = tri 1,2 v(x,y,z)
|
||||
cmo printatt mo_tri darea 1,2,1
|
||||
cmo printatt mo_tri Vunit_anorm 1,2,1
|
||||
cmo printatt mo_tri Vanorm 1,2,1
|
||||
cmo printatt mo_tri x_scalar 1,2,1
|
||||
cmo printatt mo_tri y_scalar 1,2,1
|
||||
cmo printatt mo_tri z_scalar 1,2,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# box +z top = tri 3,4 v(x,y,z)
|
||||
cmo printatt mo_tri darea 3,4,1
|
||||
cmo printatt mo_tri Vunit_anorm 3,4,1
|
||||
cmo printatt mo_tri Vanorm 3,4,1
|
||||
cmo printatt mo_tri x_scalar 3,4,1
|
||||
cmo printatt mo_tri y_scalar 3,4,1
|
||||
cmo printatt mo_tri z_scalar 3,4,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# box -y front = tri 5,6 v(x,y,z)
|
||||
cmo printatt mo_tri darea 5,6,1
|
||||
cmo printatt mo_tri Vunit_anorm 5,6,1
|
||||
cmo printatt mo_tri Vanorm 5,6,1
|
||||
cmo printatt mo_tri x_scalar 5,6,1
|
||||
cmo printatt mo_tri y_scalar 5,6,1
|
||||
cmo printatt mo_tri z_scalar 5,6,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# box +y back = tri 9,10 v(x,y,z)
|
||||
cmo printatt mo_tri darea 9,10,1
|
||||
cmo printatt mo_tri Vunit_anorm 9,10,1
|
||||
cmo printatt mo_tri Vanorm 9,10,1
|
||||
cmo printatt mo_tri x_scalar 9,10,1
|
||||
cmo printatt mo_tri y_scalar 9,10,1
|
||||
cmo printatt mo_tri z_scalar 9,10,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# box +x right = tri 7,8 v(x,y,z)
|
||||
cmo printatt mo_tri darea 7,8,1
|
||||
cmo printatt mo_tri Vunit_anorm 7,8,1
|
||||
cmo printatt mo_tri Vanorm 7,8,1
|
||||
cmo printatt mo_tri x_scalar 7,8,1
|
||||
cmo printatt mo_tri y_scalar 7,8,1
|
||||
cmo printatt mo_tri z_scalar 7,8,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# box -x left = tri 11,12 v(x,y,z)
|
||||
cmo printatt mo_tri darea 11,12,1
|
||||
cmo printatt mo_tri Vunit_anorm 11,12,1
|
||||
cmo printatt mo_tri Vanorm 11,12,1
|
||||
cmo printatt mo_tri x_scalar 11,12,1
|
||||
cmo printatt mo_tri y_scalar 11,12,1
|
||||
cmo printatt mo_tri z_scalar 11,12,1
|
||||
|
||||
#---------------------------------------------------
|
||||
# remove dump/avs as it can not write array of 3x nodes
|
||||
|
||||
#################################################
|
||||
# test synthetic normal on vertices (nodes)
|
||||
#
|
||||
# These do not work since quads are not supported
|
||||
# Should return with ADDATT error
|
||||
#
|
||||
cmo / addatt / mo_quad / synth_normal
|
||||
cmo / addatt / mo_quad / synth_normal_area
|
||||
cmo / addatt / mo_quad / synth_normal_angle
|
||||
#
|
||||
# The commands below should work for triangles
|
||||
# copy attributes and save so not overwritten each call
|
||||
cmo/addatt/mo_tri/xsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
#
|
||||
cmo / addatt / mo_tri / synth_normal
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth z_n_norm
|
||||
cmo / addatt / mo_tri / synth_normal_area
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth_area x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth_area y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth_area z_n_norm
|
||||
cmo / addatt / mo_tri / synth_normal_angle
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth_angle x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth_angle y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth_angle z_n_norm
|
||||
|
||||
#
|
||||
# Try something that uses synthetic normal
|
||||
#
|
||||
cmo copy mo_tri2 mo_tri
|
||||
offsetsurf / mo_tri_off / mo_tri2 / 0.1
|
||||
|
||||
# report attributes from cmo/addatt and from offset
|
||||
cmo / printatt / mo_tri / -all- minmax
|
||||
cmo / printatt / mo_tri2 / -all- minmax
|
||||
|
||||
# report all mesh objects and their attributes
|
||||
cmo / status
|
||||
|
||||
|
||||
# finish
|
||||
|
||||
cmo delete mo_tri
|
||||
############################################
|
||||
## full test includes surface from sphere ###
|
||||
#
|
||||
# Compute normals to exterior surface of a sphere
|
||||
#
|
||||
cmo/create/cmo_tet
|
||||
createpts/sphere/1/2/500/0.5,1.0/0.,0.,0./0
|
||||
filter/1,0,0
|
||||
rmpoint / compress
|
||||
cmo / setatt / cmo_tet / imt / 1 0 0 / 1
|
||||
cmo / setatt / cmo_tet / itp / 1 0 0 / 0
|
||||
connect
|
||||
cmo / setatt / cmo_tet / itetclr / 1 0 0 / 1
|
||||
resetpts / itp
|
||||
extract/surfmesh/1,0,0/mo_tri/cmo_tet
|
||||
cmo select mo_tri
|
||||
resetpts itp
|
||||
|
||||
# create vector attributes Vunit_anorm and Vanorm
|
||||
# create three scalar attributes from Vanorm
|
||||
# Vector of form A[i1 j1 k1 i2 j2 k2 ... in jn kn]
|
||||
# Scalar from Vector Ai[1-n] Aj[1-n] Ak[1-n]
|
||||
cmo addatt mo_tri / area / darea
|
||||
cmo addatt mo_tri / unit_area_normal / Vunit_anorm
|
||||
cmo addatt mo_tri / area_normal / Vanorm
|
||||
cmo addatt mo_tri / scalar / x_scalar y_scalar z_scalar / Vanorm
|
||||
|
||||
|
||||
# create synthetic normals on vertices (nodes)
|
||||
|
||||
# copy attributes and save so not overwritten each call
|
||||
cmo/addatt/mo_tri/xsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
|
||||
cmo / addatt / mo_tri / synth_normal
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth z_n_norm
|
||||
cmo / addatt / mo_tri / synth_normal_area
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth_area x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth_area y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth_area z_n_norm
|
||||
cmo / addatt / mo_tri / synth_normal_angle
|
||||
cmo/copyatt/mo_tri mo_tri/ xsynth_angle x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ ysynth_angle y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ zsynth_angle z_n_norm
|
||||
|
||||
|
||||
#### write cmo information for all the mesh objects ####
|
||||
cmo status
|
||||
cmo printatt mo_tri -all- minmax
|
||||
|
||||
# ERROR dumpavs: vector output not supported.
|
||||
cmo/DELATT/mo_tri Vunit_anorm
|
||||
cmo/DELATT/mo_tri Vanorm
|
||||
dump/avs/output_sphere_normals.inp / mo_tri
|
||||
|
||||
## Done.
|
||||
finish
|
||||
|
||||
|
||||
120
test/level01/cmo_addatt_normals/reference/logx3dgen
Normal file
@@ -0,0 +1,120 @@
|
||||
cmo/create/mo_hex///hex
|
||||
createpts/brick/xyz/2 2 2/0. 0. 0./2. 2. 2./1 1 1
|
||||
extract surfmesh/1 0 0/mo_quad/mo_hex/external
|
||||
resetpts/itp
|
||||
hextotet/2/mo_tri/mo_quad
|
||||
resetpts/itp
|
||||
cmo/delete/mo_hex
|
||||
cmo addatt mo_tri/area/darea
|
||||
cmo addatt mo_tri/unit_area_normal/Vunit_anorm
|
||||
cmo addatt mo_tri/area_normal/Vanorm
|
||||
cmo addatt mo_tri/scalar/x_scalar y_scalar z_scalar/Vanorm
|
||||
cmo printatt mo_tri darea 1,2,1
|
||||
cmo printatt mo_tri Vunit_anorm 1,2,1
|
||||
cmo printatt mo_tri Vanorm 1,2,1
|
||||
cmo printatt mo_tri x_scalar 1,2,1
|
||||
cmo printatt mo_tri y_scalar 1,2,1
|
||||
cmo printatt mo_tri z_scalar 1,2,1
|
||||
cmo printatt mo_tri darea 3,4,1
|
||||
cmo printatt mo_tri Vunit_anorm 3,4,1
|
||||
cmo printatt mo_tri Vanorm 3,4,1
|
||||
cmo printatt mo_tri x_scalar 3,4,1
|
||||
cmo printatt mo_tri y_scalar 3,4,1
|
||||
cmo printatt mo_tri z_scalar 3,4,1
|
||||
cmo printatt mo_tri darea 5,6,1
|
||||
cmo printatt mo_tri Vunit_anorm 5,6,1
|
||||
cmo printatt mo_tri Vanorm 5,6,1
|
||||
cmo printatt mo_tri x_scalar 5,6,1
|
||||
cmo printatt mo_tri y_scalar 5,6,1
|
||||
cmo printatt mo_tri z_scalar 5,6,1
|
||||
cmo printatt mo_tri darea 9,10,1
|
||||
cmo printatt mo_tri Vunit_anorm 9,10,1
|
||||
cmo printatt mo_tri Vanorm 9,10,1
|
||||
cmo printatt mo_tri x_scalar 9,10,1
|
||||
cmo printatt mo_tri y_scalar 9,10,1
|
||||
cmo printatt mo_tri z_scalar 9,10,1
|
||||
cmo printatt mo_tri darea 7,8,1
|
||||
cmo printatt mo_tri Vunit_anorm 7,8,1
|
||||
cmo printatt mo_tri Vanorm 7,8,1
|
||||
cmo printatt mo_tri x_scalar 7,8,1
|
||||
cmo printatt mo_tri y_scalar 7,8,1
|
||||
cmo printatt mo_tri z_scalar 7,8,1
|
||||
cmo printatt mo_tri darea 11,12,1
|
||||
cmo printatt mo_tri Vunit_anorm 11,12,1
|
||||
cmo printatt mo_tri Vanorm 11,12,1
|
||||
cmo printatt mo_tri x_scalar 11,12,1
|
||||
cmo printatt mo_tri y_scalar 11,12,1
|
||||
cmo printatt mo_tri z_scalar 11,12,1
|
||||
cmo/addatt/mo_quad/synth_normal
|
||||
cmo/addatt/mo_quad/synth_normal_area
|
||||
cmo/addatt/mo_quad/synth_normal_angle
|
||||
cmo/addatt/mo_tri/xsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/synth_normal
|
||||
cmo/copyatt/mo_tri mo_tri/xsynth x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ysynth y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/zsynth z_n_norm
|
||||
cmo/addatt/mo_tri/synth_normal_area
|
||||
cmo/copyatt/mo_tri mo_tri/xsynth_area x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ysynth_area y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/zsynth_area z_n_norm
|
||||
cmo/addatt/mo_tri/synth_normal_angle
|
||||
cmo/copyatt/mo_tri mo_tri/xsynth_angle x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ysynth_angle y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/zsynth_angle z_n_norm
|
||||
cmo copy mo_tri2 mo_tri
|
||||
offsetsurf/mo_tri_off/mo_tri2/0.1
|
||||
cmo/printatt/mo_tri/-all- minmax
|
||||
cmo/printatt/mo_tri2/-all- minmax
|
||||
cmo/status
|
||||
cmo delete mo_tri
|
||||
cmo/create/cmo_tet
|
||||
createpts/sphere/1/2/500/0.5,1.0/0.,0.,0./0
|
||||
filter/1,0,0
|
||||
rmpoint/compress
|
||||
cmo/setatt/cmo_tet/imt/1 0 0/1
|
||||
cmo/setatt/cmo_tet/itp/1 0 0/0
|
||||
connect
|
||||
cmo/setatt/cmo_tet/itetclr/1 0 0/1
|
||||
resetpts/itp
|
||||
extract/surfmesh/1,0,0/mo_tri/cmo_tet
|
||||
cmo select mo_tri
|
||||
resetpts itp
|
||||
cmo addatt mo_tri/area/darea
|
||||
cmo addatt mo_tri/unit_area_normal/Vunit_anorm
|
||||
cmo addatt mo_tri/area_normal/Vanorm
|
||||
cmo addatt mo_tri/scalar/x_scalar y_scalar z_scalar/Vanorm
|
||||
cmo/addatt/mo_tri/xsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_area/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/xsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/ysynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/zsynth_angle/vdouble/scalar/nnodes/-def-/permanent
|
||||
cmo/addatt/mo_tri/synth_normal
|
||||
cmo/copyatt/mo_tri mo_tri/xsynth x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ysynth y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/zsynth z_n_norm
|
||||
cmo/addatt/mo_tri/synth_normal_area
|
||||
cmo/copyatt/mo_tri mo_tri/xsynth_area x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ysynth_area y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/zsynth_area z_n_norm
|
||||
cmo/addatt/mo_tri/synth_normal_angle
|
||||
cmo/copyatt/mo_tri mo_tri/xsynth_angle x_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/ysynth_angle y_n_norm
|
||||
cmo/copyatt/mo_tri mo_tri/zsynth_angle z_n_norm
|
||||
cmo status
|
||||
cmo printatt mo_tri -all- minmax
|
||||
cmo/DELATT/mo_tri Vunit_anorm
|
||||
cmo/DELATT/mo_tri Vanorm
|
||||
dump/avs/output_sphere_normals.inp/mo_tri
|
||||
finish
|
||||
2939
test/level01/cmo_addatt_normals/reference/output_sphere_normals.inp
Normal file
1719
test/level01/cmo_addatt_normals/reference/outx3dgen
Normal file
BIN
test/level01/cmo_addatt_normals/reference/synth_area_x_sphere.jpg
Executable file
|
After Width: | Height: | Size: 210 KiB |
BIN
test/level01/cmo_addatt_normals/reference/synth_area_y_sphere.jpg
Executable file
|
After Width: | Height: | Size: 211 KiB |
BIN
test/level01/cmo_addatt_normals/reference/synth_area_z_sphere.jpg
Executable file
|
After Width: | Height: | Size: 211 KiB |
BIN
test/level01/cmo_addatt_normals/reference/synth_norm_x.jpg
Executable file
|
After Width: | Height: | Size: 65 KiB |
BIN
test/level01/cmo_addatt_normals/reference/synth_norm_y.jpg
Executable file
|
After Width: | Height: | Size: 64 KiB |
BIN
test/level01/cmo_addatt_normals/reference/synth_norm_z.jpg
Executable file
|
After Width: | Height: | Size: 65 KiB |
7
test/level01/cmo_readatt/input.dat
Executable file
@@ -0,0 +1,7 @@
|
||||
# variables = "x [m]" "y [m]" "Mass mean" "Mass std dev" "Mass mean error" "Mass lower bound" "Mass upper bound"
|
||||
499075 526575 0 1 2 3 1
|
||||
499100 526575 0 1 2 3 2
|
||||
499075 526600 0 1 2 3 3
|
||||
499100 526600 1.1 1 2 3 4
|
||||
499100 526675 .09 1 2 3 5
|
||||
499050 526700 .10 1 2 3 6
|
||||
94
test/level01/cmo_readatt/input.lgi
Executable file
@@ -0,0 +1,94 @@
|
||||
# LaGriT test
|
||||
# cmo / readatt
|
||||
# created Mar 7 2012 tamiller@lanl.gov
|
||||
|
||||
#---------------------------------------------
|
||||
# read file with user added attributes
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/xic,yic,zic,x1,x2,x3,x4/add///input.dat
|
||||
cmo printatt cmo1 -xyz-
|
||||
cmo status cmo1
|
||||
cmo printatt cmo1 -all- minmax
|
||||
dump avs output1.inp cmo1
|
||||
|
||||
#---------------------------------------------
|
||||
# use add command for 0 points
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/xic,yic,zic,xvalue/add///input_dylan.dat
|
||||
cmo printatt cmo1 -all- minmax
|
||||
dump avs output_dylan.inp cmo1
|
||||
|
||||
#---------------------------------------------
|
||||
# use add command adding to 10 points
|
||||
cmo/readatt/cmo1/xic,yic,zic,xvalue/add///input_dylan.dat
|
||||
cmo printatt cmo1 -all- minmax
|
||||
dump avs output_dylan_add.inp cmo1
|
||||
cmo delete cmo1
|
||||
|
||||
#---------------------------------------------
|
||||
# read into created quad mesh 14261 values
|
||||
define MINX 498000.
|
||||
define MAXX 500500.
|
||||
define MINY 537000.
|
||||
define MAXY 540500.
|
||||
define NX 101
|
||||
define NY 141
|
||||
|
||||
cmo/create/cmoquad///quad
|
||||
quadxy NX NY/MINX MINY 0./MAXX MINY 0./MAXX MAXY 0./MINX MAXY 0.
|
||||
rzbrick/xyz/NX,NY,1/1,0,0/connect
|
||||
cmo/setatt/cmoquad/itetclr 1
|
||||
cmo/setatt/cmoquad/ipolydat no
|
||||
|
||||
cmo/readatt/cmoquad/xic,yic,zic/1,0,0/input_ev.dat
|
||||
dump avs2 output_ev.inp cmoquad 1 1 0 0
|
||||
cmo/printatt/cmoquad/ -xyz- minmax
|
||||
cmo /delete / cmoquad
|
||||
|
||||
|
||||
#---------------------------------------------
|
||||
# read file with tab spacing
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo printatt cmo1 -xyz-
|
||||
cmo readatt cmo1/xic yic /1,0,0/input_tab.dat
|
||||
cmo printatt cmo1 -xyz-
|
||||
|
||||
#---------------------------------------------
|
||||
# read same file with bad number of values
|
||||
# report error trying to read bad line
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo readatt cmo1/xic yic /add///input_bad.dat
|
||||
|
||||
#---------------------------------------------
|
||||
# 750 is normal acceptable length
|
||||
# Use wc -L to get longest record length
|
||||
|
||||
# record length less than 750
|
||||
# use 8 out of 15 values per line
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/imt,xic,yic,zic,x1,x2,x3,x4/add///input_wide.dat
|
||||
cmo status cmo1
|
||||
|
||||
cmo printatt cmo1 -all-
|
||||
|
||||
#---------------------------------------------
|
||||
#### Check error, parser not finding all values in line ####
|
||||
# request expected 40 attributes, readatt fills first 27
|
||||
# record length greater than 750
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/imt,xic,yic,zic, &
|
||||
x5,x6,x7,int8,x9,x10,x11,x12,x13,x14 &
|
||||
x15,x16,x17,x18,x19,x20,x21,x22,x23,x24 &
|
||||
x25,x26,x27,x28,x29,x30,x31,x32,x33,x34 &
|
||||
x35,x36,x37,x38,x39,x40 &
|
||||
add///input_verywide.dat
|
||||
|
||||
cmo printatt cmo1 -all-
|
||||
|
||||
finish
|
||||
|
||||
7
test/level01/cmo_readatt/input_bad.dat
Executable file
@@ -0,0 +1,7 @@
|
||||
# bad file - third line is missing some values
|
||||
1.00 499100 526575 0 1 2 3 1
|
||||
2.00 499200 526575 0 1 2 3 2
|
||||
3.00 499300
|
||||
4.00 499400 526600 1.1 1 2 3 4
|
||||
5.00 499500 526675 .09 1 2 3 5
|
||||
6.00 499600 526700 .10 1 2 3 6
|
||||
10
test/level01/cmo_readatt/input_dylan.dat
Executable file
@@ -0,0 +1,10 @@
|
||||
25.00 25.00 10.00 0.015000
|
||||
75.00 25.00 10.00 0.015000
|
||||
125.00 25.00 10.00 0.019000
|
||||
175.00 25.00 10.00 0.014000
|
||||
225.00 25.00 10.00 0.008000
|
||||
275.00 25.00 10.00 0.005000
|
||||
325.00 25.00 10.00 0.000000
|
||||
375.00 25.00 10.00 0.002000
|
||||
425.00 25.00 10.00 0.001000
|
||||
475.00 25.00 10.00 0.002000
|
||||
14261
test/level01/cmo_readatt/input_ev.dat
Executable file
8
test/level01/cmo_readatt/input_tab.dat
Executable file
@@ -0,0 +1,8 @@
|
||||
0 11.
|
||||
0.0 11.
|
||||
1. 11.1
|
||||
2.0 11.154
|
||||
3.0 11.24
|
||||
4.0 11.249
|
||||
5.0 11.259
|
||||
15. 12.
|
||||
3
test/level01/cmo_readatt/input_verywide.dat
Executable file
@@ -0,0 +1,3 @@
|
||||
0001 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 7.000000000000E+05 000008 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000000E+03 15.00000000 1.600000000000E+05 1.700000000000E+05 1.800000000000E+03 1.900000000000E+05 2.000000000000E+05 2.100000000000E+05 2.200000000000E+05 2.300000000000E+05 2.400000000000E+05 2.500000000000E+05 2.600000000000E+05 2.700000000000E+05
|
||||
0002 1.000000000000E+05 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 000002 8.000000000000E+05 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05
|
||||
3 1.000000000000E+05 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 000003 8.000000000000E+05 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05
|
||||
3
test/level01/cmo_readatt/input_wide.dat
Executable file
@@ -0,0 +1,3 @@
|
||||
0001 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 7.000000000000E+05 000008 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000000E+03 15.00000000
|
||||
0002 1.000000000000E+05 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 000002 8.000000000000E+05 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000
|
||||
3 1.000000000000E+05 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 000003 8.000000000000E+05 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000
|
||||
7
test/level01/cmo_readatt/reference/input.dat
Executable file
@@ -0,0 +1,7 @@
|
||||
# variables = "x [m]" "y [m]" "Mass mean" "Mass std dev" "Mass mean error" "Mass lower bound" "Mass upper bound"
|
||||
499075 526575 0 1 2 3 1
|
||||
499100 526575 0 1 2 3 2
|
||||
499075 526600 0 1 2 3 3
|
||||
499100 526600 1.1 1 2 3 4
|
||||
499100 526675 .09 1 2 3 5
|
||||
499050 526700 .10 1 2 3 6
|
||||
94
test/level01/cmo_readatt/reference/input.lgi
Executable file
@@ -0,0 +1,94 @@
|
||||
# LaGriT test
|
||||
# cmo / readatt
|
||||
# created Mar 7 2012 tamiller@lanl.gov
|
||||
|
||||
#---------------------------------------------
|
||||
# read file with user added attributes
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/xic,yic,zic,x1,x2,x3,x4/add///input.dat
|
||||
cmo printatt cmo1 -xyz-
|
||||
cmo status cmo1
|
||||
cmo printatt cmo1 -all- minmax
|
||||
dump avs output1.inp cmo1
|
||||
|
||||
#---------------------------------------------
|
||||
# use add command for 0 points
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/xic,yic,zic,xvalue/add///input_dylan.dat
|
||||
cmo printatt cmo1 -all- minmax
|
||||
dump avs output_dylan.inp cmo1
|
||||
|
||||
#---------------------------------------------
|
||||
# use add command adding to 10 points
|
||||
cmo/readatt/cmo1/xic,yic,zic,xvalue/add///input_dylan.dat
|
||||
cmo printatt cmo1 -all- minmax
|
||||
dump avs output_dylan_add.inp cmo1
|
||||
cmo delete cmo1
|
||||
|
||||
#---------------------------------------------
|
||||
# read into created quad mesh 14261 values
|
||||
define MINX 498000.
|
||||
define MAXX 500500.
|
||||
define MINY 537000.
|
||||
define MAXY 540500.
|
||||
define NX 101
|
||||
define NY 141
|
||||
|
||||
cmo/create/cmoquad///quad
|
||||
quadxy NX NY/MINX MINY 0./MAXX MINY 0./MAXX MAXY 0./MINX MAXY 0.
|
||||
rzbrick/xyz/NX,NY,1/1,0,0/connect
|
||||
cmo/setatt/cmoquad/itetclr 1
|
||||
cmo/setatt/cmoquad/ipolydat no
|
||||
|
||||
cmo/readatt/cmoquad/xic,yic,zic/1,0,0/input_ev.dat
|
||||
dump avs2 output_ev.inp cmoquad 1 1 0 0
|
||||
cmo/printatt/cmoquad/ -xyz- minmax
|
||||
cmo /delete / cmoquad
|
||||
|
||||
|
||||
#---------------------------------------------
|
||||
# read file with tab spacing
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo printatt cmo1 -xyz-
|
||||
cmo readatt cmo1/xic yic /1,0,0/input_tab.dat
|
||||
cmo printatt cmo1 -xyz-
|
||||
|
||||
#---------------------------------------------
|
||||
# read same file with bad number of values
|
||||
# report error trying to read bad line
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo readatt cmo1/xic yic /add///input_bad.dat
|
||||
|
||||
#---------------------------------------------
|
||||
# 750 is normal acceptable length
|
||||
# Use wc -L to get longest record length
|
||||
|
||||
# record length less than 750
|
||||
# use 8 out of 15 values per line
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/imt,xic,yic,zic,x1,x2,x3,x4/add///input_wide.dat
|
||||
cmo status cmo1
|
||||
|
||||
cmo printatt cmo1 -all-
|
||||
|
||||
#---------------------------------------------
|
||||
#### Check error, parser not finding all values in line ####
|
||||
# request expected 40 attributes, readatt fills first 27
|
||||
# record length greater than 750
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/imt,xic,yic,zic, &
|
||||
x5,x6,x7,int8,x9,x10,x11,x12,x13,x14 &
|
||||
x15,x16,x17,x18,x19,x20,x21,x22,x23,x24 &
|
||||
x25,x26,x27,x28,x29,x30,x31,x32,x33,x34 &
|
||||
x35,x36,x37,x38,x39,x40 &
|
||||
add///input_verywide.dat
|
||||
|
||||
cmo printatt cmo1 -all-
|
||||
|
||||
finish
|
||||
|
||||
7
test/level01/cmo_readatt/reference/input_bad.dat
Executable file
@@ -0,0 +1,7 @@
|
||||
# bad file - third line is missing some values
|
||||
1.00 499100 526575 0 1 2 3 1
|
||||
2.00 499200 526575 0 1 2 3 2
|
||||
3.00 499300
|
||||
4.00 499400 526600 1.1 1 2 3 4
|
||||
5.00 499500 526675 .09 1 2 3 5
|
||||
6.00 499600 526700 .10 1 2 3 6
|
||||
10
test/level01/cmo_readatt/reference/input_dylan.dat
Executable file
@@ -0,0 +1,10 @@
|
||||
25.00 25.00 10.00 0.015000
|
||||
75.00 25.00 10.00 0.015000
|
||||
125.00 25.00 10.00 0.019000
|
||||
175.00 25.00 10.00 0.014000
|
||||
225.00 25.00 10.00 0.008000
|
||||
275.00 25.00 10.00 0.005000
|
||||
325.00 25.00 10.00 0.000000
|
||||
375.00 25.00 10.00 0.002000
|
||||
425.00 25.00 10.00 0.001000
|
||||
475.00 25.00 10.00 0.002000
|
||||
14261
test/level01/cmo_readatt/reference/input_ev.dat
Executable file
8
test/level01/cmo_readatt/reference/input_tab.dat
Executable file
@@ -0,0 +1,8 @@
|
||||
0 11.
|
||||
0.0 11.
|
||||
1. 11.1
|
||||
2.0 11.154
|
||||
3.0 11.24
|
||||
4.0 11.249
|
||||
5.0 11.259
|
||||
15. 12.
|
||||
3
test/level01/cmo_readatt/reference/input_verywide.dat
Executable file
@@ -0,0 +1,3 @@
|
||||
0001 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 7.000000000000E+05 000008 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000000E+03 15.00000000 1.600000000000E+05 1.700000000000E+05 1.800000000000E+03 1.900000000000E+05 2.000000000000E+05 2.100000000000E+05 2.200000000000E+05 2.300000000000E+05 2.400000000000E+05 2.500000000000E+05 2.600000000000E+05 2.700000000000E+05
|
||||
0002 1.000000000000E+05 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 000002 8.000000000000E+05 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05 1.234567890123E-05
|
||||
3 1.000000000000E+05 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 000003 8.000000000000E+05 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05 1.234567890123E+05
|
||||
3
test/level01/cmo_readatt/reference/input_wide.dat
Executable file
@@ -0,0 +1,3 @@
|
||||
0001 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 7.000000000000E+05 000008 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000000E+03 15.00000000
|
||||
0002 1.000000000000E+05 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 000002 8.000000000000E+05 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000
|
||||
3 1.000000000000E+05 2.000000000000E+05 3.000000000000E+03 4.000000000000E+05 5.000000000000E+05 6.000000000000E+03 000003 8.000000000000E+05 9.000000000000E+05 10.000000000000E+03 11.000000000000E+05 12.000000000000E+05 13.000000000000E+03 14.00000000
|
||||
50
test/level01/cmo_readatt/reference/logx3dgen
Executable file
@@ -0,0 +1,50 @@
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/xic,yic,zic,x1,x2,x3,x4/add///input.dat
|
||||
cmo printatt cmo1 -xyz-
|
||||
cmo status cmo1
|
||||
cmo printatt cmo1 -all- minmax
|
||||
dump avs output1.inp cmo1
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/xic,yic,zic,xvalue/add///input_dylan.dat
|
||||
cmo printatt cmo1 -all- minmax
|
||||
dump avs output_dylan.inp cmo1
|
||||
cmo/readatt/cmo1/xic,yic,zic,xvalue/add///input_dylan.dat
|
||||
cmo printatt cmo1 -all- minmax
|
||||
dump avs output_dylan_add.inp cmo1
|
||||
cmo delete cmo1
|
||||
define MINX 498000.
|
||||
define MAXX 500500.
|
||||
define MINY 537000.
|
||||
define MAXY 540500.
|
||||
define NX 101
|
||||
define NY 141
|
||||
cmo/create/cmoquad///quad
|
||||
quadxy NX NY/MINX MINY 0./MAXX MINY 0./MAXX MAXY 0./MINX MAXY 0.
|
||||
rzbrick/xyz/NX,NY,1/1,0,0/connect
|
||||
cmo/setatt/cmoquad/itetclr 1
|
||||
cmo/setatt/cmoquad/ipolydat no
|
||||
cmo/readatt/cmoquad/xic,yic,zic/1,0,0/input_ev.dat
|
||||
dump avs2 output_ev.inp cmoquad 1 1 0 0
|
||||
cmo/printatt/cmoquad/-xyz- minmax
|
||||
cmo/delete/cmoquad
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo printatt cmo1 -xyz-
|
||||
cmo readatt cmo1/xic yic/1,0,0/input_tab.dat
|
||||
cmo printatt cmo1 -xyz-
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo readatt cmo1/xic yic/add///input_bad.dat
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/imt,xic,yic,zic,x1,x2,x3,x4/add///input_wide.dat
|
||||
cmo status cmo1
|
||||
cmo printatt cmo1 -all-
|
||||
cmo delete cmo1
|
||||
cmo create cmo1
|
||||
cmo/readatt/cmo1/imt,xic,yic,zic,x5,x6,x7,int8,x9,x10,x11,x12,x13,x14 x15,x16,x1
|
||||
7,x18,x19,x20,x21,x22,x23,x24 x25,x26,x27,x28,x29,x30,x31,x32,x33,x34 x35,x36,x3
|
||||
7,x38,x39,x40 add///input_verywide.dat
|
||||
cmo printatt cmo1 -all-
|
||||
finish
|
||||
22
test/level01/cmo_readatt/reference/output1.inp
Executable file
@@ -0,0 +1,22 @@
|
||||
6 0 8 0 0
|
||||
001 4.990750000000E+05 5.265750000000E+05 0.000000000000E+00
|
||||
002 4.991000000000E+05 5.265750000000E+05 0.000000000000E+00
|
||||
003 4.990750000000E+05 5.266000000000E+05 0.000000000000E+00
|
||||
004 4.991000000000E+05 5.266000000000E+05 1.100000000000E+00
|
||||
005 4.991000000000E+05 5.266750000000E+05 9.000000000000E-02
|
||||
006 4.990500000000E+05 5.267000000000E+05 1.000000000000E-01
|
||||
00008 1 1 1 1 1 1 1 1
|
||||
imt1, integer
|
||||
itp1, integer
|
||||
icr1, integer
|
||||
isn1, integer
|
||||
x1, real
|
||||
x2, real
|
||||
x3, real
|
||||
x4, real
|
||||
1 0 0 0 0 0.100000000000E+01 0.200000000000E+01 0.300000000000E+01 0.100000000000E+01
|
||||
2 0 0 0 0 0.100000000000E+01 0.200000000000E+01 0.300000000000E+01 0.200000000000E+01
|
||||
3 0 0 0 0 0.100000000000E+01 0.200000000000E+01 0.300000000000E+01 0.300000000000E+01
|
||||
4 0 0 0 0 0.100000000000E+01 0.200000000000E+01 0.300000000000E+01 0.400000000000E+01
|
||||
5 0 0 0 0 0.100000000000E+01 0.200000000000E+01 0.300000000000E+01 0.500000000000E+01
|
||||
6 0 0 0 0 0.100000000000E+01 0.200000000000E+01 0.300000000000E+01 0.600000000000E+01
|
||||
27
test/level01/cmo_readatt/reference/output_dylan.inp
Executable file
@@ -0,0 +1,27 @@
|
||||
10 0 5 0 0
|
||||
001 2.500000000000E+01 2.500000000000E+01 1.000000000000E+01
|
||||
002 7.500000000000E+01 2.500000000000E+01 1.000000000000E+01
|
||||
003 1.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
004 1.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
005 2.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
006 2.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
007 3.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
008 3.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
009 4.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
010 4.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
00005 1 1 1 1 1
|
||||
imt1, integer
|
||||
itp1, integer
|
||||
icr1, integer
|
||||
isn1, integer
|
||||
xvalue, real
|
||||
1 0 0 0 0 0.150000000000E-01
|
||||
2 0 0 0 0 0.150000000000E-01
|
||||
3 0 0 0 0 0.190000000000E-01
|
||||
4 0 0 0 0 0.140000000000E-01
|
||||
5 0 0 0 0 0.800000000000E-02
|
||||
6 0 0 0 0 0.500000000000E-02
|
||||
7 0 0 0 0 0.000000000000E+00
|
||||
8 0 0 0 0 0.200000000000E-02
|
||||
9 0 0 0 0 0.100000000000E-02
|
||||
10 0 0 0 0 0.200000000000E-02
|
||||
47
test/level01/cmo_readatt/reference/output_dylan_add.inp
Executable file
@@ -0,0 +1,47 @@
|
||||
20 0 5 0 0
|
||||
001 2.500000000000E+01 2.500000000000E+01 1.000000000000E+01
|
||||
002 7.500000000000E+01 2.500000000000E+01 1.000000000000E+01
|
||||
003 1.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
004 1.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
005 2.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
006 2.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
007 3.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
008 3.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
009 4.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
010 4.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
011 2.500000000000E+01 2.500000000000E+01 1.000000000000E+01
|
||||
012 7.500000000000E+01 2.500000000000E+01 1.000000000000E+01
|
||||
013 1.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
014 1.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
015 2.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
016 2.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
017 3.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
018 3.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
019 4.250000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
020 4.750000000000E+02 2.500000000000E+01 1.000000000000E+01
|
||||
00005 1 1 1 1 1
|
||||
imt1, integer
|
||||
itp1, integer
|
||||
icr1, integer
|
||||
isn1, integer
|
||||
xvalue, real
|
||||
1 0 0 0 0 0.150000000000E-01
|
||||
2 0 0 0 0 0.150000000000E-01
|
||||
3 0 0 0 0 0.190000000000E-01
|
||||
4 0 0 0 0 0.140000000000E-01
|
||||
5 0 0 0 0 0.800000000000E-02
|
||||
6 0 0 0 0 0.500000000000E-02
|
||||
7 0 0 0 0 0.000000000000E+00
|
||||
8 0 0 0 0 0.200000000000E-02
|
||||
9 0 0 0 0 0.100000000000E-02
|
||||
10 0 0 0 0 0.200000000000E-02
|
||||
11 0 0 0 0 0.150000000000E-01
|
||||
12 0 0 0 0 0.150000000000E-01
|
||||
13 0 0 0 0 0.190000000000E-01
|
||||
14 0 0 0 0 0.140000000000E-01
|
||||
15 0 0 0 0 0.800000000000E-02
|
||||
16 0 0 0 0 0.500000000000E-02
|
||||
17 0 0 0 0 0.000000000000E+00
|
||||
18 0 0 0 0 0.200000000000E-02
|
||||
19 0 0 0 0 0.100000000000E-02
|
||||
20 0 0 0 0 0.200000000000E-02
|
||||
28242
test/level01/cmo_readatt/reference/output_ev.inp
Executable file
1711
test/level01/cmo_readatt/reference/outx3dgen
Executable file
27
test/level01/connect_cube/input.lgi
Executable file
@@ -0,0 +1,27 @@
|
||||
* TEST connect (3d) (lagrit_input_connect)
|
||||
* LaGriT input file to generate an orthogonal grid on
|
||||
* a unit cube. Just change nx,ny,nz to change the resolution.
|
||||
*
|
||||
define/nx/20
|
||||
define/ny/20
|
||||
define/nz/20
|
||||
|
||||
cmo / create / cmo / / / tet
|
||||
rz / xyz / nx, ny, nz / 0. 0. 0. / 1. 1. 1. / 1 1 1
|
||||
cmo / setatt / cmo / imt / 1 0 0 / 1
|
||||
dump/ avs /output_conn1.inp/cmo
|
||||
|
||||
* begin compare
|
||||
connect / noadd
|
||||
* end compare
|
||||
|
||||
resetpts / itp
|
||||
dump / avs / output_conn2.inp/cmo
|
||||
|
||||
* begin compare
|
||||
geniee
|
||||
cmo/status
|
||||
cmo/printatt//-all-/minmax
|
||||
quality
|
||||
* end compare
|
||||
finish
|
||||
27
test/level01/connect_cube/reference/input.lgi
Executable file
@@ -0,0 +1,27 @@
|
||||
* TEST connect (3d) (lagrit_input_connect)
|
||||
* LaGriT input file to generate an orthogonal grid on
|
||||
* a unit cube. Just change nx,ny,nz to change the resolution.
|
||||
*
|
||||
define/nx/20
|
||||
define/ny/20
|
||||
define/nz/20
|
||||
|
||||
cmo / create / cmo / / / tet
|
||||
rz / xyz / nx, ny, nz / 0. 0. 0. / 1. 1. 1. / 1 1 1
|
||||
cmo / setatt / cmo / imt / 1 0 0 / 1
|
||||
dump/ avs /output_conn1.inp/cmo
|
||||
|
||||
* begin compare
|
||||
connect / noadd
|
||||
* end compare
|
||||
|
||||
resetpts / itp
|
||||
dump / avs / output_conn2.inp/cmo
|
||||
|
||||
* begin compare
|
||||
geniee
|
||||
cmo/status
|
||||
cmo/printatt//-all-/minmax
|
||||
quality
|
||||
* end compare
|
||||
finish
|
||||
15
test/level01/connect_cube/reference/logx3dgen
Executable file
@@ -0,0 +1,15 @@
|
||||
define/nx/20
|
||||
define/ny/20
|
||||
define/nz/20
|
||||
cmo/create/cmo///tet
|
||||
rz/xyz/nx,ny,nz/0. 0. 0./1. 1. 1./1 1 1
|
||||
cmo/setatt/cmo/imt/1 0 0/1
|
||||
dump/avs/output_conn1.inp/cmo
|
||||
connect/noadd
|
||||
resetpts/itp
|
||||
dump/avs/output_conn2.inp/cmo
|
||||
geniee
|
||||
cmo/status
|
||||
cmo/printatt//-all-/minmax
|
||||
quality
|
||||
finish
|
||||
16006
test/level01/connect_cube/reference/output_conn1.inp
Normal file
56757
test/level01/connect_cube/reference/output_conn2.inp
Normal file
229
test/level01/connect_cube/reference/outx3dgen
Executable file
@@ -0,0 +1,229 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.330 Linux *
|
||||
* * date_compile: 2021/10/15 test *
|
||||
* * Run Time: 2021/Nov 4 11:46:03 *
|
||||
* * 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 connect (3d) (lagrit_input_connect)
|
||||
* LaGriT input file to generate an orthogonal grid on
|
||||
* a unit cube. Just change nx,ny,nz to change the resolution.
|
||||
*
|
||||
define/nx/20
|
||||
define/ny/20
|
||||
define/nz/20
|
||||
cmo/create/cmo///tet
|
||||
rz/xyz/nx,ny,nz/0. 0. 0./1. 1. 1./1 1 1
|
||||
RZ GENERATED POINTS 1 TO 8000
|
||||
cmo/setatt/cmo/imt/1 0 0/1
|
||||
Warning: nelements = 0
|
||||
8000 values reset for attribute imt1
|
||||
|
||||
dump/avs/output_conn1.inp/cmo
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
* begin compare
|
||||
connect/noadd
|
||||
Coordinates of enclosing tetrahedron are:
|
||||
-0.20000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 -0.75000D+00 0.42500D+01
|
||||
0.30000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 0.42500D+01 0.50000D+00
|
||||
ntets= 29572 node index= 5000 nlstfail= 0 %done= 61.58
|
||||
|
||||
The mesh is now complete!
|
||||
|
||||
LaGriT FINISH: connect
|
||||
|
||||
* end compare
|
||||
resetpts/itp
|
||||
geniee
|
||||
finish
|
||||
dump/avs/output_conn2.inp/cmo
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
* begin compare
|
||||
geniee
|
||||
cmo/status
|
||||
|
||||
The current-mesh-object(CMO) is: cmo
|
||||
|
||||
1 Mesh Object name: cmo
|
||||
number of nodes = 8000 number of elements = 40751
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 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+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 4.075E+04
|
||||
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.000E-08
|
||||
35 epsilona REAL scalar scalar const perma l 1.000E-08
|
||||
36 epsilonv REAL scalar scalar const perma l 1.000E-08
|
||||
37 ipointi INT scalar scalar const perma l 8.000E+03
|
||||
38 ipointj INT scalar scalar const perma l 8.000E+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 -1.000E+00
|
||||
52 ymin REAL scalar scalar const perma l -1.000E+00
|
||||
53 zmin REAL scalar scalar const perma l -1.000E+00
|
||||
54 xmax REAL scalar scalar const perma l 1.000E+00
|
||||
55 ymax REAL scalar scalar const perma l 1.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
|
||||
cmo/printatt//-all-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
-def- 0.000000000E+00 0.000000000E+00 0.000000000E+00 8000
|
||||
scalar 1 1 0 1
|
||||
vector 3 3 0 1
|
||||
nnodes 8000 8000 0 1
|
||||
nedges 0 0 0 1
|
||||
nfaces 0 0 0 1
|
||||
nelements 40751 40751 0 1
|
||||
mbndry 16000000 16000000 0 1
|
||||
ndimensions_topo 3 3 0 1
|
||||
ndimensions_geom 3 3 0 1
|
||||
nodes_per_element 4 4 0 1
|
||||
edges_per_element 6 6 0 1
|
||||
faces_per_element 4 4 0 1
|
||||
isetwd 0 0 0 8000
|
||||
ialias 0 0 0 8000
|
||||
imt1 1 1 0 8000
|
||||
itp1 0 10 10 8000
|
||||
icr1 0 0 0 8000
|
||||
isn1 0 0 0 8000
|
||||
xic 0.000000000E+00 1.000000000E+00 1.000000000E+00 8000
|
||||
yic 0.000000000E+00 1.000000000E+00 1.000000000E+00 8000
|
||||
zic 0.000000000E+00 1.000000000E+00 1.000000000E+00 8000
|
||||
xtetwd 0 0 0 40751
|
||||
itetclr 1 1 0 40751
|
||||
itettyp 5 5 0 40751
|
||||
itetoff 0 163000 163000 40751
|
||||
jtetoff 0 163000 163000 40751
|
||||
itet 1 8000 7999 40751x4
|
||||
jtet 1 16000000 15999999 40751x4
|
||||
epsilon 1.000000004E-15 1.000000004E-15 0.000000000E+00 1
|
||||
epsilonl 9.999999939E-09 9.999999939E-09 0.000000000E+00 1
|
||||
epsilona 9.999999939E-09 9.999999939E-09 0.000000000E+00 1
|
||||
epsilonv 9.999999939E-09 9.999999939E-09 0.000000000E+00 1
|
||||
ipointi 8000 8000 0 1
|
||||
ipointj 8000 8000 0 1
|
||||
idebug 0 0 0 1
|
||||
itypconv_sm 1 1 0 1
|
||||
maxiter_sm 25 25 0 1
|
||||
tolconv_sm 1.000000000E+00 1.000000000E+00 0.000000000E+00 1
|
||||
nnfreq 1 1 0 1
|
||||
ivoronoi 1 1 0 1
|
||||
iopt2to2 2 2 0 1
|
||||
xmin -1.000000000E+00 -1.000000000E+00 0.000000000E+00 1
|
||||
ymin -1.000000000E+00 -1.000000000E+00 0.000000000E+00 1
|
||||
zmin -1.000000000E+00 -1.000000000E+00 0.000000000E+00 1
|
||||
xmax 1.000000000E+00 1.000000000E+00 0.000000000E+00 1
|
||||
ymax 1.000000000E+00 1.000000000E+00 0.000000000E+00 1
|
||||
zmax 1.000000000E+00 1.000000000E+00 0.000000000E+00 1
|
||||
kdtree_level 0 0 0 1
|
||||
max_number_sets 64 64 0 1
|
||||
number_of_psets 0 0 0 1
|
||||
number_of_eltsets 0 0 0 1
|
||||
number_of_fsets 0 0 0 1
|
||||
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 9.9999999E-09 9.9999998E-25
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 40751
|
||||
min aspect ratio = 0.6230E+00 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 2.2204460E-13
|
||||
---------------------------------------
|
||||
element volumes b/w 0.2430E-04 and 0.2791E-04: 40348
|
||||
element volumes b/w 0.2791E-04 and 0.3206E-04: 0
|
||||
element volumes b/w 0.3206E-04 and 0.3683E-04: 0
|
||||
element volumes b/w 0.3683E-04 and 0.4231E-04: 0
|
||||
element volumes b/w 0.4231E-04 and 0.4860E-04: 403
|
||||
min volume = 2.4298975E-05 max volume = 4.8597949E-05
|
||||
-----------------------------------------------------------
|
||||
40751 total elements evaluated.
|
||||
|
||||
* end compare
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
78
test/level01/connect_errors/input.lgi
Executable file
@@ -0,0 +1,78 @@
|
||||
# Test the connect command in two dimensions. Currently this test fails when the
|
||||
# unit square is positioned at this location (1000, 0, 0) and also at various
|
||||
# other locations.
|
||||
# For full test Run ./test_delaunay_2d -s to see where else the test fails.
|
||||
#
|
||||
# 2D that works -----------------------------
|
||||
cmo / create / mo / / / triplane
|
||||
createpts / xyz / 2 2 1 / 0. 0. 0. / 1. 1. 0. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
# END 2D that works -----------------------------
|
||||
|
||||
# 2D single point ------------------------------
|
||||
cmo delete mo
|
||||
cmo / create / mo / / / triplane
|
||||
createpts / xyz / 1 1 1 / 0. 0. 0. / 0. 0. 0. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
# END 2D single point ------------------------------
|
||||
|
||||
# 2D 4 points not found -----------------------------
|
||||
# trying to connect 0 points
|
||||
# 4 points are being marked because they could not be connected.
|
||||
cmo delete mo
|
||||
cmo / create / mo / / / triplane
|
||||
createpts / xyz / 2 2 1 / 1000. 0. 0. / 1001. 1. 0. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
# END 2D 4 points not found -----------------------------
|
||||
|
||||
|
||||
## 3D that works --------------------------------
|
||||
cmo delete mo
|
||||
cmo create mo / / / tet
|
||||
createpts / xyz / 2 2 2 / 0. 0. 0. / 1. 1. 1. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
## END 3D that works ----------------------------
|
||||
|
||||
## 3D 1 point --------------------------------
|
||||
cmo delete mo
|
||||
cmo create mo / / / tet
|
||||
createpts / xyz / 1 1 1 / 0. 0. 0. / 0. 0. 0. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
## END 3D 1 point --------------------------------
|
||||
|
||||
## 3D 8 points duplicate --------------------------------
|
||||
cmo delete mo
|
||||
cmo create mo / / / tet
|
||||
createpts / xyz / 2 2 2 / 0. 0. 0. / 0. 0. 0. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
## END 3D 8 points duplicate --------------------------------
|
||||
|
||||
# CHECK bad cmo
|
||||
cmo delete mo
|
||||
connect
|
||||
|
||||
# CHECK empty cmo
|
||||
cmo create mo
|
||||
connect
|
||||
|
||||
|
||||
# END ALL TESTS
|
||||
finish
|
||||
78
test/level01/connect_errors/reference/input.lgi
Executable file
@@ -0,0 +1,78 @@
|
||||
# Test the connect command in two dimensions. Currently this test fails when the
|
||||
# unit square is positioned at this location (1000, 0, 0) and also at various
|
||||
# other locations.
|
||||
# For full test Run ./test_delaunay_2d -s to see where else the test fails.
|
||||
#
|
||||
# 2D that works -----------------------------
|
||||
cmo / create / mo / / / triplane
|
||||
createpts / xyz / 2 2 1 / 0. 0. 0. / 1. 1. 0. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
# END 2D that works -----------------------------
|
||||
|
||||
# 2D single point ------------------------------
|
||||
cmo delete mo
|
||||
cmo / create / mo / / / triplane
|
||||
createpts / xyz / 1 1 1 / 0. 0. 0. / 0. 0. 0. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
# END 2D single point ------------------------------
|
||||
|
||||
# 2D 4 points not found -----------------------------
|
||||
# trying to connect 0 points
|
||||
# 4 points are being marked because they could not be connected.
|
||||
cmo delete mo
|
||||
cmo / create / mo / / / triplane
|
||||
createpts / xyz / 2 2 1 / 1000. 0. 0. / 1001. 1. 0. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
# END 2D 4 points not found -----------------------------
|
||||
|
||||
|
||||
## 3D that works --------------------------------
|
||||
cmo delete mo
|
||||
cmo create mo / / / tet
|
||||
createpts / xyz / 2 2 2 / 0. 0. 0. / 1. 1. 1. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
## END 3D that works ----------------------------
|
||||
|
||||
## 3D 1 point --------------------------------
|
||||
cmo delete mo
|
||||
cmo create mo / / / tet
|
||||
createpts / xyz / 1 1 1 / 0. 0. 0. / 0. 0. 0. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
## END 3D 1 point --------------------------------
|
||||
|
||||
## 3D 8 points duplicate --------------------------------
|
||||
cmo delete mo
|
||||
cmo create mo / / / tet
|
||||
createpts / xyz / 2 2 2 / 0. 0. 0. / 0. 0. 0. / 1 1 1
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / itp / 1 0 0 / 0
|
||||
connect
|
||||
quality
|
||||
## END 3D 8 points duplicate --------------------------------
|
||||
|
||||
# CHECK bad cmo
|
||||
cmo delete mo
|
||||
connect
|
||||
|
||||
# CHECK empty cmo
|
||||
cmo create mo
|
||||
connect
|
||||
|
||||
|
||||
# END ALL TESTS
|
||||
finish
|
||||
46
test/level01/connect_errors/reference/logx3dgen
Executable file
@@ -0,0 +1,46 @@
|
||||
cmo/create/mo///triplane
|
||||
createpts/xyz/2 2 1/0. 0. 0./1. 1. 0./1 1 1
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
connect
|
||||
quality
|
||||
cmo delete mo
|
||||
cmo/create/mo///triplane
|
||||
createpts/xyz/1 1 1/0. 0. 0./0. 0. 0./1 1 1
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
connect
|
||||
quality
|
||||
cmo delete mo
|
||||
cmo/create/mo///triplane
|
||||
createpts/xyz/2 2 1/1000. 0. 0./1001. 1. 0./1 1 1
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
connect
|
||||
quality
|
||||
cmo delete mo
|
||||
cmo create mo///tet
|
||||
createpts/xyz/2 2 2/0. 0. 0./1. 1. 1./1 1 1
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
connect
|
||||
quality
|
||||
cmo delete mo
|
||||
cmo create mo///tet
|
||||
createpts/xyz/1 1 1/0. 0. 0./0. 0. 0./1 1 1
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
connect
|
||||
quality
|
||||
cmo delete mo
|
||||
cmo create mo///tet
|
||||
createpts/xyz/2 2 2/0. 0. 0./0. 0. 0./1 1 1
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
connect
|
||||
quality
|
||||
cmo delete mo
|
||||
connect
|
||||
cmo create mo
|
||||
connect
|
||||
finish
|
||||
394
test/level01/connect_errors/reference/outx3dgen
Executable file
@@ -0,0 +1,394 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.3.3 Linux *
|
||||
* * Date Compile: 2023/12/20 *
|
||||
* * Run Time: 2023/Dec 21 15:50:58 *
|
||||
* * 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 the connect command in two dimensions. Currently this test fails when the
|
||||
# unit square is positioned at this location (1000, 0, 0) and also at various
|
||||
# other locations.
|
||||
# For full test Run ./test_delaunay_2d -s to see where else the test fails.
|
||||
#
|
||||
# 2D that works -----------------------------
|
||||
cmo/create/mo///triplane
|
||||
createpts/xyz/2 2 1/0. 0. 0./1. 1. 0./1 1 1
|
||||
RZ GENERATED POINTS 1 TO 4
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
Warning: nelements = 0
|
||||
4 values reset for attribute imt1
|
||||
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
Warning: nelements = 0
|
||||
4 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
|
||||
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 3.1401849E-13 3.0964614E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 2
|
||||
min aspect ratio = 0.8284E+00 max aspect ratio = 0.8284E+00
|
||||
|
||||
epsilonvol: 4.4408921E-13
|
||||
---------------------------------------
|
||||
All elements have volume 5.0000000E-01
|
||||
-----------------------------------------------------------
|
||||
2 total elements evaluated.
|
||||
|
||||
# END 2D that works -----------------------------
|
||||
# 2D single point ------------------------------
|
||||
cmo delete mo
|
||||
Released Mesh Object: mo
|
||||
cmo/create/mo///triplane
|
||||
createpts/xyz/1 1 1/0. 0. 0./0. 0. 0./1 1 1
|
||||
RZ GENERATED POINTS 1 TO 1
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
Warning: nelements = 0
|
||||
1 values reset for attribute imt1
|
||||
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
Warning: nelements = 0
|
||||
1 values reset for attribute itp1
|
||||
|
||||
connect
|
||||
|
||||
ERROR: connect2d
|
||||
connect2d > invalid number of nodes: 1
|
||||
connect2d > ending with ierr1 flag: 1
|
||||
ERROR END COUNT: 1 for connect2d
|
||||
|
||||
LaGriT WARNING: connect (2d) error: 1
|
||||
|
||||
quality
|
||||
0 total elements in mesh.
|
||||
|
||||
# END 2D single point ------------------------------
|
||||
# 2D 4 points not found -----------------------------
|
||||
# trying to connect 0 points
|
||||
# 4 points are being marked because they could not be connected.
|
||||
cmo delete mo
|
||||
Released Mesh Object: mo
|
||||
cmo/create/mo///triplane
|
||||
createpts/xyz/2 2 1/1000. 0. 0./1001. 1. 0./1 1 1
|
||||
RZ GENERATED POINTS 1 TO 4
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
Warning: nelements = 0
|
||||
4 values reset for attribute imt1
|
||||
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
Warning: nelements = 0
|
||||
4 values reset for attribute itp1
|
||||
|
||||
connect
|
||||
Coordinates of enclosing triangle are:
|
||||
0.99825D+03-0.16000D+01 0.00000D+00
|
||||
0.10028D+04-0.17500D+01 0.00000D+00
|
||||
0.10105D+04 0.50000D+01 0.00000D+00
|
||||
|
||||
There are 4 points that failed step 1
|
||||
1 2 3 4
|
||||
|
||||
4 Points failed volume ratio test 0 Points failed min volume test.
|
||||
|
||||
There are 4 points that failed step 2
|
||||
1 2 3 4
|
||||
|
||||
4 Points failed volume ratio test 0 Points failed min volume test.
|
||||
|
||||
There are 4 points that failed step 3
|
||||
1 2 3 4
|
||||
|
||||
4 Points failed volume ratio test 0 Points failed min volume test.
|
||||
|
||||
4 points are being marked because they could not be connected.
|
||||
1 0.1000000E+04 0.0000000E+00 0.0000000E+00
|
||||
2 0.1001000E+04 0.0000000E+00 0.0000000E+00
|
||||
3 0.1000000E+04 0.1000000E+01 0.0000000E+00
|
||||
4 0.1001000E+04 0.1000000E+01 0.0000000E+00
|
||||
|
||||
Successfully eliminated all multimaterial connections.
|
||||
ERROR: delaunay2d
|
||||
> invalid number for element estimate: 0
|
||||
> exiting with error num: 1
|
||||
|
||||
ERROR END: delaunay2d
|
||||
|
||||
Warning from: connect2d set info 0 elements
|
||||
|
||||
Dudding 4 points that have no associated triangle.
|
||||
0.1000000E+04 0.0000000E+00 0.0000000E+00 1 1
|
||||
0.1000000E+04 0.0000000E+00 0.0000000E+00 1 1
|
||||
0.1001000E+04 0.0000000E+00 0.0000000E+00 2 1
|
||||
0.1001000E+04 0.0000000E+00 0.0000000E+00 2 1
|
||||
0.1000000E+04 0.1000000E+01 0.0000000E+00 3 1
|
||||
0.1000000E+04 0.1000000E+01 0.0000000E+00 3 1
|
||||
0.1001000E+04 0.1000000E+01 0.0000000E+00 4 1
|
||||
0.1001000E+04 0.1000000E+01 0.0000000E+00 4 1
|
||||
|
||||
The mesh is complete but could not include all points.
|
||||
Number of points that could not be connected: 4
|
||||
|
||||
LaGriT FINISH: connect
|
||||
|
||||
LaGriT WARNING: connect finished with 0 elements
|
||||
|
||||
quality
|
||||
0 total elements in mesh.
|
||||
|
||||
# END 2D 4 points not found -----------------------------
|
||||
## 3D that works --------------------------------
|
||||
cmo delete mo
|
||||
Released Mesh Object: mo
|
||||
cmo create mo///tet
|
||||
createpts/xyz/2 2 2/0. 0. 0./1. 1. 1./1 1 1
|
||||
RZ GENERATED POINTS 1 TO 8
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
Warning: nelements = 0
|
||||
8 values reset for attribute imt1
|
||||
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
Warning: nelements = 0
|
||||
8 values reset for attribute itp1
|
||||
|
||||
connect
|
||||
Coordinates of enclosing tetrahedron are:
|
||||
-0.20000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 -0.75000D+00 0.42500D+01
|
||||
0.30000D+01 -0.75000D+00 -0.75000D+00
|
||||
0.50000D+00 0.42500D+01 0.50000D+00
|
||||
|
||||
Successfully eliminated all multimaterial connections.
|
||||
|
||||
The mesh is now complete!
|
||||
|
||||
LaGriT FINISH: connect
|
||||
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 3.8459254E-13 5.6885628E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 6
|
||||
min aspect ratio = 0.6230E+00 max aspect ratio = 0.7321E+00
|
||||
|
||||
epsilonvol: 2.2204460E-13
|
||||
---------------------------------------
|
||||
All elements have volume 1.6666667E-01
|
||||
-----------------------------------------------------------
|
||||
6 total elements evaluated.
|
||||
|
||||
## END 3D that works ----------------------------
|
||||
## 3D 1 point --------------------------------
|
||||
cmo delete mo
|
||||
Released Mesh Object: mo
|
||||
cmo create mo///tet
|
||||
createpts/xyz/1 1 1/0. 0. 0./0. 0. 0./1 1 1
|
||||
RZ GENERATED POINTS 1 TO 1
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
Warning: nelements = 0
|
||||
1 values reset for attribute imt1
|
||||
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
Warning: nelements = 0
|
||||
1 values reset for attribute itp1
|
||||
|
||||
connect
|
||||
|
||||
ERROR: connect
|
||||
connect > invalid number of nodes: 1
|
||||
connect > ending with ierr1 flag: 1
|
||||
ERROR END COUNT: 1 for connect
|
||||
|
||||
LaGriT WARNING: connect returned error: 1
|
||||
|
||||
quality
|
||||
0 total elements in mesh.
|
||||
|
||||
## END 3D 1 point --------------------------------
|
||||
## 3D 8 points duplicate --------------------------------
|
||||
cmo delete mo
|
||||
Released Mesh Object: mo
|
||||
cmo create mo///tet
|
||||
createpts/xyz/2 2 2/0. 0. 0./0. 0. 0./1 1 1
|
||||
RZ GENERATED POINTS 1 TO 8
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
Warning: nelements = 0
|
||||
8 values reset for attribute imt1
|
||||
|
||||
cmo/setatt/mo/itp/1 0 0/0
|
||||
Warning: nelements = 0
|
||||
8 values reset for attribute itp1
|
||||
|
||||
connect
|
||||
Coordinates of enclosing tetrahedron are:
|
||||
0.00000D+00 0.00000D+00 0.00000D+00
|
||||
0.00000D+00 0.00000D+00 0.00000D+00
|
||||
0.00000D+00 0.00000D+00 0.00000D+00
|
||||
0.00000D+00 0.00000D+00 0.00000D+00
|
||||
|
||||
There are 8 points that failed step 1
|
||||
1 2 3 4 5 6 7
|
||||
8
|
||||
|
||||
At step 1 0 Points failed volume ratio test
|
||||
|
||||
8 points failed min volume test.
|
||||
|
||||
There are 8 points that failed step 2
|
||||
1 2 3 4 5 6 7
|
||||
8
|
||||
|
||||
At step 2 0 Points failed volume ratio test
|
||||
|
||||
8 points failed min volume test.
|
||||
|
||||
There are 8 points that failed step 3
|
||||
1 2 3 4 5 6 7
|
||||
8
|
||||
|
||||
At step 3 0 Points failed volume ratio test
|
||||
|
||||
8 points failed min volume test.
|
||||
|
||||
There are 8 points that failed step 4
|
||||
1 2 3 4 5 6 7
|
||||
8
|
||||
|
||||
At step 4 0 Points failed volume ratio test
|
||||
|
||||
8 points failed min volume test.
|
||||
|
||||
There are 8 points that failed step 5
|
||||
1 2 3 4 5 6 7
|
||||
8
|
||||
|
||||
At step 5 0 Points failed volume ratio test
|
||||
|
||||
8 points failed min volume test.
|
||||
|
||||
8 points are being marked because they could not be connected.
|
||||
1 1 0.0000000E+00 0.0000000E+00 0.0000000E+00
|
||||
2 1 0.0000000E+00 0.0000000E+00 0.0000000E+00
|
||||
3 1 0.0000000E+00 0.0000000E+00 0.0000000E+00
|
||||
4 1 0.0000000E+00 0.0000000E+00 0.0000000E+00
|
||||
5 1 0.0000000E+00 0.0000000E+00 0.0000000E+00
|
||||
6 1 0.0000000E+00 0.0000000E+00 0.0000000E+00
|
||||
7 1 0.0000000E+00 0.0000000E+00 0.0000000E+00
|
||||
8 1 0.0000000E+00 0.0000000E+00 0.0000000E+00
|
||||
|
||||
Successfully eliminated all multimaterial connections.
|
||||
ERROR: delaunay
|
||||
> invalid number for element estimate: 0
|
||||
> exiting with error num: 1
|
||||
|
||||
ERROR END: delaunay
|
||||
|
||||
Warning from: connect set info 0 elements
|
||||
|
||||
Dudding 8 points that have no associated tetrahedra.
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 1 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 1 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 2 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 2 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 3 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 3 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 4 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 4 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 5 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 5 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 6 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 6 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 7 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 7 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 8 1
|
||||
0.0000000E+00 0.0000000E+00 0.0000000E+00 8 1
|
||||
|
||||
The mesh is complete but could not include all points.
|
||||
Number of points that could not be connected: 8
|
||||
|
||||
LaGriT FINISH: connect
|
||||
|
||||
quality
|
||||
0 total elements in mesh.
|
||||
|
||||
## END 3D 8 points duplicate --------------------------------
|
||||
# CHECK bad cmo
|
||||
cmo delete mo
|
||||
Released Mesh Object: mo
|
||||
connect
|
||||
CMO_GET_INFO: Mesh Object does not exist: -notset-
|
||||
Error from: msgtty get_info nsdtopo
|
||||
CMO_GET_INFO: Mesh Object does not exist: -notset-
|
||||
Error from: msgtty get_info nsdgeom
|
||||
LaGriT ABORT: connect
|
||||
|
||||
ndimensions_topo= -1 ndimensions_geom= -1 not consistent - connect will not work
|
||||
LaGriT ABORT: connect
|
||||
|
||||
error in command : connect
|
||||
# CHECK empty cmo
|
||||
cmo create mo
|
||||
connect
|
||||
|
||||
ERROR: connect
|
||||
connect > invalid number of nodes: 0
|
||||
connect > ending with ierr1 flag: 1
|
||||
ERROR END COUNT: 1 for connect
|
||||
|
||||
LaGriT WARNING: connect returned error: 1
|
||||
|
||||
# END ALL TESTS
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
60
test/level01/createpts/input.lgi
Executable file
@@ -0,0 +1,60 @@
|
||||
*TEST createpts/brick (lagrit_input_createbrick)
|
||||
* 3D and 2D
|
||||
*
|
||||
* Example to create a retangular grid that
|
||||
* captures the geometry of an interface in the
|
||||
* stair steps of a regular grid.
|
||||
*
|
||||
* Carl Gable 3/12/98
|
||||
*
|
||||
|
||||
****************************************************
|
||||
* Create and color a 3D brick mesh
|
||||
* Create a cmo with hexahedral storage arrays
|
||||
cmo/create/cmohex/ / / hex
|
||||
|
||||
* Define the exterior and a plane
|
||||
* Define the material regions
|
||||
surface/cube/reflect/box/0.0,0.0,0.0/1.0,1.0,1.0/
|
||||
surface/cutplane/intrface/plane/0.,0.,.1/1.,0.,.5/1.,1.,.8
|
||||
region/mattop/le cube and gt cutplane/
|
||||
region/matbot/le cube and le cutplane
|
||||
mregion/mattop/le cube and gt cutplane/
|
||||
mregion/matbot/le cube and lt cutplane
|
||||
|
||||
* Create a rectangular grid
|
||||
creatpts/brick/xyz/21,5,41/0.,0.,0./1.,1.,1./1 1 1
|
||||
*rzbrick/xyz/21,5,41/0.,0.,0./1.,1.,1./1 1 1
|
||||
|
||||
* Color the nodes according to the mregions
|
||||
setpts
|
||||
* Color the elements according to the mregions
|
||||
settets
|
||||
* Output the final grid
|
||||
dump/avs/output_createbrick.inp
|
||||
|
||||
* begin compare brick
|
||||
cmo/status/cmohex
|
||||
cmo/printatt/cmohex/-xyz-/minmax
|
||||
cmo/printatt/cmohex/imt1/minmax
|
||||
quality
|
||||
* end compare brick
|
||||
|
||||
****************************************************
|
||||
* Create a 2D quad mesh
|
||||
* rzbrick and createpts do not currently work in 2D
|
||||
* this is a substitute method that works
|
||||
cmo create cmoquad///quad
|
||||
quadxy 5 5/ 0. 0. 0. / 20. 0. 0./20. 20. 0. / 0. 20. 0.
|
||||
rzbrick/xyz/5,5,1/1,0,0/connect
|
||||
dump avs output_quad.inp cmoquad
|
||||
|
||||
* begin compare quad
|
||||
cmo/status/cmoquad
|
||||
cmo/printatt/cmoquad/-xyz-/minmax
|
||||
quality
|
||||
* end compare quad
|
||||
|
||||
|
||||
finish
|
||||
|
||||
60
test/level01/createpts/reference/input.lgi
Executable file
@@ -0,0 +1,60 @@
|
||||
*TEST createpts/brick (lagrit_input_createbrick)
|
||||
* 3D and 2D
|
||||
*
|
||||
* Example to create a retangular grid that
|
||||
* captures the geometry of an interface in the
|
||||
* stair steps of a regular grid.
|
||||
*
|
||||
* Carl Gable 3/12/98
|
||||
*
|
||||
|
||||
****************************************************
|
||||
* Create and color a 3D brick mesh
|
||||
* Create a cmo with hexahedral storage arrays
|
||||
cmo/create/cmohex/ / / hex
|
||||
|
||||
* Define the exterior and a plane
|
||||
* Define the material regions
|
||||
surface/cube/reflect/box/0.0,0.0,0.0/1.0,1.0,1.0/
|
||||
surface/cutplane/intrface/plane/0.,0.,.1/1.,0.,.5/1.,1.,.8
|
||||
region/mattop/le cube and gt cutplane/
|
||||
region/matbot/le cube and le cutplane
|
||||
mregion/mattop/le cube and gt cutplane/
|
||||
mregion/matbot/le cube and lt cutplane
|
||||
|
||||
* Create a rectangular grid
|
||||
creatpts/brick/xyz/21,5,41/0.,0.,0./1.,1.,1./1 1 1
|
||||
*rzbrick/xyz/21,5,41/0.,0.,0./1.,1.,1./1 1 1
|
||||
|
||||
* Color the nodes according to the mregions
|
||||
setpts
|
||||
* Color the elements according to the mregions
|
||||
settets
|
||||
* Output the final grid
|
||||
dump/avs/output_createbrick.inp
|
||||
|
||||
* begin compare brick
|
||||
cmo/status/cmohex
|
||||
cmo/printatt/cmohex/-xyz-/minmax
|
||||
cmo/printatt/cmohex/imt1/minmax
|
||||
quality
|
||||
* end compare brick
|
||||
|
||||
****************************************************
|
||||
* Create a 2D quad mesh
|
||||
* rzbrick and createpts do not currently work in 2D
|
||||
* this is a substitute method that works
|
||||
cmo create cmoquad///quad
|
||||
quadxy 5 5/ 0. 0. 0. / 20. 0. 0./20. 20. 0. / 0. 20. 0.
|
||||
rzbrick/xyz/5,5,1/1,0,0/connect
|
||||
dump avs output_quad.inp cmoquad
|
||||
|
||||
* begin compare quad
|
||||
cmo/status/cmoquad
|
||||
cmo/printatt/cmoquad/-xyz-/minmax
|
||||
quality
|
||||
* end compare quad
|
||||
|
||||
|
||||
finish
|
||||
|
||||
23
test/level01/createpts/reference/logx3dgen
Executable file
@@ -0,0 +1,23 @@
|
||||
cmo/create/cmohex///hex
|
||||
surface/cube/reflect/box/0.0,0.0,0.0/1.0,1.0,1.0/
|
||||
surface/cutplane/intrface/plane/0.,0.,.1/1.,0.,.5/1.,1.,.8
|
||||
region/mattop/le cube and gt cutplane/
|
||||
region/matbot/le cube and le cutplane
|
||||
mregion/mattop/le cube and gt cutplane/
|
||||
mregion/matbot/le cube and lt cutplane
|
||||
creatpts/brick/xyz/21,5,41/0.,0.,0./1.,1.,1./1 1 1
|
||||
setpts
|
||||
settets
|
||||
dump/avs/output_createbrick.inp
|
||||
cmo/status/cmohex
|
||||
cmo/printatt/cmohex/-xyz-/minmax
|
||||
cmo/printatt/cmohex/imt1/minmax
|
||||
quality
|
||||
cmo create cmoquad///quad
|
||||
quadxy 5 5/0. 0. 0./20. 0. 0./20. 20. 0./0. 20. 0.
|
||||
rzbrick/xyz/5,5,1/1,0,0/connect
|
||||
dump avs output_quad.inp cmoquad
|
||||
cmo/status/cmoquad
|
||||
cmo/printatt/cmoquad/-xyz-/minmax
|
||||
quality
|
||||
finish
|
||||
11892
test/level01/createpts/reference/output_createbrick.inp
Normal file
72
test/level01/createpts/reference/output_quad.inp
Normal file
@@ -0,0 +1,72 @@
|
||||
25 16 4 0 0
|
||||
001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
002 5.000000000000E+00 0.000000000000E+00 0.000000000000E+00
|
||||
003 1.000000000000E+01 0.000000000000E+00 0.000000000000E+00
|
||||
004 1.500000000000E+01 0.000000000000E+00 0.000000000000E+00
|
||||
005 2.000000000000E+01 0.000000000000E+00 0.000000000000E+00
|
||||
006 0.000000000000E+00 5.000000000000E+00 0.000000000000E+00
|
||||
007 5.000000000000E+00 5.000000000000E+00 0.000000000000E+00
|
||||
008 1.000000000000E+01 5.000000000000E+00 0.000000000000E+00
|
||||
009 1.500000000000E+01 5.000000000000E+00 0.000000000000E+00
|
||||
010 2.000000000000E+01 5.000000000000E+00 0.000000000000E+00
|
||||
011 0.000000000000E+00 1.000000000000E+01 0.000000000000E+00
|
||||
012 5.000000000000E+00 1.000000000000E+01 0.000000000000E+00
|
||||
013 1.000000000000E+01 1.000000000000E+01 0.000000000000E+00
|
||||
014 1.500000000000E+01 1.000000000000E+01 0.000000000000E+00
|
||||
015 2.000000000000E+01 1.000000000000E+01 0.000000000000E+00
|
||||
016 0.000000000000E+00 1.500000000000E+01 0.000000000000E+00
|
||||
017 5.000000000000E+00 1.500000000000E+01 0.000000000000E+00
|
||||
018 1.000000000000E+01 1.500000000000E+01 0.000000000000E+00
|
||||
019 1.500000000000E+01 1.500000000000E+01 0.000000000000E+00
|
||||
020 2.000000000000E+01 1.500000000000E+01 0.000000000000E+00
|
||||
021 0.000000000000E+00 2.000000000000E+01 0.000000000000E+00
|
||||
022 5.000000000000E+00 2.000000000000E+01 0.000000000000E+00
|
||||
023 1.000000000000E+01 2.000000000000E+01 0.000000000000E+00
|
||||
024 1.500000000000E+01 2.000000000000E+01 0.000000000000E+00
|
||||
025 2.000000000000E+01 2.000000000000E+01 0.000000000000E+00
|
||||
001 1 quad 1 2 7 6
|
||||
002 1 quad 2 3 8 7
|
||||
003 1 quad 3 4 9 8
|
||||
004 1 quad 4 5 10 9
|
||||
005 1 quad 6 7 12 11
|
||||
006 1 quad 7 8 13 12
|
||||
007 1 quad 8 9 14 13
|
||||
008 1 quad 9 10 15 14
|
||||
009 1 quad 11 12 17 16
|
||||
010 1 quad 12 13 18 17
|
||||
011 1 quad 13 14 19 18
|
||||
012 1 quad 14 15 20 19
|
||||
013 1 quad 16 17 22 21
|
||||
014 1 quad 17 18 23 22
|
||||
015 1 quad 18 19 24 23
|
||||
016 1 quad 19 20 25 24
|
||||
00004 1 1 1 1
|
||||
imt1, integer
|
||||
itp1, integer
|
||||
icr1, integer
|
||||
isn1, integer
|
||||
1 0 0 0 0
|
||||
2 0 0 0 0
|
||||
3 0 0 0 0
|
||||
4 0 0 0 0
|
||||
5 0 0 0 0
|
||||
6 0 0 0 0
|
||||
7 0 0 0 0
|
||||
8 0 0 0 0
|
||||
9 0 0 0 0
|
||||
10 0 0 0 0
|
||||
11 0 0 0 0
|
||||
12 0 0 0 0
|
||||
13 0 0 0 0
|
||||
14 0 0 0 0
|
||||
15 0 0 0 0
|
||||
16 0 0 0 0
|
||||
17 0 0 0 0
|
||||
18 0 0 0 0
|
||||
19 0 0 0 0
|
||||
20 0 0 0 0
|
||||
21 0 0 0 0
|
||||
22 0 0 0 0
|
||||
23 0 0 0 0
|
||||
24 0 0 0 0
|
||||
25 0 0 0 0
|
||||
380
test/level01/createpts/reference/outx3dgen
Executable file
@@ -0,0 +1,380 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.330 Linux *
|
||||
* * date_compile: 2021/10/15 test *
|
||||
* * Run Time: 2021/Nov 4 14:38:12 *
|
||||
* * 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 createpts/brick (lagrit_input_createbrick)
|
||||
* 3D and 2D
|
||||
*
|
||||
* Example to create a retangular grid that
|
||||
* captures the geometry of an interface in the
|
||||
* stair steps of a regular grid.
|
||||
*
|
||||
* Carl Gable 3/12/98
|
||||
*
|
||||
****************************************************
|
||||
* Create and color a 3D brick mesh
|
||||
* Create a cmo with hexahedral storage arrays
|
||||
cmo/create/cmohex///hex
|
||||
* Define the exterior and a plane
|
||||
* Define the material regions
|
||||
surface/cube/reflect/box/0.0,0.0,0.0/1.0,1.0,1.0/
|
||||
cmo/addatt//ncon50/INT/scalar/scalar/constant/permanent/l/0
|
||||
finish
|
||||
cmo/addatt//nconbnd/INT/scalar/scalar/constant/permanent/l/0
|
||||
finish
|
||||
cmo/addatt//icontab/VINT/scalar/ncon50/constant/permanent/l/0.0
|
||||
finish
|
||||
surface/cutplane/intrface/plane/0.,0.,.1/1.,0.,.5/1.,1.,.8
|
||||
The unit vector for cutplane is -0.3577709i -0.2683282j 0.8944272k
|
||||
region/mattop/le cube and gt cutplane/
|
||||
region/matbot/le cube and le cutplane
|
||||
mregion/mattop/le cube and gt cutplane/
|
||||
mregion/matbot/le cube and lt cutplane
|
||||
* Create a rectangular grid
|
||||
creatpts/brick/xyz/21,5,41/0.,0.,0./1.,1.,1./1 1 1
|
||||
Number of nodes: 4305
|
||||
Number of elements: 3200
|
||||
Number of negative volume elements: 0
|
||||
Total volume: 0.100000000000E+01
|
||||
*rzbrick/xyz/21,5,41/0.,0.,0./1.,1.,1./1 1 1
|
||||
* Color the nodes according to the mregions
|
||||
setpts
|
||||
FOR icr 1 TYPE surface 1 0 0 THERE ARE 2082 POINTS
|
||||
FOR imt= 1 NAME= mattop THERE ARE 2350 POINTS
|
||||
FOR imt= 2 NAME= matbot THERE ARE 1930 POINTS
|
||||
FOR imt= 3 NAME= intrface THERE ARE 25 POINTS
|
||||
* Color the elements according to the mregions
|
||||
settets
|
||||
Interface node converted to interior 421
|
||||
Interface node converted to interior 1765
|
||||
Interface node converted to interior 2190
|
||||
Interface node converted to interior 2615
|
||||
Interface node converted to interior 3040
|
||||
Interface node converted to interior 3465
|
||||
Adding 38 interface-coupled points.
|
||||
Multimaterial tet: 321 itet= 421 422 443 442
|
||||
526 527 548 547
|
||||
Multimaterial tet: 322 itet= 422 423 444 443
|
||||
527 528 549 548
|
||||
Multimaterial tet: 401 itet= 526 527 548 547
|
||||
631 632 653 652
|
||||
Multimaterial tet: 402 itet= 527 528 549 548
|
||||
632 633 654 653
|
||||
Multimaterial tet: 403 itet= 528 529 550 549
|
||||
633 634 655 654
|
||||
Multimaterial tet: 481 itet= 631 632 653 652
|
||||
736 737 758 4307
|
||||
Multimaterial tet: 482 itet= 632 633 654 653
|
||||
737 738 759 758
|
||||
Multimaterial tet: 483 itet= 633 634 655 654
|
||||
738 739 760 759
|
||||
Multimaterial tet: 484 itet= 634 635 656 655
|
||||
739 740 761 760
|
||||
Multimaterial tet: 561 itet= 736 737 758 4307
|
||||
841 842 863 862
|
||||
Multimaterial tet: 562 itet= 737 738 759 758
|
||||
842 843 864 863
|
||||
Multimaterial tet: 563 itet= 738 739 760 759
|
||||
843 844 865 864
|
||||
Multimaterial tet: 564 itet= 739 740 761 760
|
||||
844 845 866 865
|
||||
Multimaterial tet: 565 itet= 740 741 762 761
|
||||
845 4308 867 866
|
||||
Multimaterial tet: 581 itet= 4306 758 779 778
|
||||
862 863 884 883
|
||||
Multimaterial tet: 582 itet= 758 759 780 779
|
||||
863 864 885 884
|
||||
Multimaterial tet: 642 itet= 842 843 864 863
|
||||
947 948 969 968
|
||||
Multimaterial tet: 643 itet= 843 844 865 864
|
||||
948 949 970 969
|
||||
Multimaterial tet: 644 itet= 844 845 866 865
|
||||
949 950 971 970
|
||||
Multimaterial tet: 645 itet= 845 4309 867 866
|
||||
950 951 972 971
|
||||
Multimaterial tet: 646 itet= 4308 847 868 867
|
||||
951 952 973 972
|
||||
Multimaterial tet: 647 itet= 847 848 869 868
|
||||
952 953 974 973
|
||||
Multimaterial tet: 661 itet= 862 863 884 883
|
||||
967 968 989 988
|
||||
Multimaterial tet: 662 itet= 863 864 885 884
|
||||
968 969 990 989
|
||||
Multimaterial tet: 663 itet= 864 865 886 885
|
||||
969 970 991 990
|
||||
Multimaterial tet: 723 itet= 948 949 970 969
|
||||
1053 1054 1075 1074
|
||||
Multimaterial tet: 724 itet= 949 950 971 970
|
||||
1054 1055 1076 1075
|
||||
Multimaterial tet: 725 itet= 950 951 972 971
|
||||
1055 1056 1077 1076
|
||||
Multimaterial tet: 726 itet= 951 952 973 972
|
||||
1056 1057 1078 1077
|
||||
Multimaterial tet: 727 itet= 952 953 974 973
|
||||
1057 1058 1079 1078
|
||||
|
||||
There are 368 multimaterial tets.
|
||||
* Output the final grid
|
||||
dump/avs/output_createbrick.inp
|
||||
|
||||
Second argument is not a filename. Trying to use default mesh object.
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
* begin compare brick
|
||||
cmo/status/cmohex
|
||||
|
||||
The current-mesh-object(CMO) is: cmohex
|
||||
|
||||
1 Mesh Object name: cmohex
|
||||
number of nodes = 4343 number of elements = 3200
|
||||
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 4.343E+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 3.200E+03
|
||||
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 3.846E-13
|
||||
35 epsilona REAL scalar scalar const perma l 6.661E-13
|
||||
36 epsilonv REAL scalar scalar const perma l 2.220E-13
|
||||
37 ipointi INT scalar scalar const perma l 4.306E+03
|
||||
38 ipointj INT scalar scalar const perma l 4.343E+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 0.000E+00
|
||||
54 xmax REAL scalar scalar const perma l 1.000E+00
|
||||
55 ymax REAL scalar scalar const perma l 1.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 ncon50 INT scalar scalar const perma l 2.500E+03
|
||||
67 nconbnd INT scalar scalar const perma l 1.000E+00
|
||||
68 icontab VINT scalar ncon50 const perma l 0.000E+00
|
||||
cmo/printatt/cmohex/-xyz-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+00 1.000000000E+00 4343
|
||||
yic 0.000000000E+00 1.000000000E+00 1.000000000E+00 4343
|
||||
zic 0.000000000E+00 1.000000000E+00 1.000000000E+00 4343
|
||||
|
||||
cmo/printatt/cmohex/imt1/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
imt1 1 2 1 4343
|
||||
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 3.8459254E-13 5.6885628E-38
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 3200
|
||||
min aspect ratio = 0.1000E+01 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 2.2204460E-13
|
||||
---------------------------------------
|
||||
All elements have volume 3.1250000E-04
|
||||
-----------------------------------------------------------
|
||||
3200 total elements evaluated.
|
||||
|
||||
* end compare brick
|
||||
****************************************************
|
||||
* Create a 2D quad mesh
|
||||
* rzbrick and createpts do not currently work in 2D
|
||||
* this is a substitute method that works
|
||||
cmo create cmoquad///quad
|
||||
quadxy 5 5/0. 0. 0./20. 0. 0./20. 20. 0./0. 20. 0.
|
||||
QUADXY GENERATED POINTS 1 TO 25
|
||||
rzbrick/xyz/5,5,1/1,0,0/connect
|
||||
Number of nodes: 25
|
||||
Number of elements: 16
|
||||
Number of negative volume elements: 0
|
||||
Total volume: 0.400000000000E+03
|
||||
dump avs output_quad.inp cmoquad
|
||||
cmo/modatt/-def-/-def-/ioflag/x
|
||||
finish
|
||||
* begin compare quad
|
||||
cmo/status/cmoquad
|
||||
|
||||
The current-mesh-object(CMO) is: cmoquad
|
||||
|
||||
2 Mesh Object name: cmoquad
|
||||
number of nodes = 25 number of elements = 16
|
||||
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+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.600E+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 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.000E-08
|
||||
35 epsilona REAL scalar scalar const perma l 1.000E-08
|
||||
36 epsilonv REAL scalar scalar const perma l 1.000E-08
|
||||
37 ipointi INT scalar scalar const perma l 2.000E+00
|
||||
38 ipointj INT scalar scalar const perma l 2.500E+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 -1.000E+00
|
||||
52 ymin REAL scalar scalar const perma l -1.000E+00
|
||||
53 zmin REAL scalar scalar const perma l -1.000E+00
|
||||
54 xmax REAL scalar scalar const perma l 1.000E+00
|
||||
55 ymax REAL scalar scalar const perma l 1.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
|
||||
cmo/printatt/cmoquad/-xyz-/minmax
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 2.000000000E+01 2.000000000E+01 25
|
||||
yic 0.000000000E+00 2.000000000E+01 2.000000000E+01 25
|
||||
zic 0.000000000E+00 0.000000000E+00 0.000000000E+00 25
|
||||
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 9.9999999E-09 9.9999998E-25
|
||||
--------------------------------------------
|
||||
elements with aspect ratio < .01: 0
|
||||
elements with aspect ratio b/w .01 and .02: 0
|
||||
elements with aspect ratio b/w .02 and .05: 0
|
||||
elements with aspect ratio b/w .05 and .1 : 0
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 0
|
||||
elements with aspect ratio b/w .5 and 1. : 16
|
||||
min aspect ratio = 0.1000E+01 max aspect ratio = 0.1000E+01
|
||||
|
||||
epsilonvol: 1.7763568E-10
|
||||
---------------------------------------
|
||||
All elements have volume 2.5000000E+01
|
||||
-----------------------------------------------------------
|
||||
16 total elements evaluated.
|
||||
|
||||
* end compare quad
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
48
test/level01/createpts_filter/input.lgi
Executable file
@@ -0,0 +1,48 @@
|
||||
# For a unit cell divided into PTS**3 sub-cells,
|
||||
# delta-x = 0.01 = distance between sub-cell centers
|
||||
# x_p = delta-x / 100 = 0.0001 = 1% perturbations
|
||||
# eps_1 = sqrt(3*x_p) = 0.000173 = max dist. from origin
|
||||
|
||||
define/XP/0.0001
|
||||
define/EPS1/0.00018
|
||||
define/PTS/101
|
||||
|
||||
cmo/create/mo1
|
||||
createpts/xyz/PTS,PTS,PTS/0.,0.,0./1.,1.,1./1,1,1/
|
||||
pset/po1/seq/0,0,0/
|
||||
cmo/setatt/mo1/imt/pset,get,po1/1
|
||||
|
||||
cmo/create/mo2
|
||||
createpts/xyz/PTS,PTS,PTS/0.,0.,0./1.,1.,1./1,1,1/
|
||||
pset/po2/seq/0,0,0/
|
||||
cmo/setatt/mo2/imt/pset,get,po2/2
|
||||
perturb/pset,get,po2/XP,XP,XP/
|
||||
|
||||
addmesh/merge/mfilter/mo1/mo2
|
||||
cmo/copy/mfilterkd/mfilter
|
||||
|
||||
cmo/select/mfilter
|
||||
filter/1 0 0/EPS1
|
||||
|
||||
cmo/select/mfilterkd
|
||||
filterkd/1 0 0/EPS1
|
||||
|
||||
cmo/printatt/mfilter/imt/minmax
|
||||
cmo/printatt/mfilter/-xyz-/minmax
|
||||
cmo/printatt/mfilterkd/imt/minmax
|
||||
cmo/printatt/mfilterkd/-xyz-/minmax
|
||||
|
||||
cmo/select/mfilter
|
||||
rmpoint/compress
|
||||
|
||||
cmo/select/mfilterkd
|
||||
rmpoint/compress
|
||||
|
||||
cmo/printatt/mfilter/imt/minmax
|
||||
cmo/printatt/mfilter/-xyz-/minmax
|
||||
cmo/printatt/mfilterkd/imt/minmax
|
||||
cmo/printatt/mfilterkd/-xyz-/minmax
|
||||
|
||||
finish
|
||||
|
||||
|
||||
48
test/level01/createpts_filter/reference/input.lgi
Executable file
@@ -0,0 +1,48 @@
|
||||
# For a unit cell divided into PTS**3 sub-cells,
|
||||
# delta-x = 0.01 = distance between sub-cell centers
|
||||
# x_p = delta-x / 100 = 0.0001 = 1% perturbations
|
||||
# eps_1 = sqrt(3*x_p) = 0.000173 = max dist. from origin
|
||||
|
||||
define/XP/0.0001
|
||||
define/EPS1/0.00018
|
||||
define/PTS/101
|
||||
|
||||
cmo/create/mo1
|
||||
createpts/xyz/PTS,PTS,PTS/0.,0.,0./1.,1.,1./1,1,1/
|
||||
pset/po1/seq/0,0,0/
|
||||
cmo/setatt/mo1/imt/pset,get,po1/1
|
||||
|
||||
cmo/create/mo2
|
||||
createpts/xyz/PTS,PTS,PTS/0.,0.,0./1.,1.,1./1,1,1/
|
||||
pset/po2/seq/0,0,0/
|
||||
cmo/setatt/mo2/imt/pset,get,po2/2
|
||||
perturb/pset,get,po2/XP,XP,XP/
|
||||
|
||||
addmesh/merge/mfilter/mo1/mo2
|
||||
cmo/copy/mfilterkd/mfilter
|
||||
|
||||
cmo/select/mfilter
|
||||
filter/1 0 0/EPS1
|
||||
|
||||
cmo/select/mfilterkd
|
||||
filterkd/1 0 0/EPS1
|
||||
|
||||
cmo/printatt/mfilter/imt/minmax
|
||||
cmo/printatt/mfilter/-xyz-/minmax
|
||||
cmo/printatt/mfilterkd/imt/minmax
|
||||
cmo/printatt/mfilterkd/-xyz-/minmax
|
||||
|
||||
cmo/select/mfilter
|
||||
rmpoint/compress
|
||||
|
||||
cmo/select/mfilterkd
|
||||
rmpoint/compress
|
||||
|
||||
cmo/printatt/mfilter/imt/minmax
|
||||
cmo/printatt/mfilter/-xyz-/minmax
|
||||
cmo/printatt/mfilterkd/imt/minmax
|
||||
cmo/printatt/mfilterkd/-xyz-/minmax
|
||||
|
||||
finish
|
||||
|
||||
|
||||
31
test/level01/createpts_filter/reference/logx3dgen
Executable file
@@ -0,0 +1,31 @@
|
||||
define/XP/0.0001
|
||||
define/EPS1/0.00018
|
||||
define/PTS/101
|
||||
cmo/create/mo1
|
||||
createpts/xyz/PTS,PTS,PTS/0.,0.,0./1.,1.,1./1,1,1/
|
||||
pset/po1/seq/0,0,0/
|
||||
cmo/setatt/mo1/imt/pset,get,po1/1
|
||||
cmo/create/mo2
|
||||
createpts/xyz/PTS,PTS,PTS/0.,0.,0./1.,1.,1./1,1,1/
|
||||
pset/po2/seq/0,0,0/
|
||||
cmo/setatt/mo2/imt/pset,get,po2/2
|
||||
perturb/pset,get,po2/XP,XP,XP/
|
||||
addmesh/merge/mfilter/mo1/mo2
|
||||
cmo/copy/mfilterkd/mfilter
|
||||
cmo/select/mfilter
|
||||
filter/1 0 0/EPS1
|
||||
cmo/select/mfilterkd
|
||||
filterkd/1 0 0/EPS1
|
||||
cmo/printatt/mfilter/imt/minmax
|
||||
cmo/printatt/mfilter/-xyz-/minmax
|
||||
cmo/printatt/mfilterkd/imt/minmax
|
||||
cmo/printatt/mfilterkd/-xyz-/minmax
|
||||
cmo/select/mfilter
|
||||
rmpoint/compress
|
||||
cmo/select/mfilterkd
|
||||
rmpoint/compress
|
||||
cmo/printatt/mfilter/imt/minmax
|
||||
cmo/printatt/mfilter/-xyz-/minmax
|
||||
cmo/printatt/mfilterkd/imt/minmax
|
||||
cmo/printatt/mfilterkd/-xyz-/minmax
|
||||
finish
|
||||
131
test/level01/createpts_filter/reference/outx3dgen
Executable file
@@ -0,0 +1,131 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.330 Linux *
|
||||
* * date_compile: 2021/10/15 test *
|
||||
* * Run Time: 2021/Nov 4 12:12:40 *
|
||||
* * 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
|
||||
|
||||
# For a unit cell divided into PTS**3 sub-cells,
|
||||
# delta-x = 0.01 = distance between sub-cell centers
|
||||
# x_p = delta-x / 100 = 0.0001 = 1% perturbations
|
||||
# eps_1 = sqrt(3*x_p) = 0.000173 = max dist. from origin
|
||||
define/XP/0.0001
|
||||
define/EPS1/0.00018
|
||||
define/PTS/101
|
||||
cmo/create/mo1
|
||||
createpts/xyz/PTS,PTS,PTS/0.,0.,0./1.,1.,1./1,1,1/
|
||||
RZ GENERATED POINTS 1 TO 1030301
|
||||
pset/po1/seq/0,0,0/
|
||||
|
||||
THE PSET po1 HAS 1030301 POINTS
|
||||
cmo/setatt/mo1/imt/pset,get,po1/1
|
||||
Warning: nelements = 0
|
||||
1030301 values reset for attribute imt1
|
||||
|
||||
cmo/create/mo2
|
||||
createpts/xyz/PTS,PTS,PTS/0.,0.,0./1.,1.,1./1,1,1/
|
||||
RZ GENERATED POINTS 1 TO 1030301
|
||||
pset/po2/seq/0,0,0/
|
||||
|
||||
THE PSET po2 HAS 1030301 POINTS
|
||||
cmo/setatt/mo2/imt/pset,get,po2/2
|
||||
Warning: nelements = 0
|
||||
1030301 values reset for attribute imt1
|
||||
|
||||
perturb/pset,get,po2/XP,XP,XP/
|
||||
perturb mo2
|
||||
nodes in indexed point set = 1030301
|
||||
|
||||
addmesh/merge/mfilter/mo1/mo2
|
||||
cmo/copy/mfilterkd/mfilter
|
||||
cmo/select/mfilter
|
||||
filter/1 0 0/EPS1
|
||||
FILTER:User specified value = 0.180000000000E-03
|
||||
FILTER:Dudding duplicate points: 1000817
|
||||
cmo/select/mfilterkd
|
||||
filterkd/1 0 0/EPS1
|
||||
FILTERKD:User specified value = 0.180000000000E-03
|
||||
FILTERKD:Dudding duplicate points: 1030301
|
||||
cmo/printatt/mfilter/imt/minmax
|
||||
Warning: nelements = 0
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
imt1 1 2 1 2060602
|
||||
|
||||
cmo/printatt/mfilter/-xyz-/minmax
|
||||
Warning: nelements = 0
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic -9.997697333E-05 1.000099994E+00 1.000199971E+00 2060602
|
||||
yic -9.998714873E-05 1.000099990E+00 1.000199977E+00 2060602
|
||||
zic -9.999705213E-05 1.000099992E+00 1.000199989E+00 2060602
|
||||
|
||||
cmo/printatt/mfilterkd/imt/minmax
|
||||
Warning: nelements = 0
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
imt1 1 1 0 2060602
|
||||
|
||||
cmo/printatt/mfilterkd/-xyz-/minmax
|
||||
Warning: nelements = 0
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+00 1.000000000E+00 2060602
|
||||
yic 0.000000000E+00 1.000000000E+00 1.000000000E+00 2060602
|
||||
zic 0.000000000E+00 1.000000000E+00 1.000000000E+00 2060602
|
||||
|
||||
cmo/select/mfilter
|
||||
rmpoint/compress
|
||||
1000817 points removed and 0 elements removed.
|
||||
RMPOINT: new point count is 1059785
|
||||
RMPOINT: new element count is 0
|
||||
cmo/select/mfilterkd
|
||||
rmpoint/compress
|
||||
1030301 points removed and 0 elements removed.
|
||||
RMPOINT: new point count is 1030301
|
||||
RMPOINT: new element count is 0
|
||||
cmo/printatt/mfilter/imt/minmax
|
||||
Warning: nelements = 0
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
imt1 1 2 1 1059785
|
||||
|
||||
cmo/printatt/mfilter/-xyz-/minmax
|
||||
Warning: nelements = 0
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic -9.997697333E-05 1.000099994E+00 1.000199971E+00 1059785
|
||||
yic -9.998714873E-05 1.000099990E+00 1.000199977E+00 1059785
|
||||
zic -9.999705213E-05 1.000099992E+00 1.000199989E+00 1059785
|
||||
|
||||
cmo/printatt/mfilterkd/imt/minmax
|
||||
Warning: nelements = 0
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
imt1 1 1 0 1030301
|
||||
|
||||
cmo/printatt/mfilterkd/-xyz-/minmax
|
||||
Warning: nelements = 0
|
||||
ATTRIBUTE NAME MIN MAX DIFFERENCE LENGTH
|
||||
xic 0.000000000E+00 1.000000000E+00 1.000000000E+00 1030301
|
||||
yic 0.000000000E+00 1.000000000E+00 1.000000000E+00 1030301
|
||||
zic 0.000000000E+00 1.000000000E+00 1.000000000E+00 1030301
|
||||
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
BIN
test/level01/eltset/.input.lgi.swp
Normal file
43
test/level01/eltset/input.lgi
Executable file
@@ -0,0 +1,43 @@
|
||||
# Test LaGriT
|
||||
# Create a new mesh along with some point sets.
|
||||
cmo / create / mo / / / hex
|
||||
createpts / brick / xyz / 11, 11, 11 / 0, 0, 0 / 10, 10, 10 / 1, 1, 1
|
||||
pset / pset1 / geom / rtp / 1 0 0 / 0, 0, 0 / 5, 360, 180 /
|
||||
pset / pset2 / geom / xyz / 1 0 0 / 7, 7, 7 / 10, 10, 10 /
|
||||
|
||||
eltset / eset1 / inclusive / pset get pset1 /
|
||||
eltset / / list
|
||||
|
||||
# Assign colors to the points and elements
|
||||
eltset / eset2 / inclusive / pset get pset2 /
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / imt / pset get pset1 / 2
|
||||
cmo / setatt / mo / imt / pset get pset2 / 3
|
||||
cmo / setatt / mo / itetclr / 1 0 0 / 1
|
||||
cmo / setatt / mo / itetclr / eltset get eset1 / 2
|
||||
cmo / setatt / mo / itetclr / eltset get eset2 / 3
|
||||
|
||||
dump / avs / output_mesh.inp / mo
|
||||
|
||||
# Test the list command.
|
||||
eltset / / list
|
||||
eltset / 0 / list
|
||||
eltset / -def- / list
|
||||
|
||||
# Verify that eltset only appends '.cellset' if it is not already present.
|
||||
eltset / eset1 / write / output_eset01
|
||||
eltset / eset2 / write / output_eset02.cellset
|
||||
|
||||
# Test various incantations of the [ascii|binary] option.
|
||||
eltset / eset1 / write / output_eset03 / ascii
|
||||
eltset / eset1 / write / output_eset04 / binary
|
||||
eltset / eset1 / write / output_eset05 /
|
||||
eltset / eset1 / write / output_eset06 / -def-
|
||||
eltset / eset1 / write / output_eset07
|
||||
|
||||
# Verify that -def-, -all-, and <blank> work properly as eltset names.
|
||||
eltset / -def- / write / output_eset08
|
||||
eltset / -all- / write / output_eset09
|
||||
eltset / / write / output_eset10
|
||||
|
||||
finish
|
||||
43
test/level01/eltset/reference/input.lgi
Executable file
@@ -0,0 +1,43 @@
|
||||
# Test LaGriT
|
||||
# Create a new mesh along with some point sets.
|
||||
cmo / create / mo / / / hex
|
||||
createpts / brick / xyz / 11, 11, 11 / 0, 0, 0 / 10, 10, 10 / 1, 1, 1
|
||||
pset / pset1 / geom / rtp / 1 0 0 / 0, 0, 0 / 5, 360, 180 /
|
||||
pset / pset2 / geom / xyz / 1 0 0 / 7, 7, 7 / 10, 10, 10 /
|
||||
|
||||
eltset / eset1 / inclusive / pset get pset1 /
|
||||
eltset / / list
|
||||
|
||||
# Assign colors to the points and elements
|
||||
eltset / eset2 / inclusive / pset get pset2 /
|
||||
cmo / setatt / mo / imt / 1 0 0 / 1
|
||||
cmo / setatt / mo / imt / pset get pset1 / 2
|
||||
cmo / setatt / mo / imt / pset get pset2 / 3
|
||||
cmo / setatt / mo / itetclr / 1 0 0 / 1
|
||||
cmo / setatt / mo / itetclr / eltset get eset1 / 2
|
||||
cmo / setatt / mo / itetclr / eltset get eset2 / 3
|
||||
|
||||
dump / avs / output_mesh.inp / mo
|
||||
|
||||
# Test the list command.
|
||||
eltset / / list
|
||||
eltset / 0 / list
|
||||
eltset / -def- / list
|
||||
|
||||
# Verify that eltset only appends '.cellset' if it is not already present.
|
||||
eltset / eset1 / write / output_eset01
|
||||
eltset / eset2 / write / output_eset02.cellset
|
||||
|
||||
# Test various incantations of the [ascii|binary] option.
|
||||
eltset / eset1 / write / output_eset03 / ascii
|
||||
eltset / eset1 / write / output_eset04 / binary
|
||||
eltset / eset1 / write / output_eset05 /
|
||||
eltset / eset1 / write / output_eset06 / -def-
|
||||
eltset / eset1 / write / output_eset07
|
||||
|
||||
# Verify that -def-, -all-, and <blank> work properly as eltset names.
|
||||
eltset / -def- / write / output_eset08
|
||||
eltset / -all- / write / output_eset09
|
||||
eltset / / write / output_eset10
|
||||
|
||||
finish
|
||||
28
test/level01/eltset/reference/logx3dgen
Executable file
@@ -0,0 +1,28 @@
|
||||
cmo/create/mo///hex
|
||||
createpts/brick/xyz/11,11,11/0,0,0/10,10,10/1,1,1
|
||||
pset/pset1/geom/rtp/1 0 0/0,0,0/5,360,180/
|
||||
pset/pset2/geom/xyz/1 0 0/7,7,7/10,10,10/
|
||||
eltset/eset1/inclusive/pset get pset1/
|
||||
eltset//list
|
||||
eltset/eset2/inclusive/pset get pset2/
|
||||
cmo/setatt/mo/imt/1 0 0/1
|
||||
cmo/setatt/mo/imt/pset get pset1/2
|
||||
cmo/setatt/mo/imt/pset get pset2/3
|
||||
cmo/setatt/mo/itetclr/1 0 0/1
|
||||
cmo/setatt/mo/itetclr/eltset get eset1/2
|
||||
cmo/setatt/mo/itetclr/eltset get eset2/3
|
||||
dump/avs/output_mesh.inp/mo
|
||||
eltset//list
|
||||
eltset/0/list
|
||||
eltset/-def-/list
|
||||
eltset/eset1/write/output_eset01
|
||||
eltset/eset2/write/output_eset02.cellset
|
||||
eltset/eset1/write/output_eset03/ascii
|
||||
eltset/eset1/write/output_eset04/binary
|
||||
eltset/eset1/write/output_eset05/
|
||||
eltset/eset1/write/output_eset06/-def-
|
||||
eltset/eset1/write/output_eset07
|
||||
eltset/-def-/write/output_eset08
|
||||
eltset/-all-/write/output_eset09
|
||||
eltset//write/output_eset10
|
||||
finish
|
||||
12
test/level01/eltset/reference/output_eset01.cellset
Normal file
@@ -0,0 +1,12 @@
|
||||
eltset ascii 1
|
||||
eset1 1 99
|
||||
1 2 3 4 5 6 11 12 13 14
|
||||
15 21 22 23 24 25 31 32 33 34
|
||||
35 41 42 43 44 51 101 102 103 104
|
||||
105 111 112 113 114 115 121 122 123 124
|
||||
125 131 132 133 134 141 142 143 201 202
|
||||
203 204 205 211 212 213 214 215 221 222
|
||||
223 224 225 231 232 233 234 241 242 243
|
||||
301 302 303 304 305 311 312 313 314 321
|
||||
322 323 324 331 332 333 341 401 402 403
|
||||
404 411 412 413 421 422 423 431 501
|
||||
9
test/level01/eltset/reference/output_eset02.cellset
Normal file
@@ -0,0 +1,9 @@
|
||||
eltset ascii 1
|
||||
eset2 2 64
|
||||
667 668 669 670 677 678 679 680 687 688
|
||||
689 690 697 698 699 700 767 768 769 770
|
||||
777 778 779 780 787 788 789 790 797 798
|
||||
799 800 867 868 869 870 877 878 879 880
|
||||
887 888 889 890 897 898 899 900 967 968
|
||||
969 970 977 978 979 980 987 988 989 990
|
||||
997 998 999 1000
|
||||
12
test/level01/eltset/reference/output_eset03.cellset
Normal file
@@ -0,0 +1,12 @@
|
||||
eltset ascii 1
|
||||
eset1 1 99
|
||||
1 2 3 4 5 6 11 12 13 14
|
||||
15 21 22 23 24 25 31 32 33 34
|
||||
35 41 42 43 44 51 101 102 103 104
|
||||
105 111 112 113 114 115 121 122 123 124
|
||||
125 131 132 133 134 141 142 143 201 202
|
||||
203 204 205 211 212 213 214 215 221 222
|
||||
223 224 225 231 232 233 234 241 242 243
|
||||
301 302 303 304 305 311 312 313 314 321
|
||||
322 323 324 331 332 333 341 401 402 403
|
||||
404 411 412 413 421 422 423 431 501
|
||||
BIN
test/level01/eltset/reference/output_eset04.cellset
Normal file
12
test/level01/eltset/reference/output_eset05.cellset
Normal file
@@ -0,0 +1,12 @@
|
||||
eltset ascii 1
|
||||
eset1 1 99
|
||||
1 2 3 4 5 6 11 12 13 14
|
||||
15 21 22 23 24 25 31 32 33 34
|
||||
35 41 42 43 44 51 101 102 103 104
|
||||
105 111 112 113 114 115 121 122 123 124
|
||||
125 131 132 133 134 141 142 143 201 202
|
||||
203 204 205 211 212 213 214 215 221 222
|
||||
223 224 225 231 232 233 234 241 242 243
|
||||
301 302 303 304 305 311 312 313 314 321
|
||||
322 323 324 331 332 333 341 401 402 403
|
||||
404 411 412 413 421 422 423 431 501
|
||||
12
test/level01/eltset/reference/output_eset06.cellset
Normal file
@@ -0,0 +1,12 @@
|
||||
eltset ascii 1
|
||||
eset1 1 99
|
||||
1 2 3 4 5 6 11 12 13 14
|
||||
15 21 22 23 24 25 31 32 33 34
|
||||
35 41 42 43 44 51 101 102 103 104
|
||||
105 111 112 113 114 115 121 122 123 124
|
||||
125 131 132 133 134 141 142 143 201 202
|
||||
203 204 205 211 212 213 214 215 221 222
|
||||
223 224 225 231 232 233 234 241 242 243
|
||||
301 302 303 304 305 311 312 313 314 321
|
||||
322 323 324 331 332 333 341 401 402 403
|
||||
404 411 412 413 421 422 423 431 501
|
||||
12
test/level01/eltset/reference/output_eset07.cellset
Normal file
@@ -0,0 +1,12 @@
|
||||
eltset ascii 1
|
||||
eset1 1 99
|
||||
1 2 3 4 5 6 11 12 13 14
|
||||
15 21 22 23 24 25 31 32 33 34
|
||||
35 41 42 43 44 51 101 102 103 104
|
||||
105 111 112 113 114 115 121 122 123 124
|
||||
125 131 132 133 134 141 142 143 201 202
|
||||
203 204 205 211 212 213 214 215 221 222
|
||||
223 224 225 231 232 233 234 241 242 243
|
||||
301 302 303 304 305 311 312 313 314 321
|
||||
322 323 324 331 332 333 341 401 402 403
|
||||
404 411 412 413 421 422 423 431 501
|
||||
12
test/level01/eltset/reference/output_eset08_eset1.cellset
Normal file
@@ -0,0 +1,12 @@
|
||||
eltset ascii 1
|
||||
eset1 1 99
|
||||
1 2 3 4 5 6 11 12 13 14
|
||||
15 21 22 23 24 25 31 32 33 34
|
||||
35 41 42 43 44 51 101 102 103 104
|
||||
105 111 112 113 114 115 121 122 123 124
|
||||
125 131 132 133 134 141 142 143 201 202
|
||||
203 204 205 211 212 213 214 215 221 222
|
||||
223 224 225 231 232 233 234 241 242 243
|
||||
301 302 303 304 305 311 312 313 314 321
|
||||
322 323 324 331 332 333 341 401 402 403
|
||||
404 411 412 413 421 422 423 431 501
|
||||
@@ -0,0 +1,9 @@
|
||||
eltset ascii 1
|
||||
eset2 2 64
|
||||
667 668 669 670 677 678 679 680 687 688
|
||||
689 690 697 698 699 700 767 768 769 770
|
||||
777 778 779 780 787 788 789 790 797 798
|
||||
799 800 867 868 869 870 877 878 879 880
|
||||
887 888 889 890 897 898 899 900 967 968
|
||||
969 970 977 978 979 980 987 988 989 990
|
||||
997 998 999 1000
|
||||