File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
test/test_private/test_terranigma Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ def test_2025_2():
93
93
gpv .plot_3d (
94
94
model = geo_model ,
95
95
ve = 1 ,
96
- image = False ,
96
+ image = True ,
97
97
kwargs_pyvista_bounds = {
98
98
'show_xlabels' : False ,
99
99
'show_ylabels' : False ,
@@ -119,18 +119,32 @@ def test_2025_2():
119
119
backend = gp .data .AvailableBackends .numpy
120
120
),
121
121
)
122
-
122
+
123
123
gpv .plot_3d (
124
124
model = geo_model ,
125
125
ve = proper_rescale ,
126
126
show_lith = True ,
127
- image = False ,
127
+ image = True ,
128
128
kwargs_pyvista_bounds = {
129
129
'show_xlabels' : False ,
130
130
'show_ylabels' : False ,
131
131
'show_zlabels' : False ,
132
132
},
133
133
)
134
+
135
+
136
+ # region Exporting scalar field
137
+ gpv .plot_2d (
138
+ geo_model ,
139
+ show_scalar = True ,
140
+ series_n = 0
141
+ )
142
+
143
+ # * The scalar fields can be found for dense and octree grids:
144
+ print (geo_model .solutions .raw_arrays .scalar_field_matrix )
145
+
146
+ # endregion
147
+
134
148
135
149
if __name__ == "__main__" :
136
150
test_2025_2 ()
You can’t perform that action at this time.
0 commit comments