mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
23475: EDF - ExportCGNS in non regression test fails
This commit is contained in:
parent
9435e2aab8
commit
76430457f1
@ -562,7 +562,11 @@ Driver_Mesh::Status DriverCGNS_Write::Perform()
|
|||||||
switch ( meshDim ) {
|
switch ( meshDim ) {
|
||||||
case 3:
|
case 3:
|
||||||
switch ( group->GetType() ) {
|
switch ( group->GetType() ) {
|
||||||
|
#if CGNS_VERSION > 3130
|
||||||
case SMDSAbs_Volume: location = CGNS_ENUMV( CellCenter ); break;
|
case SMDSAbs_Volume: location = CGNS_ENUMV( CellCenter ); break;
|
||||||
|
#else
|
||||||
|
case SMDSAbs_Volume: location = CGNS_ENUMV( FaceCenter ); break;
|
||||||
|
#endif
|
||||||
case SMDSAbs_Face: location = CGNS_ENUMV( FaceCenter ); break;
|
case SMDSAbs_Face: location = CGNS_ENUMV( FaceCenter ); break;
|
||||||
case SMDSAbs_Edge: location = CGNS_ENUMV( EdgeCenter ); break;
|
case SMDSAbs_Edge: location = CGNS_ENUMV( EdgeCenter ); break;
|
||||||
default:;
|
default:;
|
||||||
@ -570,13 +574,21 @@ Driver_Mesh::Status DriverCGNS_Write::Perform()
|
|||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
switch ( group->GetType() ) {
|
switch ( group->GetType() ) {
|
||||||
|
#if CGNS_VERSION > 3130
|
||||||
case SMDSAbs_Face: location = CGNS_ENUMV( CellCenter ); break;
|
case SMDSAbs_Face: location = CGNS_ENUMV( CellCenter ); break;
|
||||||
|
#else
|
||||||
|
case SMDSAbs_Face: location = CGNS_ENUMV( FaceCenter ); break;
|
||||||
|
#endif
|
||||||
case SMDSAbs_Edge: location = CGNS_ENUMV( EdgeCenter ); break;
|
case SMDSAbs_Edge: location = CGNS_ENUMV( EdgeCenter ); break;
|
||||||
default:;
|
default:;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
#if CGNS_VERSION > 3130
|
||||||
location = CGNS_ENUMV( CellCenter ); break;
|
location = CGNS_ENUMV( CellCenter ); break;
|
||||||
|
#else
|
||||||
|
location = CGNS_ENUMV( EdgeCenter ); break;
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user