@@ -38,14 +38,6 @@ def test_MeshToMeshInterpolator( dataSetTest: Any, meshFromName: str, meshToName
3838 a1 = vtk_to_numpy ( meshTo .GetCellData ().GetArray ( f"mapped{ attrib .capitalize ()} " ) )
3939 assert np .linalg .norm ( a0 ) == pytest .approx ( np .linalg .norm ( a1 ), rel = 1e-2 , abs = 0 )
4040
41- # output = meshToMeshInterpolator.getOutput()
42- # w = vtkXMLUnstructuredGridWriter()
43- # w.SetFileName( "/data/pau901/SIM_CS/04_WORKSPACE/USERS/jfranc/tmp/test_crumbs/test0.vtu" )
44- # w.SetInputData( output )
45- # w.Update()
46- # w.Write()
47-
48-
4941@pytest .mark .parametrize ( "meshFromName, meshToName, attributeNames,attributeRegionsName,regionIds" , [
5042 ( "rank0WithAttr" , "mergeVolumeWithAttr" , { "elementVolume" }, "attributes" , { 4 , 5 } ),
5143] )
@@ -73,14 +65,6 @@ def test_AttributeOnly_MeshToMeshInterpolator( dataSetTest: Any, meshFromName: s
7365 mask |= ( attr == rid )
7466 assert np .linalg .norm ( a0 [ mask ] ) == pytest .approx ( np .linalg .norm ( a1 ), rel = 1e-2 , abs = 0 )
7567
76- # output = meshToMeshInterpolator.getOutput()
77- # w = vtkXMLUnstructuredGridWriter()
78- # w.SetFileName(f"/data/pau901/SIM_CS/04_WORKSPACE/USERS/jfranc/tmp/test_crumbs/test.vtu")
79- # w.SetInputData(output)
80- # w.Update()
81- # w.Write()
82-
83-
8468@pytest .mark .parametrize ( "meshFromName, meshToName, attributeNames" , [
8569 ( "extractAndMergeFault" , "extractAndMergeVolume" , { "Texture Coordinates" } ),
8670] )
@@ -97,8 +81,6 @@ def test_ExpectedFailure_MeshToMeshInterpolator( dataSetTest: Any, meshFromName:
9781 with pytest .raises ( NotImplementedError ):
9882 MeshToMeshInterpolator ( meshFrom , meshTo , attributeNames )
9983
100-
101- # TODO test surfaces extractions
10284@pytest .mark .parametrize ( "meshFromName, meshToName, attributeNames" , [
10385 ( "hasFault" , "hasFault" , { "elementVolume" } ),
10486] )
0 commit comments