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

37
test/level01/pset/input.lgi Executable file
View File

@@ -0,0 +1,37 @@
# Test pset
# multi-platform out files may differ from reference
# 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 /
# Assign colors to the points and elements so that we can see them in GMV.
cmo / setatt / mo / imt / 1 0 0 / 1
cmo / setatt / mo / imt / pset get pset1 / 2
cmo / setatt / mo / imt / pset get pset2 / 3
dump / avs / output_mesh_psets.inp / mo / 1 1 0 0
# Test the list command.
pset / / list
pset / 0 / list
pset / -def- / list
# Verify that pset only appends '.vertexset' if it is not already present.
pset / pset1 / write / out_pset01
pset / pset2 / write / out_pset02.vertexset
# Test various incantations of the [ascii|binary] option.
pset / pset1 / write / out_pset03 / ascii
pset / pset1 / write / out_pset04 / binary
pset / pset1 / write / out_pset05 /
pset / pset1 / write / out_pset06 / -def-
pset / pset1 / write / out_pset07
# Verify that -def-, -all-, and <blank> work properly as pset names.
pset / -def- / write / out_pset08
pset / -all- / write / out_pset09
pset / / write / out_pset10
finish

View File

@@ -0,0 +1,37 @@
# Test pset
# multi-platform out files may differ from reference
# 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 /
# Assign colors to the points and elements so that we can see them in GMV.
cmo / setatt / mo / imt / 1 0 0 / 1
cmo / setatt / mo / imt / pset get pset1 / 2
cmo / setatt / mo / imt / pset get pset2 / 3
dump / avs / output_mesh_psets.inp / mo / 1 1 0 0
# Test the list command.
pset / / list
pset / 0 / list
pset / -def- / list
# Verify that pset only appends '.vertexset' if it is not already present.
pset / pset1 / write / out_pset01
pset / pset2 / write / out_pset02.vertexset
# Test various incantations of the [ascii|binary] option.
pset / pset1 / write / out_pset03 / ascii
pset / pset1 / write / out_pset04 / binary
pset / pset1 / write / out_pset05 /
pset / pset1 / write / out_pset06 / -def-
pset / pset1 / write / out_pset07
# Verify that -def-, -all-, and <blank> work properly as pset names.
pset / -def- / write / out_pset08
pset / -all- / write / out_pset09
pset / / write / out_pset10
finish

View File

@@ -0,0 +1,22 @@
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/
cmo/setatt/mo/imt/1 0 0/1
cmo/setatt/mo/imt/pset get pset1/2
cmo/setatt/mo/imt/pset get pset2/3
dump/avs/output_mesh_psets.inp/mo/1 1 0 0
pset//list
pset/0/list
pset/-def-/list
pset/pset1/write/out_pset01
pset/pset2/write/out_pset02.vertexset
pset/pset1/write/out_pset03/ascii
pset/pset1/write/out_pset04/binary
pset/pset1/write/out_pset05/
pset/pset1/write/out_pset06/-def-
pset/pset1/write/out_pset07
pset/-def-/write/out_pset08
pset/-all-/write/out_pset09
pset//write/out_pset10
finish

View File

@@ -0,0 +1,12 @@
pset ascii 1
pset1 1 99
1 2 3 4 5 6 12 13 14 15
16 23 24 25 26 27 34 35 36 37
38 45 46 47 48 56 122 123 124 125
126 133 134 135 136 137 144 145 146 147
148 155 156 157 158 166 167 168 243 244
245 246 247 254 255 256 257 258 265 266
267 268 269 276 277 278 279 287 288 289
364 365 366 367 368 375 376 377 378 386
387 388 389 397 398 399 408 485 486 487
488 496 497 498 507 508 509 518 606

View File

@@ -0,0 +1,9 @@
pset ascii 1
pset2 2 64
932 933 934 935 943 944 945 946 954 955
956 957 965 966 967 968 1053 1054 1055 1056
1064 1065 1066 1067 1075 1076 1077 1078 1086 1087
1088 1089 1174 1175 1176 1177 1185 1186 1187 1188
1196 1197 1198 1199 1207 1208 1209 1210 1295 1296
1297 1298 1306 1307 1308 1309 1317 1318 1319 1320
1328 1329 1330 1331

View File

@@ -0,0 +1,12 @@
pset ascii 1
pset1 1 99
1 2 3 4 5 6 12 13 14 15
16 23 24 25 26 27 34 35 36 37
38 45 46 47 48 56 122 123 124 125
126 133 134 135 136 137 144 145 146 147
148 155 156 157 158 166 167 168 243 244
245 246 247 254 255 256 257 258 265 266
267 268 269 276 277 278 279 287 288 289
364 365 366 367 368 375 376 377 378 386
387 388 389 397 398 399 408 485 486 487
488 496 497 498 507 508 509 518 606

Binary file not shown.

View File

@@ -0,0 +1,12 @@
pset ascii 1
pset1 1 99
1 2 3 4 5 6 12 13 14 15
16 23 24 25 26 27 34 35 36 37
38 45 46 47 48 56 122 123 124 125
126 133 134 135 136 137 144 145 146 147
148 155 156 157 158 166 167 168 243 244
245 246 247 254 255 256 257 258 265 266
267 268 269 276 277 278 279 287 288 289
364 365 366 367 368 375 376 377 378 386
387 388 389 397 398 399 408 485 486 487
488 496 497 498 507 508 509 518 606

View File

@@ -0,0 +1,12 @@
pset ascii 1
pset1 1 99
1 2 3 4 5 6 12 13 14 15
16 23 24 25 26 27 34 35 36 37
38 45 46 47 48 56 122 123 124 125
126 133 134 135 136 137 144 145 146 147
148 155 156 157 158 166 167 168 243 244
245 246 247 254 255 256 257 258 265 266
267 268 269 276 277 278 279 287 288 289
364 365 366 367 368 375 376 377 378 386
387 388 389 397 398 399 408 485 486 487
488 496 497 498 507 508 509 518 606

View File

@@ -0,0 +1,12 @@
pset ascii 1
pset1 1 99
1 2 3 4 5 6 12 13 14 15
16 23 24 25 26 27 34 35 36 37
38 45 46 47 48 56 122 123 124 125
126 133 134 135 136 137 144 145 146 147
148 155 156 157 158 166 167 168 243 244
245 246 247 254 255 256 257 258 265 266
267 268 269 276 277 278 279 287 288 289
364 365 366 367 368 375 376 377 378 386
387 388 389 397 398 399 408 485 486 487
488 496 497 498 507 508 509 518 606

View File

@@ -0,0 +1,12 @@
pset ascii 1
pset1 1 99
1 2 3 4 5 6 12 13 14 15
16 23 24 25 26 27 34 35 36 37
38 45 46 47 48 56 122 123 124 125
126 133 134 135 136 137 144 145 146 147
148 155 156 157 158 166 167 168 243 244
245 246 247 254 255 256 257 258 265 266
267 268 269 276 277 278 279 287 288 289
364 365 366 367 368 375 376 377 378 386
387 388 389 397 398 399 408 485 486 487
488 496 497 498 507 508 509 518 606

View File

@@ -0,0 +1,9 @@
pset ascii 1
pset2 2 64
932 933 934 935 943 944 945 946 954 955
956 957 965 966 967 968 1053 1054 1055 1056
1064 1065 1066 1067 1075 1076 1077 1078 1086 1087
1088 1089 1174 1175 1176 1177 1185 1186 1187 1188
1196 1197 1198 1199 1207 1208 1209 1210 1295 1296
1297 1298 1306 1307 1308 1309 1317 1318 1319 1320
1328 1329 1330 1331

View File

@@ -0,0 +1,12 @@
pset ascii 1
pset1 1 99
1 2 3 4 5 6 12 13 14 15
16 23 24 25 26 27 34 35 36 37
38 45 46 47 48 56 122 123 124 125
126 133 134 135 136 137 144 145 146 147
148 155 156 157 158 166 167 168 243 244
245 246 247 254 255 256 257 258 265 266
267 268 269 276 277 278 279 287 288 289
364 365 366 367 368 375 376 377 378 386
387 388 389 397 398 399 408 485 486 487
488 496 497 498 507 508 509 518 606

View File

@@ -0,0 +1,9 @@
pset ascii 1
pset2 2 64
932 933 934 935 943 944 945 946 954 955
956 957 965 966 967 968 1053 1054 1055 1056
1064 1065 1066 1067 1075 1076 1077 1078 1086 1087
1088 1089 1174 1175 1176 1177 1185 1186 1187 1188
1196 1197 1198 1199 1207 1208 1209 1210 1295 1296
1297 1298 1306 1307 1308 1309 1317 1318 1319 1320
1328 1329 1330 1331

View File

@@ -0,0 +1,12 @@
pset ascii 1
pset1 1 99
1 2 3 4 5 6 12 13 14 15
16 23 24 25 26 27 34 35 36 37
38 45 46 47 48 56 122 123 124 125
126 133 134 135 136 137 144 145 146 147
148 155 156 157 158 166 167 168 243 244
245 246 247 254 255 256 257 258 265 266
267 268 269 276 277 278 279 287 288 289
364 365 366 367 368 375 376 377 378 386
387 388 389 397 398 399 408 485 486 487
488 496 497 498 507 508 509 518 606

View File

@@ -0,0 +1,9 @@
pset ascii 1
pset2 2 64
932 933 934 935 943 944 945 946 954 955
956 957 965 966 967 968 1053 1054 1055 1056
1064 1065 1066 1067 1075 1076 1077 1078 1086 1087
1088 1089 1174 1175 1176 1177 1185 1186 1187 1188
1196 1197 1198 1199 1207 1208 1209 1210 1295 1296
1297 1298 1306 1307 1308 1309 1317 1318 1319 1320
1328 1329 1330 1331

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,128 @@
* * * * * * * * * * * * * * * * * * * * * * * * *
* * *
* * Program: LaGriT V3.330 Linux *
* * date_compile: 2021/10/15 test *
* * Run Time: 2021/Nov 8 16:38: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
# Test pset
# multi-platform out files may differ from reference
# 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
Number of nodes: 1331
Number of elements: 1000
Number of negative volume elements: 0
Total volume: 0.100000000000E+04
pset/pset1/geom/rtp/1 0 0/0,0,0/5,360,180/
THE PSET pset1 HAS 99 POINTS
pset/pset2/geom/xyz/1 0 0/7,7,7/10,10,10/
THE PSET pset2 HAS 64 POINTS
# Assign colors to the points and elements so that we can see them in GMV.
cmo/setatt/mo/imt/1 0 0/1
1331 values reset for attribute imt1
cmo/setatt/mo/imt/pset get pset1/2
99 values reset for attribute imt1
cmo/setatt/mo/imt/pset get pset2/3
64 values reset for attribute imt1
dump/avs/output_mesh_psets.inp/mo/1 1 0 0
cmo/modatt/-def-/-def-/ioflag/x
finish
# Test the list command.
pset//list
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
pset/0/list
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
pset/-def-/list
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
# Verify that pset only appends '.vertexset' if it is not already present.
pset/pset1/write/out_pset01
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset1 1 PSETS TO FILE
pset/pset2/write/out_pset02.vertexset
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
PSET: OUTPUT pset2 1 PSETS TO FILE
# Test various incantations of the [ascii|binary] option.
pset/pset1/write/out_pset03/ascii
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset1 1 PSETS TO FILE
pset/pset1/write/out_pset04/binary
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset1 1 PSETS TO FILE
pset/pset1/write/out_pset05/
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset1 1 PSETS TO FILE
pset/pset1/write/out_pset06/-def-
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset1 1 PSETS TO FILE
pset/pset1/write/out_pset07
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset1 1 PSETS TO FILE
# Verify that -def-, -all-, and <blank> work properly as pset names.
pset/-def-/write/out_pset08
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset1 1 PSETS TO FILE
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset2 1 PSETS TO FILE
pset/-all-/write/out_pset09
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset1 1 PSETS TO FILE
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset2 1 PSETS TO FILE
pset//write/out_pset10
PSET: THERE ARE 2 PSETS DEFINED
pset1 pset2
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset1 1 PSETS TO FILE
PSET: Appended .vertexset to the file name
PSET: OUTPUT pset2 1 PSETS TO FILE
finish
LaGriT successfully completed