]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Merge from V6_3_1_BR (V6_3_1rc3 tag) 15/07/2011
authorvsr <vsr@opencascade.com>
Fri, 15 Jul 2011 09:15:02 +0000 (09:15 +0000)
committervsr <vsr@opencascade.com>
Fri, 15 Jul 2011 09:15:02 +0000 (09:15 +0000)
src/MEDLoader/MEDFileField.cxx
src/ParaMEDMEMTest/MPI2Connector.cxx

index 17b6fe7d66a039f7ab2a062a892bddc90aaed19c..7b958119c39b6931b5c5ef38f994a5845afdccce 100644 (file)
@@ -252,7 +252,15 @@ try:_type(atype),_father(fath),_profile_it(profileIt)
   _profile=MEDLoaderBase::buildStringFromFortran(pflname,MED_NAME_SIZE);
   _localization=MEDLoaderBase::buildStringFromFortran(locname,MED_NAME_SIZE);
   if(type==ON_CELLS && !_localization.empty())
-    setType(ON_GAUSS_PT);
+    {
+      if(_localization!="MED_GAUSS_ELNO")
+        setType(ON_GAUSS_PT);
+      else
+        {
+          setType(ON_GAUSS_NE);
+          _localization.clear();
+        }
+    }
 }
 catch(INTERP_KERNEL::Exception& e)
 {
index 386587c20f8360385500463c3f120b94d702c9e1..d4975fffdc3fcb38e788d6c672f184a02bff3d5e 100644 (file)
@@ -20,6 +20,7 @@
 #include "MPI2Connector.hxx"
 
 #include <iostream>
+#include <cstring>
 
 MPI2Connector::MPI2Connector()
 {