|
11 | 11 | from geos.mesh.doctor.checks.generate_fractures import ( __split_mesh_on_fractures, Options, FracturePolicy, |
12 | 12 | Coordinates3D, IDMapping ) |
13 | 13 |
|
14 | | - |
15 | 14 | FaceNodesCoords = tuple[ tuple[ float ] ] |
16 | 15 | IDMatrix = Sequence[ Sequence[ int ] ] |
17 | 16 |
|
@@ -54,8 +53,12 @@ def __build_test_case( xs: tuple[ numpy.ndarray, numpy.ndarray, numpy.ndarray ], |
54 | 53 | else: |
55 | 54 | fv = frozenset( field_values ) |
56 | 55 |
|
57 | | - options = Options( policy=policy, field="attribute", field_values_combined=fv, field_values_per_fracture=[ fv ], |
58 | | - mesh_VtkOutput=None, all_fractures_VtkOutput=None ) |
| 56 | + options = Options( policy=policy, |
| 57 | + field="attribute", |
| 58 | + field_values_combined=fv, |
| 59 | + field_values_per_fracture=[ fv ], |
| 60 | + mesh_VtkOutput=None, |
| 61 | + all_fractures_VtkOutput=None ) |
59 | 62 | return mesh, options |
60 | 63 |
|
61 | 64 |
|
@@ -324,7 +327,7 @@ def test_copy_fields_when_splitting_mesh(): |
324 | 327 | options = Options( policy=FracturePolicy.INTERNAL_SURFACES, |
325 | 328 | field="TestField", |
326 | 329 | field_values_combined=frozenset( map( int, [ "9" ] ) ), |
327 | | - field_values_per_fracture=[frozenset( map( int, [ "9" ] ) )], |
| 330 | + field_values_per_fracture=[ frozenset( map( int, [ "9" ] ) ) ], |
328 | 331 | mesh_VtkOutput=None, |
329 | 332 | all_fractures_VtkOutput=None ) |
330 | 333 | main_mesh, fracture_meshes = __split_mesh_on_fractures( mesh, options ) |
|
0 commit comments