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,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

View 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

View 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

View 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

File diff suppressed because it is too large Load Diff

View 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.

View 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

View 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

View 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

View 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

View 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

View 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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff