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 "";