]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Merge remote-tracking branch 'origin/V8_0_0_BR'
authorCédric Aguerre <cedric.aguerre@edf.fr>
Fri, 22 Jan 2016 08:15:57 +0000 (09:15 +0100)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Fri, 22 Jan 2016 08:15:57 +0000 (09:15 +0100)
1  2 
src/MEDCalc/cmp/MEDPresentation.cxx

index 846bac683af7d2ab48add376d726143af02c1573,f84d37eaf17695e1c708b2fe74c0966b1ac173b1..0b03774b5ce09382e529e6b8cdd2852663cec453
@@@ -91,14 -75,15 +91,14 @@@ PyObject * MEDPresentation::getPythonOb
    return PyDict_GetItemString(global_dict, python_var);
  }
  
- std::string MEDPresentation::getFieldTypeString(ParaMEDMEM::TypeOfField fieldType)
 -std::string MEDPresentation::getFieldTypeString()
++std::string MEDPresentation::getFieldTypeString(MEDCoupling::TypeOfField fieldType)
  {
 -  MEDCoupling::TypeOfField typ = (MEDCoupling::TypeOfField)_fieldHandler->type;
 -  switch(typ)
 +  switch(fieldType)
    {
-     case ParaMEDMEM::ON_CELLS:
+     case MEDCoupling::ON_CELLS:
        return "CELLS";
-     case ParaMEDMEM::ON_NODES:
+     case MEDCoupling::ON_NODES:
 -      return "NODES";
 +      return "POINTS";
      default:
        std::cerr << "MEDPresentation::getFieldTypeString() -- Not implemented ! Gauss points?";
        return "";