]> SALOME platform Git repositories - tools/medcoupling.git/blobdiff - src/MEDCoupling/MEDCouplingMesh.hxx
Salome HOME
Tests again and again
[tools/medcoupling.git] / src / MEDCoupling / MEDCouplingMesh.hxx
index 52cbc72c5f4dadcf10ee1109ba928acf0204a5e2..053d60e07c4a95565d1ee7efd237a223b0d766ce 100644 (file)
@@ -53,9 +53,9 @@ namespace ParaMEDMEM
   public:
     std::size_t getHeapMemorySize() const;
     void setName(const char *name) { _name=name; }
-    const char *getName() const { return _name.c_str(); }
+    std::string getName() const { return _name; }
     void setDescription(const char *descr) { _description=descr; }
-    const char *getDescription() const { return _description.c_str(); }
+    std::string getDescription() const { return _description; }
     double getTime(int& iteration, int& order) const { iteration=_iteration; order=_order; return _time; }
     void setTime(double val, int iteration, int order) { _time=val; _iteration=iteration; _order=order; }
     void setTimeUnit(const char *unit) { _time_unit=unit; }
@@ -89,6 +89,7 @@ namespace ParaMEDMEM
     virtual DataArrayDouble *computeIsoBarycenterOfNodesPerCell() const throw(INTERP_KERNEL::Exception) = 0;
     virtual DataArrayInt *giveCellsWithType(INTERP_KERNEL::NormalizedCellType type) const throw(INTERP_KERNEL::Exception) = 0;
     virtual DataArrayInt *computeNbOfNodesPerCell() const throw(INTERP_KERNEL::Exception) = 0;
+    virtual DataArrayInt *computeEffectiveNbOfNodesPerCell() const throw(INTERP_KERNEL::Exception) = 0;
     virtual DataArrayInt *computeNbOfFacesPerCell() const throw(INTERP_KERNEL::Exception) = 0;
     virtual int getNumberOfCellsWithType(INTERP_KERNEL::NormalizedCellType type) const = 0;
     virtual INTERP_KERNEL::NormalizedCellType getTypeOfCell(int cellId) const = 0;