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,16 @@
# Test the rotateln command. This test was written in the process of tracking
# down a bug where part of the point distribution would rotate in one direction
# and the other part would rotate in the opposite direction. This test should
# work now although it did not work before this bug was fixed.
# Create a cube of points and rotate it 90 degrees about the z-axis.
define / SIZE / 10.0
cmo / create / mo01 / / / hex
createpts / xyz / 2, 2, 10 / 0, 0, 0 / SIZE, SIZE, SIZE / 1 1 1
rotateln / 1 0 0 / nocopy / 0 0 0 / 0 0 5 / 90 / 0, 0, 0
# dump / output_test01.gmv / mo01
dump / output_test01.inp / mo01
finish

View File

@@ -0,0 +1,6 @@
define/SIZE/10.0
cmo/create/mo01///hex
createpts/xyz/2,2,10/0,0,0/SIZE,SIZE,SIZE/1 1 1
rotateln/1 0 0/nocopy/0 0 0/0 0 5/90/0,0,0
dump/output_test01.inp/mo01
finish

View File

@@ -0,0 +1,86 @@
40 0 4 0 0
001 0.000000000000E+00 0.000000000000E+00 0.000000000000E+00
002 6.123233995737E-16 1.000000000000E+01 0.000000000000E+00
003 -1.000000000000E+01 6.123233995737E-16 0.000000000000E+00
004 -1.000000000000E+01 1.000000000000E+01 0.000000000000E+00
005 0.000000000000E+00 0.000000000000E+00 1.111111111111E+00
006 6.123233995737E-16 1.000000000000E+01 1.111111111111E+00
007 -1.000000000000E+01 6.123233995737E-16 1.111111111111E+00
008 -1.000000000000E+01 1.000000000000E+01 1.111111111111E+00
009 0.000000000000E+00 0.000000000000E+00 2.222222222222E+00
010 6.123233995737E-16 1.000000000000E+01 2.222222222222E+00
011 -1.000000000000E+01 6.123233995737E-16 2.222222222222E+00
012 -1.000000000000E+01 1.000000000000E+01 2.222222222222E+00
013 0.000000000000E+00 0.000000000000E+00 3.333333333333E+00
014 6.123233995737E-16 1.000000000000E+01 3.333333333333E+00
015 -1.000000000000E+01 6.123233995737E-16 3.333333333333E+00
016 -1.000000000000E+01 1.000000000000E+01 3.333333333333E+00
017 0.000000000000E+00 0.000000000000E+00 4.444444444444E+00
018 6.123233995737E-16 1.000000000000E+01 4.444444444444E+00
019 -1.000000000000E+01 6.123233995737E-16 4.444444444444E+00
020 -1.000000000000E+01 1.000000000000E+01 4.444444444444E+00
021 0.000000000000E+00 0.000000000000E+00 5.555555555556E+00
022 6.123233995737E-16 1.000000000000E+01 5.555555555556E+00
023 -1.000000000000E+01 6.123233995737E-16 5.555555555556E+00
024 -1.000000000000E+01 1.000000000000E+01 5.555555555556E+00
025 0.000000000000E+00 0.000000000000E+00 6.666666666667E+00
026 6.123233995737E-16 1.000000000000E+01 6.666666666667E+00
027 -1.000000000000E+01 6.123233995737E-16 6.666666666667E+00
028 -1.000000000000E+01 1.000000000000E+01 6.666666666667E+00
029 0.000000000000E+00 0.000000000000E+00 7.777777777778E+00
030 6.123233995737E-16 1.000000000000E+01 7.777777777778E+00
031 -1.000000000000E+01 6.123233995737E-16 7.777777777778E+00
032 -1.000000000000E+01 1.000000000000E+01 7.777777777778E+00
033 0.000000000000E+00 0.000000000000E+00 8.888888888889E+00
034 6.123233995737E-16 1.000000000000E+01 8.888888888889E+00
035 -1.000000000000E+01 6.123233995737E-16 8.888888888889E+00
036 -1.000000000000E+01 1.000000000000E+01 8.888888888889E+00
037 0.000000000000E+00 0.000000000000E+00 1.000000000000E+01
038 6.123233995737E-16 1.000000000000E+01 1.000000000000E+01
039 -1.000000000000E+01 6.123233995737E-16 1.000000000000E+01
040 -1.000000000000E+01 1.000000000000E+01 1.000000000000E+01
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
26 0 0 0 0
27 0 0 0 0
28 0 0 0 0
29 0 0 0 0
30 0 0 0 0
31 0 0 0 0
32 0 0 0 0
33 0 0 0 0
34 0 0 0 0
35 0 0 0 0
36 0 0 0 0
37 0 0 0 0
38 0 0 0 0
39 0 0 0 0
40 0 0 0 0

View File

@@ -0,0 +1,48 @@
* * * * * * * * * * * * * * * * * * * * * * * * *
* * *
* * Program: LaGriT V3.330 Linux *
* * date_compile: 2021/10/15 test *
* * Run Time: 2021/Nov 9 10:36:32 *
* * 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 the rotateln command. This test was written in the process of tracking
# down a bug where part of the point distribution would rotate in one direction
# and the other part would rotate in the opposite direction. This test should
# work now although it did not work before this bug was fixed.
# Create a cube of points and rotate it 90 degrees about the z-axis.
define/SIZE/10.0
cmo/create/mo01///hex
createpts/xyz/2,2,10/0,0,0/SIZE,SIZE,SIZE/1 1 1
RZ GENERATED POINTS 1 TO 40
rotateln/1 0 0/nocopy/0 0 0/0 0 5/90/0,0,0
# dump / output_test01.gmv / mo01
dump/output_test01.inp/mo01
dump/avs/output_test01.inp/mo01
cmo/modatt/-def-/-def-/ioflag/x
finish
finish
finish
LaGriT successfully completed