Salome HOME
projects
/
tools
/
medcoupling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge from V6_main 13/12/2012
[tools/medcoupling.git]
/
src
/
MEDLoader
/
SauvWriter.cxx
diff --git
a/src/MEDLoader/SauvWriter.cxx
b/src/MEDLoader/SauvWriter.cxx
index b86f34dfa7489bedbf267c7f3530824ab2164737..b4f44f55422088f6ac5fbf42e98dc2a45ba288df 100644
(file)
--- a/
src/MEDLoader/SauvWriter.cxx
+++ b/
src/MEDLoader/SauvWriter.cxx
@@
-572,7
+572,7
@@
void SauvWriter::write(const char* fileName)
std::fstream fileStream;
fileStream.open( fileName, ios::out);
if
std::fstream fileStream;
fileStream.open( fileName, ios::out);
if
-#ifdef W
NT
+#ifdef W
IN32
( !fileStream || !fileStream.is_open() )
#else
( !fileStream || !fileStream.rdbuf()->is_open() )
( !fileStream || !fileStream.is_open() )
#else
( !fileStream || !fileStream.rdbuf()->is_open() )
@@
-737,7
+737,7
@@
void SauvWriter::writeSubMeshes()
if ( toMedConn )
{
for ( unsigned j = 0; j < nbElemNodes; ++j )
if ( toMedConn )
{
for ( unsigned j = 0; j < nbElemNodes; ++j )
- transformedConn[
j ] = cellConn[ toMedConn[ j ]
];
+ transformedConn[
toMedConn[ j ]] = cellConn[ j
];
cellConn.swap( transformedConn );
}
for ( unsigned j = 0; j < nbElemNodes; ++j, fcount++ )
cellConn.swap( transformedConn );
}
for ( unsigned j = 0; j < nbElemNodes; ++j, fcount++ )