mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
22 lines
469 B
Python
22 lines
469 B
Python
|
#!/usr/bin/env python
|
||
|
|
||
|
"""
|
||
|
tuleap26358 : Non regression test pointing to an incompatibiliy between hdf5 symbols in CGNS and hdf5 symbols
|
||
|
in hdf5 library.
|
||
|
"""
|
||
|
|
||
|
import salome
|
||
|
salome.standalone()
|
||
|
salome.salome_init()
|
||
|
import SMESH, SALOMEDS
|
||
|
from salome.smesh import smeshBuilder
|
||
|
|
||
|
smesh = smeshBuilder.New()
|
||
|
|
||
|
inputMED="Mesh_tri.med"
|
||
|
|
||
|
([Mesh_tri_1], status) = smesh.CreateMeshesFromMED(inputMED)
|
||
|
import SMESH
|
||
|
if status != SMESH.DRS_OK:
|
||
|
raise RuntimeError("Test failed")
|