Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Python dump of ExportPartToMED()
[modules/smesh.git]
/
src
/
DriverMED
/
DriverMED_W_Field.cxx
diff --git
a/src/DriverMED/DriverMED_W_Field.cxx
b/src/DriverMED/DriverMED_W_Field.cxx
index b012325bcbe92b46f501ceed7211296e9f8b7985..bdd191a4deae7bd3ad03115e51bf38bcd89d21f9 100644
(file)
--- a/
src/DriverMED/DriverMED_W_Field.cxx
+++ b/
src/DriverMED/DriverMED_W_Field.cxx
@@
-33,7
+33,6
@@
#include "MED_Wrapper.hxx"
#include "SMDS_IteratorOnIterators.hxx"
#include "SMDS_MeshElement.hxx"
#include "MED_Wrapper.hxx"
#include "SMDS_IteratorOnIterators.hxx"
#include "SMDS_MeshElement.hxx"
-#include "SMDS_PolyhedralVolumeOfNodes.hxx"
#include "SMDS_SetIterator.hxx"
#include "SMESHDS_Mesh.hxx"
#include "SMDS_SetIterator.hxx"
#include "SMESHDS_Mesh.hxx"
@@
-101,7
+100,7
@@
bool DriverMED_W_Field::Set(SMESHDS_Mesh * mesh,
for ( int iG = 0; iG < SMDSEntity_Last; ++iG )
{
SMDSAbs_EntityType geom = (SMDSAbs_EntityType) iG;
for ( int iG = 0; iG < SMDSEntity_Last; ++iG )
{
SMDSAbs_EntityType geom = (SMDSAbs_EntityType) iG;
- SMDSAbs_ElementType
t = SMDS_MeshCell::toSmds
Type( geom );
+ SMDSAbs_ElementType
t = SMDS_MeshCell::Elem
Type( geom );
if ( t != _elemType ) continue;
nbElems = mesh->GetMeshInfo().NbElements( geom );
if ( t != _elemType ) continue;
nbElems = mesh->GetMeshInfo().NbElements( geom );
@@
-254,7
+253,7
@@
Driver_Mesh::Status DriverMED_W_Field::Perform()
if ( !myMesh )
return addMessage("Supporting mesh not set", /*isFatal=*/true );
if ( !myMesh )
return addMessage("Supporting mesh not set", /*isFatal=*/true );
- MED::PWrapper medFile = MED::CrWrapper
( myFile, MED::eV2_2
);
+ MED::PWrapper medFile = MED::CrWrapper
W( myFile
);
MED::PMeshInfo meshInfo;
if ( myMeshId > 0 )
{
MED::PMeshInfo meshInfo;
if ( myMeshId > 0 )
{
@@
-358,7
+357,7
@@
Driver_Mesh::Status DriverMED_W_Field::Perform()
return DRS_OK;
}
return DRS_OK;
}
-namespace DriverMED // Impleme
tation of fu
ctions declared in DriverMED.hxx
+namespace DriverMED // Impleme
ntation of fun
ctions declared in DriverMED.hxx
{
//================================================================================
/*!
{
//================================================================================
/*!