initial upload

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

View File

@@ -0,0 +1,27 @@
# new wrapper - attribute_union
# cmo/attribute_union / sink_mo_name / src_mo_name
# calls cmo_derive twice
# sometimes used when merging meshes
# cmo/attribute_union / sink_mo_name / src_mo_name
cmo / create / mesh1
createpts/brick/xyz/3,2,3/0.,0.,0./1.,1.,1./1,1,1
cmo / addatt / mesh1 / testatt1
cmo / addatt / mesh1 / csnlp / CHARACTER / scalar / nnodes / linear / permanent / agfl
cmo / addatt / mesh1 / cvnap / VCHAR / vector / scalar / asinh / temporary / agfl
cmo / addatt / mesh1 / ivnlp / VINT / vector / nelements / linear / permanent / agfl
cmo / create / mesh2
createpts/xyz/5,3,10/0.,2.,0./5.,6.,2./1,1,1/
connect
cmo / addatt / mesh2 / testatt2
cmo / addatt / mesh2 / rsecp / REAL / scalar / nelements / constant / permanent / agfl
cmo / addatt / mesh2 / rvnsp / VDOUBLE / vector / nnodes / sequence / permanent / agfl
cmo / addatt / mesh2 / isnmp / INT / scalar / max_number_sets / min / temporary / agfl
cmo / attribute_union / mesh1 / mesh2
cmo / status
finish

View File

@@ -0,0 +1,27 @@
# new wrapper - attribute_union
# cmo/attribute_union / sink_mo_name / src_mo_name
# calls cmo_derive twice
# sometimes used when merging meshes
# cmo/attribute_union / sink_mo_name / src_mo_name
cmo / create / mesh1
createpts/brick/xyz/3,2,3/0.,0.,0./1.,1.,1./1,1,1
cmo / addatt / mesh1 / testatt1
cmo / addatt / mesh1 / csnlp / CHARACTER / scalar / nnodes / linear / permanent / agfl
cmo / addatt / mesh1 / cvnap / VCHAR / vector / scalar / asinh / temporary / agfl
cmo / addatt / mesh1 / ivnlp / VINT / vector / nelements / linear / permanent / agfl
cmo / create / mesh2
createpts/xyz/5,3,10/0.,2.,0./5.,6.,2./1,1,1/
connect
cmo / addatt / mesh2 / testatt2
cmo / addatt / mesh2 / rsecp / REAL / scalar / nelements / constant / permanent / agfl
cmo / addatt / mesh2 / rvnsp / VDOUBLE / vector / nnodes / sequence / permanent / agfl
cmo / addatt / mesh2 / isnmp / INT / scalar / max_number_sets / min / temporary / agfl
cmo / attribute_union / mesh1 / mesh2
cmo / status
finish

View File

@@ -0,0 +1,16 @@
cmo/create/mesh1
createpts/brick/xyz/3,2,3/0.,0.,0./1.,1.,1./1,1,1
cmo/addatt/mesh1/testatt1
cmo/addatt/mesh1/csnlp/CHARACTER/scalar/nnodes/linear/permanent
cmo/addatt/mesh1/cvnap/VCHAR/vector/scalar/asinh/temporary/ag
cmo/addatt/mesh1/ivnlp/VINT/vector/nelements/linear/permanent/
cmo/create/mesh2
createpts/xyz/5,3,10/0.,2.,0./5.,6.,2./1,1,1/
connect
cmo/addatt/mesh2/testatt2
cmo/addatt/mesh2/rsecp/REAL/scalar/nelements/constant/permanent
cmo/addatt/mesh2/rvnsp/VDOUBLE/vector/nnodes/sequence/permanent
cmo/addatt/mesh2/isnmp/INT/scalar/max_number_sets/min/temporary
cmo/attribute_union/mesh1/mesh2
cmo/status
finish

View File

@@ -0,0 +1,253 @@
* * * * * * * * * * * * * * * * * * * * * * * * *
* * *
* * Program: LaGriT V3.330 Linux *
* * date_compile: 2021/10/15 test *
* * Run Time: 2021/Nov 23 12:26:25 *
* * 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
# new wrapper - attribute_union
# cmo/attribute_union / sink_mo_name / src_mo_name
# calls cmo_derive twice
# sometimes used when merging meshes
# cmo/attribute_union / sink_mo_name / src_mo_name
cmo/create/mesh1
createpts/brick/xyz/3,2,3/0.,0.,0./1.,1.,1./1,1,1
Number of nodes: 18
Number of elements: 4
Number of negative volume elements: 0
Total volume: 0.100000000000E+01
cmo/addatt/mesh1/testatt1
cmo/addatt/mesh1/csnlp/CHARACTER/scalar/nnodes/linear/permanent
cmo/addatt/mesh1/cvnap/VCHAR/vector/scalar/asinh/temporary/ag
cmo/addatt/mesh1/ivnlp/VINT/vector/nelements/linear/permanent/
cmo/create/mesh2
createpts/xyz/5,3,10/0.,2.,0./5.,6.,2./1,1,1/
RZ GENERATED POINTS 1 TO 150
connect
No materials associated with 150 noninterface points.
Coordinates of enclosing tetrahedron are:
-0.37500D+01 -0.10000D+01 -0.40000D+01
-0.37500D+01 0.19000D+02 0.10000D+01
-0.37500D+01 -0.10000D+01 0.60000D+01
0.21250D+02 0.40000D+01 0.10000D+01
Candidate connections that may cross boundaries = 545
Successfully eliminated all multimaterial connections.
The mesh is now complete!
LaGriT FINISH: connect
cmo/addatt/mesh2/testatt2
cmo/addatt/mesh2/rsecp/REAL/scalar/nelements/constant/permanent
cmo/addatt/mesh2/rvnsp/VDOUBLE/vector/nnodes/sequence/permanent
cmo/addatt/mesh2/isnmp/INT/scalar/max_number_sets/min/temporary
cmo/attribute_union/mesh1/mesh2
cmo/addatt/mesh1/testatt2/VDOUBLE/scalar/nnodes/linear/temporary/agltn
finish
cmo/addatt/mesh1/rsecp/REAL/scalar/nelements/constant/permanent/agltn
finish
cmo/addatt/mesh1/rvnsp/VDOUBLE/vector/nnodes/sequence/permanent/agltn
finish
cmo/addatt/mesh1/isnmp/INT/scalar/max_number_sets/min/temporary/agltn
finish
cmo/addatt/mesh2/testatt1/VDOUBLE/scalar/nnodes/linear/temporary/agltn
finish
cmo/addatt/mesh2/csnlp/CHARACTER/scalar/nnodes/linear/permanent/agltn
finish
cmo/addatt/mesh2/cvnap/VCHAR/vector/scalar/asinh/temporary/ag
finish
cmo/addatt/mesh2/ivnlp/VINT/vector/nelements/linear/permanent/agltn
finish
cmo/status
The current-mesh-object(CMO) is: mesh2
1 Mesh Object name: mesh1
number of nodes = 18 number of elements = 4
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 1.800E+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 4.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 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 1.000E+00
38 ipointj INT scalar scalar const perma l 1.800E+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 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 testatt1 VDOU scalar nnodes linea tempo agl 0.000E+00
67 csnlp CHAR scalar nnodes linea perma agl 1.
68 cvnap VCHA vector scalar asinh tempo ag 1.
69 ivnlp VINT vector nelements linea perma agl 0.000E+00
70 testatt2 VDOU scalar nnodes linea tempo agl 0.000E+00
71 rsecp REAL scalar nelements const perma agl 0.000E+00
72 rvnsp VDOU vector nnodes seque perma agl 0.000E+00
73 isnmp INT scalar max_number_sets min tempo agl 0.000E+00
2 Mesh Object name: mesh2
number of nodes = 150 number of elements = 419
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 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 1.500E+02
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.190E+02
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.490E-12
35 epsilona REAL scalar scalar const perma l 9.992E-12
36 epsilonv REAL scalar scalar const perma l 8.882E-12
37 ipointi INT scalar scalar const perma l 1.500E+02
38 ipointj INT scalar scalar const perma l 1.500E+02
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 2.000E+00
53 zmin REAL scalar scalar const perma l 0.000E+00
54 xmax REAL scalar scalar const perma l 5.000E+00
55 ymax REAL scalar scalar const perma l 6.000E+00
56 zmax REAL scalar scalar const perma l 2.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 testatt2 VDOU scalar nnodes linea tempo agl 0.000E+00
67 rsecp REAL scalar nelements const perma agl 0.000E+00
68 rvnsp VDOU vector nnodes seque perma agl 0.000E+00
69 isnmp INT scalar max_number_sets min tempo agl 0.000E+00
70 testatt1 VDOU scalar nnodes linea tempo agl 0.000E+00
71 csnlp CHAR scalar nnodes linea perma agl 2.
72 cvnap VCHA vector scalar asinh tempo ag 2.
73 ivnlp VINT vector nelements linea perma agl 0.000E+00
finish
LaGriT successfully completed