initial upload
This commit is contained in:
11
test/level03/read_gocad/README
Normal file
11
test/level03/read_gocad/README
Normal file
@@ -0,0 +1,11 @@
|
||||
Most gocad examples have been moved to level01
|
||||
|
||||
This example file is not included in level01 tests.
|
||||
It is a 3D tet file with Z elevation normal (not depth).
|
||||
The routine reports neg volumes for this mesh file.
|
||||
|
||||
The mesh file may be at fault, it was derived from a JewelSuite export with depth.
|
||||
This example should be replaced and tested with a known good mesh file.
|
||||
input_2tets_Zelev.so
|
||||
|
||||
|
||||
37
test/level03/read_gocad/input_3tri_all_props.ts
Normal file
37
test/level03/read_gocad/input_3tri_all_props.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
GOCAD TSurf 1
|
||||
HEADER {
|
||||
name:Fault1
|
||||
*solid*color:0.501961 0 0 1
|
||||
}
|
||||
GOCAD_ORIGINAL_COORDINATE_SYSTEM
|
||||
NAME Default
|
||||
AXIS_NAME "X" "Y" "Z"
|
||||
AXIS_UNIT "m" "m" "m"
|
||||
ZPOSITIVE Elevation
|
||||
END_ORIGINAL_COORDINATE_SYSTEM
|
||||
GEOLOGICAL_TYPE fault
|
||||
PROPERTIES GaussianCurvature MeanCurvature K1 K2 K1_Plunge K1_Trend K2_Plunge K2_Trend FrameX_Trend FrameX_Plunge FrameZ_Trend FrameZ_Plunge Dip_Azim Dip_Angle FaultStrike
|
||||
ESIZES 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
|
||||
TRGL_PROPERTIES ZoneId
|
||||
TRGL_PROP_LEGAL_RANGES **none** **none**
|
||||
TRGL_NO_DATA_VALUES -999.25
|
||||
TRGL_PROPERTY_CLASSES ZoneId
|
||||
TRGL_PROPERTY_KINDS unknown
|
||||
TRGL_PROPERTY_SUBCLASSES QUANTITY Float
|
||||
TRGL_ESIZES 1
|
||||
TRGL_UNITS unitless
|
||||
TRGL_PROPERTY_CLASS_HEADER ZoneId{
|
||||
low_clip:1
|
||||
high_clip:2
|
||||
}
|
||||
TFACE
|
||||
PVRTX 1 465534.6194 5931401.282 -129.3047898 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 157.116 0 67.1159 -31.29 67.1159 58.71 337.116
|
||||
PVRTX 2 465538.213 5931392.781 -129.3047898 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 157.085 0 67.0847 -31.1531 67.0847 58.8469 337.085
|
||||
PVRTX 3 465539.8068 5931392.781 -131.7332567 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 156.821 0 66.8212 -31.3433 66.8212 58.6567 336.821
|
||||
PVRTX 4 465570.9632 5931423.783 -198.6034981 5.2568e-09 9.16428e-05 0.000147818 3.54676e-05 3.20692 248.354 58.3387 72.5396 156.729 0 66.7291 -31.3004 66.7291 58.6996 336.729
|
||||
PVRTX 5 465525.1194 5931423.783 -129.3047898 0.000259497 0.0292053 0.0535662 0.00484441 31.4901 246.691 58.4855 64.1866 157.242 0 67.2425 -31.3847 67.2425 58.6153 337.242
|
||||
PVRTX 6 465570.9632 5931423.783 -198.6034981 0.000259497 0.0292053 0.0535662 0.00484441 31.4901 246.691 58.4855 64.1866 157.11 0 67.1097 -31.3599 67.1097 58.6401 337.11
|
||||
TRGL 1 2 3 1
|
||||
TRGL 3 4 1 2
|
||||
TRGL 5 1 6 3
|
||||
END
|
||||
25
test/level03/read_gocad/input_3tri_node_props.ts
Normal file
25
test/level03/read_gocad/input_3tri_node_props.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
GOCAD TSurf 1
|
||||
HEADER {
|
||||
name:Fault1
|
||||
*solid*color:0.501961 0 0 1
|
||||
}
|
||||
GOCAD_ORIGINAL_COORDINATE_SYSTEM
|
||||
NAME Default
|
||||
AXIS_NAME "X" "Y" "Z"
|
||||
AXIS_UNIT "m" "m" "m"
|
||||
ZPOSITIVE Elevation
|
||||
END_ORIGINAL_COORDINATE_SYSTEM
|
||||
GEOLOGICAL_TYPE fault
|
||||
PROPERTIES GaussianCurvature MeanCurvature K1 K2 K1_Plunge K1_Trend K2_Plunge K2_Trend FrameX_Trend FrameX_Plunge FrameZ_Trend FrameZ_Plunge Dip_Azim Dip_Angle FaultStrike_with_very_long_name_test
|
||||
ESIZES 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
|
||||
TFACE
|
||||
PVRTX 1 465534.6194 5931401.282 -129.3047898 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 157.116 0 67.1159 -31.29 67.1159 58.71 337.116
|
||||
PVRTX 2 465538.213 5931392.781 -129.3047898 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 157.085 0 67.0847 -31.1531 67.0847 58.8469 337.085
|
||||
PVRTX 3 465539.8068 5931392.781 -131.7332567 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 1e+38 156.821 0 66.8212 -31.3433 66.8212 58.6567 336.821
|
||||
PVRTX 4 465570.9632 5931423.783 -198.6034981 5.2568e-09 9.16428e-05 0.000147818 3.54676e-05 3.20692 248.354 58.3387 72.5396 156.729 0 66.7291 -31.3004 66.7291 58.6996 336.729
|
||||
PVRTX 5 465525.1194 5931423.783 -129.3047898 0.000259497 0.0292053 0.0535662 0.00484441 31.4901 246.691 58.4855 64.1866 157.242 0 67.2425 -31.3847 67.2425 58.6153 337.242
|
||||
PVRTX 6 465570.9632 5931423.783 -198.6034981 0.000259497 0.0292053 0.0535662 0.00484441 31.4901 246.691 58.4855 64.1866 157.11 0 67.1097 -31.3599 67.1097 58.6401 337.11
|
||||
TRGL 1 2 3
|
||||
TRGL 3 4 1
|
||||
TRGL 5 1 6
|
||||
END
|
||||
74
test/level03/read_gocad/input_small_TFACE.ts
Normal file
74
test/level03/read_gocad/input_small_TFACE.ts
Normal file
@@ -0,0 +1,74 @@
|
||||
GOCAD TSurf 1
|
||||
HEADER {
|
||||
name:test_ts_format
|
||||
*solid*color:0.588235 0.321569 0.176471 1
|
||||
#GEOLOGICAL_TYPE (one of: boundary, top, fault, unconformity, intrusive, topographic)
|
||||
# STRATIGRAPHIC_POSITION age_name age_time
|
||||
PROPERTY_CLASS_HEADER vector3d {
|
||||
*pclip:99
|
||||
*colormap:flag
|
||||
*field:2
|
||||
*low_clip:-0.999255
|
||||
*high_clip:0.964577
|
||||
*colormap*contrast:0.5
|
||||
*scale_function:linear
|
||||
*colormap*transparency_min:0.4
|
||||
*colormap*transparency:true
|
||||
*colormap*alphas:0 1 1 1 2 1 3 1 4
|
||||
*colormap**colors:0 0 0 1 1 0.0078125 0.0078125 1 2 0.015625 0.015625 1 3 0.0234375 0.0234375 1 4 0.03125 0.03125 1 5 0.0390625 0.0390625 1 6 0.046875 0.046875 1 7 0.0546875 0.0546875 1 8 0.0625 0.0625 1 9 0.0703125 0.0703125
|
||||
6 247 1 0.0629926 0.0629926 248 1 0.0551186 0.0551186 249 1 0.0472445 0.0472445 250 1 0.0393705 0.0393705 251 1 0.0314965 0.0314965 252 1 0.0236225 0.0236225 253 1 0.0157485 0.0157485 254 1 0.00787446 0.00787446 255 1 0 0
|
||||
*cnp:false
|
||||
*cnp*colormap_use:false
|
||||
*colormap*reverse:false
|
||||
*colormap*nbcolors:64
|
||||
*colormap*nodata:true
|
||||
*colormap*nodata*color:0.537255 0.164706 0.886275 1
|
||||
GOCAD_ORIGINAL_COORDINATE_SYSTEM
|
||||
NAME Default
|
||||
AXIS_NAME "X" "Y" "Z"
|
||||
AXIS_UNIT "m" "m" "m"
|
||||
ZPOSITIVE Elevation
|
||||
END_ORIGINAL_COORDINATE_SYSTEM
|
||||
GEOLOGICAL_TYPE fault
|
||||
PROPERTIES U V Dip_Angle FaultStrike
|
||||
ESIZES 1 1
|
||||
TRGL_PROPERTIES ZoneId
|
||||
TRGL_PROPERTY_CLASSES ZoneId
|
||||
TRGL_ESIZES 1
|
||||
TRGL_UNITS unitless
|
||||
TRGL_PROPERTY_CLASS_HEADER ZoneId{
|
||||
low_clip:1
|
||||
high_clip:2
|
||||
}
|
||||
TFACE
|
||||
PVRTX 1 465534.6194 5931401.282 -129.3047898 .66 .64 58.71 337.116
|
||||
PVRTX 2 465538.213 5931392.781 -129.3047898 .66 .64 58.84 337.085
|
||||
PVRTX 3 465539.8068 5931392.781 -131.7332567 .66 .64 58.65 336.821
|
||||
PVRTX 4 465570.9632 5931423.783 -198.6034981 .66 .64 58.69 336.729
|
||||
PVRTX 5 465525.1194 5931423.783 -129.3047898 .66 .64 58.61 337.242
|
||||
PVRTX 6 465570.9632 5931423.783 -198.6034981 .66 .64 58.64 337.11
|
||||
TRGL 1 2 3 1
|
||||
TRGL 3 4 1 2
|
||||
TRGL 5 1 6 3
|
||||
TFACE
|
||||
PVRTX 7 465570.9632 5931392.781 -178.2249543 .45 .90 5.87953e-09 0.000100088
|
||||
PVRTX 8 465589.8068 5931392.781 -206.8390938 .45 .90 6.29468e-09 0.000105718
|
||||
PVRTX 9 465620.9632 5931423.783 -274.4399239 .45 .90 6.50226e-09 0.000108533
|
||||
PVRTX 10 465620.9632 5931392.781 -253.8946358 .45 .90 1.02613e-08 0.000136737
|
||||
PVRTX 11 465639.8068 5931392.781 -282.2361886 .45 .90 1.40896e-08 0.000165879
|
||||
PVRTX 12 465670.9632 5931423.783 -349.5536934 .45 .90 1.60037e-08 0.000180449
|
||||
TRGL 3 7 4 5
|
||||
TRGL 7 8 9 4
|
||||
TRGL 9 4 7 4
|
||||
TRGL 8 10 9 4
|
||||
TRGL 10 11 12 4
|
||||
TRGL 12 9 10 4
|
||||
BSTONE 2
|
||||
BSTONE 6
|
||||
BSTONE 8
|
||||
BSTONE 11
|
||||
BSTONE 4
|
||||
BORDER 1 2 3
|
||||
BORDER 3 4 1
|
||||
BORDER 10 11 12
|
||||
END
|
||||
23
test/level03/read_gocad/reference/input.lgi
Normal file
23
test/level03/read_gocad/reference/input.lgi
Normal file
@@ -0,0 +1,23 @@
|
||||
# test GOCAD
|
||||
|
||||
read/gocad /input_2tets_Zelev.so / cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
|
||||
read/gocad /input_small_js.so / cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
|
||||
read/gocad /input_3tri_all_props.ts / cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
|
||||
read/gocad /input_3tri_node_props.ts / cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
|
||||
read/gocad /input_small_TFACE.ts / cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
|
||||
finish
|
||||
16
test/level03/read_gocad/reference/logx3dgen
Normal file
16
test/level03/read_gocad/reference/logx3dgen
Normal file
@@ -0,0 +1,16 @@
|
||||
read/gocad/input_2tets_Zelev.so/cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
read/gocad/input_small_js.so/cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
read/gocad/input_3tri_all_props.ts/cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
read/gocad/input_3tri_node_props.ts/cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
read/gocad/input_small_TFACE.ts/cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
finish
|
||||
435
test/level03/read_gocad/reference/outx3dgen
Normal file
435
test/level03/read_gocad/reference/outx3dgen
Normal file
@@ -0,0 +1,435 @@
|
||||
|
||||
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* * *
|
||||
* * Program: LaGriT V3.330 Linux *
|
||||
* * date_compile: 2021/10/15 test *
|
||||
* * Run Time: 2021/Nov 29 11:22:44 *
|
||||
* * 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 GOCAD
|
||||
read/gocad/input_2tets_Zelev.so/cmoin
|
||||
Reading GOCAD file: input_2tets_Zelev.so
|
||||
cmo/create/cmoin///tet
|
||||
finish
|
||||
...................................................
|
||||
SET VRTX properties:
|
||||
cmo/addatt/cmoin/NodeId/VINT scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
READ VRTX data with word count: 6
|
||||
READ VRTX property with index: 1
|
||||
...................................................
|
||||
SET CELL properties:
|
||||
cmo/addatt/cmoin/CompartmentId/VINT scalar/nelements/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/ElementId/VINT scalar/nelements/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/ZoneId/VINT scalar/nelements/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
READ CELL data with word count: 8
|
||||
READ CELL property with index: 3
|
||||
geniee
|
||||
finish
|
||||
--- READ GOCAD FINISHED --------
|
||||
Mesh Type: TSolid
|
||||
ZPOSITIVE: Elev Up
|
||||
Nodes: 5
|
||||
Tets: 2
|
||||
Cells: 2
|
||||
Node properties: 1
|
||||
Cell properties: 3
|
||||
LINES read: 52
|
||||
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: cmoin
|
||||
|
||||
1 Mesh Object name: cmoin
|
||||
number of nodes = 5 number of elements = 2
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 5.4389598E-13 1.6089685E-37
|
||||
--------------------------------------------
|
||||
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.7174E+00 max aspect ratio = 0.7174E+00
|
||||
|
||||
epsilonvol: 4.4408921E-13
|
||||
---------------------------------------
|
||||
All elements have volume -1.6666667E-01
|
||||
-----------------------------------------------------------
|
||||
2 total elements evaluated.
|
||||
|
||||
cmo/delete/cmoin
|
||||
Released Mesh Object: cmoin
|
||||
read/gocad/input_small_js.so/cmoin
|
||||
Reading GOCAD file: input_small_js.so
|
||||
cmo/create/cmoin///tet
|
||||
finish
|
||||
...................................................
|
||||
SET VRTX properties:
|
||||
cmo/addatt/cmoin/NodeId/VINT scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
READ VRTX data with word count: 6
|
||||
READ VRTX property with index: 1
|
||||
...................................................
|
||||
SET CELL properties:
|
||||
cmo/addatt/cmoin/CompartmentId/VINT scalar/nelements/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/ElementId/VINT scalar/nelements/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/ZoneId/VINT scalar/nelements/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
READ CELL data with word count: 8
|
||||
READ CELL property with index: 3
|
||||
geniee
|
||||
finish
|
||||
--- READ GOCAD FINISHED --------
|
||||
Mesh Type: TSolid
|
||||
ZPOSITIVE: Z Depth
|
||||
Nodes: 11
|
||||
Tets: 6
|
||||
Cells: 6
|
||||
Node properties: 1
|
||||
Cell properties: 3
|
||||
LINES read: 61
|
||||
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: cmoin
|
||||
|
||||
1 Mesh Object name: cmoin
|
||||
number of nodes = 11 number of elements = 6
|
||||
dimensions geometry = 3 element type = tet
|
||||
dimensions topology = 3 4 nodes 4 faces 6 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 1.2444411E-12 1.9271832E-36
|
||||
--------------------------------------------
|
||||
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.7992E+00 max aspect ratio = 0.9210E+00
|
||||
|
||||
epsilonvol: 7.3156026E-12
|
||||
---------------------------------------
|
||||
element volumes b/w 0.5189E+00 and 0.5976E+00: 2
|
||||
element volumes b/w 0.5976E+00 and 0.6883E+00: 2
|
||||
element volumes b/w 0.6883E+00 and 0.7928E+00: 1
|
||||
element volumes b/w 0.7928E+00 and 0.9131E+00: 0
|
||||
element volumes b/w 0.9131E+00 and 0.1052E+01: 1
|
||||
min volume = 5.1890035E-01 max volume = 1.0516859E+00
|
||||
-----------------------------------------------------------
|
||||
6 total elements evaluated.
|
||||
|
||||
cmo/delete/cmoin
|
||||
Released Mesh Object: cmoin
|
||||
read/gocad/input_3tri_all_props.ts/cmoin
|
||||
Reading GOCAD file: input_3tri_all_props.ts
|
||||
cmo/create/cmoin///tri
|
||||
finish
|
||||
cmo/addatt/-def-/iblock/VINT/scalar/nelements
|
||||
finish
|
||||
...................................................
|
||||
SET VRTX properties:
|
||||
cmo/addatt/cmoin/GaussianCurvature/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0
|
||||
.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/MeanCurvature/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K1/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K2/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K1_Plunge/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K1_Trend/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K2_Plunge/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K2_Trend/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/FrameX_Trend/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/FrameX_Plunge/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/FrameZ_Trend/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/FrameZ_Plunge/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/Dip_Azim/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/Dip_Angle/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/FaultStrike/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
READ VRTX data with word count: 20
|
||||
READ VRTX property with index: 15
|
||||
...................................................
|
||||
SET CELL properties:
|
||||
cmo/addatt/cmoin/ZoneId/VINT scalar/nelements/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
READ CELL data with word count: 5
|
||||
READ CELL property with index: 1
|
||||
geniee
|
||||
finish
|
||||
--- READ GOCAD FINISHED --------
|
||||
Mesh Type: TSurf
|
||||
ZPOSITIVE: Elev Up
|
||||
Nodes: 6
|
||||
Triangles: 3
|
||||
Cells: 3
|
||||
Node properties: 15
|
||||
Cell properties: 1
|
||||
LINES read: 37
|
||||
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: cmoin
|
||||
|
||||
1 Mesh Object name: cmoin
|
||||
number of nodes = 6 number of elements = 3
|
||||
dimensions geometry = 3 element type = tri
|
||||
dimensions topology = 2 3 nodes 3 faces 3 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 1.9692101E-11 7.6361796E-33
|
||||
--------------------------------------------
|
||||
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 : 2
|
||||
elements with aspect ratio b/w .5 and 1. : 1
|
||||
min aspect ratio = 0.2334E+00 max aspect ratio = 0.5034E+00
|
||||
|
||||
epsilonvol: 2.1869340E-08
|
||||
---------------------------------------
|
||||
element volumes b/w 0.1310E+02 and 0.3111E+02: 1
|
||||
element volumes b/w 0.3111E+02 and 0.7391E+02: 0
|
||||
element volumes b/w 0.7391E+02 and 0.1756E+03: 0
|
||||
element volumes b/w 0.1756E+03 and 0.4172E+03: 1
|
||||
element volumes b/w 0.4172E+03 and 0.9911E+03: 1
|
||||
min volume = 1.3095067E+01 max volume = 9.9106654E+02
|
||||
-----------------------------------------------------------
|
||||
3 total elements evaluated.
|
||||
|
||||
cmo/delete/cmoin
|
||||
Released Mesh Object: cmoin
|
||||
read/gocad/input_3tri_node_props.ts/cmoin
|
||||
Reading GOCAD file: input_3tri_node_props.ts
|
||||
cmo/create/cmoin///tri
|
||||
finish
|
||||
cmo/addatt/-def-/iblock/VINT/scalar/nelements
|
||||
finish
|
||||
...................................................
|
||||
SET VRTX properties:
|
||||
cmo/addatt/cmoin/GaussianCurvature/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0
|
||||
.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/MeanCurvature/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K1/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K2/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K1_Plunge/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K1_Trend/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K2_Plunge/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/K2_Trend/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/FrameX_Trend/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/FrameX_Plunge/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/FrameZ_Trend/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/FrameZ_Plunge/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/Dip_Azim/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/Dip_Angle/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/prop_15_pvrtx/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
READ VRTX data with word count: 20
|
||||
READ VRTX property with index: 15
|
||||
...................................................
|
||||
SET CELL properties:
|
||||
There are no Cell properties.
|
||||
READ CELL data with word count: 4
|
||||
READ CELL property with index: 0
|
||||
geniee
|
||||
finish
|
||||
--- READ GOCAD FINISHED --------
|
||||
Mesh Type: TSurf
|
||||
ZPOSITIVE: Elev Up
|
||||
Nodes: 6
|
||||
Triangles: 3
|
||||
Cells: 3
|
||||
Node properties: 15
|
||||
LINES read: 25
|
||||
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: cmoin
|
||||
|
||||
1 Mesh Object name: cmoin
|
||||
number of nodes = 6 number of elements = 3
|
||||
dimensions geometry = 3 element type = tri
|
||||
dimensions topology = 2 3 nodes 3 faces 3 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 1.9692101E-11 7.6361796E-33
|
||||
--------------------------------------------
|
||||
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 : 2
|
||||
elements with aspect ratio b/w .5 and 1. : 1
|
||||
min aspect ratio = 0.2334E+00 max aspect ratio = 0.5034E+00
|
||||
|
||||
epsilonvol: 2.1869340E-08
|
||||
---------------------------------------
|
||||
element volumes b/w 0.1310E+02 and 0.3111E+02: 1
|
||||
element volumes b/w 0.3111E+02 and 0.7391E+02: 0
|
||||
element volumes b/w 0.7391E+02 and 0.1756E+03: 0
|
||||
element volumes b/w 0.1756E+03 and 0.4172E+03: 1
|
||||
element volumes b/w 0.4172E+03 and 0.9911E+03: 1
|
||||
min volume = 1.3095067E+01 max volume = 9.9106654E+02
|
||||
-----------------------------------------------------------
|
||||
3 total elements evaluated.
|
||||
|
||||
cmo/delete/cmoin
|
||||
Released Mesh Object: cmoin
|
||||
read/gocad/input_small_TFACE.ts/cmoin
|
||||
Reading GOCAD file: input_small_TFACE.ts
|
||||
cmo/create/cmoin///tri
|
||||
finish
|
||||
cmo/addatt/-def-/iblock/VINT/scalar/nelements
|
||||
finish
|
||||
...................................................
|
||||
SET VRTX properties:
|
||||
cmo/addatt/cmoin/U/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/V/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/Dip_Angle/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
cmo/addatt/cmoin/FaultStrike/VDOUBLE scalar/nnodes/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
READ VRTX data with word count: 9
|
||||
READ VRTX property with index: 4
|
||||
...................................................
|
||||
SET CELL properties:
|
||||
cmo/addatt/cmoin/ZoneId/VINT scalar/nelements/linear/permanent/gxaf/0.0/
|
||||
finish
|
||||
READ CELL data with word count: 5
|
||||
READ CELL property with index: 1
|
||||
geniee
|
||||
finish
|
||||
--- READ GOCAD FINISHED --------
|
||||
Mesh Type: TSurf
|
||||
ZPOSITIVE: Elev Up
|
||||
Nodes: 12
|
||||
Triangles: 9
|
||||
Cells: 9
|
||||
TFACE: 2
|
||||
Node properties: 4
|
||||
Cell properties: 1
|
||||
LINES read: 74
|
||||
|
||||
cmo/status/brief
|
||||
|
||||
The current-mesh-object(CMO) is: cmoin
|
||||
|
||||
1 Mesh Object name: cmoin
|
||||
number of nodes = 12 number of elements = 9
|
||||
dimensions geometry = 3 element type = tri
|
||||
dimensions topology = 2 3 nodes 3 faces 3 edges
|
||||
boundary flag = 16000000 status = active
|
||||
|
||||
|
||||
finish
|
||||
quality
|
||||
|
||||
epsilonl, epsilonaspect: 5.9057653E-11 2.0598166E-31
|
||||
--------------------------------------------
|
||||
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 : 2
|
||||
elements with aspect ratio b/w .1 and .2 : 0
|
||||
elements with aspect ratio b/w .2 and .5 : 6
|
||||
elements with aspect ratio b/w .5 and 1. : 1
|
||||
min aspect ratio = 0.7187E-01 max aspect ratio = 0.5034E+00
|
||||
|
||||
epsilonvol: 2.2112185E-07
|
||||
---------------------------------------
|
||||
element volumes b/w 0.1310E+02 and 0.3379E+02: 1
|
||||
element volumes b/w 0.3379E+02 and 0.8718E+02: 0
|
||||
element volumes b/w 0.8718E+02 and 0.2249E+03: 0
|
||||
element volumes b/w 0.2249E+03 and 0.5803E+03: 3
|
||||
element volumes b/w 0.5803E+03 and 0.1497E+04: 5
|
||||
min volume = 1.3095067E+01 max volume = 1.4973814E+03
|
||||
-----------------------------------------------------------
|
||||
9 total elements evaluated.
|
||||
|
||||
cmo/delete/cmoin
|
||||
Released Mesh Object: cmoin
|
||||
finish
|
||||
LaGriT successfully completed
|
||||
30
test/level03/read_gocad/test.lgi
Normal file
30
test/level03/read_gocad/test.lgi
Normal file
@@ -0,0 +1,30 @@
|
||||
# test GOCAD
|
||||
|
||||
# this gives neg volumes
|
||||
# need good example AND/OR fix code bug
|
||||
read/gocad /input_2tets_Zelev.so / cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
|
||||
finish
|
||||
|
||||
# these are good examples and results
|
||||
# and are part of level01/read_gocad
|
||||
|
||||
read/gocad /input_small_js.so / cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
|
||||
read/gocad /input_3tri_all_props.ts / cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
|
||||
read/gocad /input_3tri_node_props.ts / cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
|
||||
read/gocad /input_small_TFACE.ts / cmoin
|
||||
quality
|
||||
cmo/delete/cmoin
|
||||
|
||||
finish
|
||||
Reference in New Issue
Block a user