MEDCOUPLING_EXPORT void setTime(double val, int iteration, int order) { _time=val; _iteration=iteration; _order=order; }
MEDCOUPLING_EXPORT void setTimeUnit(const std::string& unit) { _time_unit=unit; }
MEDCOUPLING_EXPORT std::string getTimeUnit() const { return _time_unit; }
- MEDCOUPLING_EXPORT virtual MEDCouplingMesh *deepCpy() const = 0;
- MEDCOUPLING_EXPORT virtual MEDCouplingMesh *clone(bool recDeepCpy) const = 0;
MEDCOUPLING_EXPORT virtual MEDCouplingMeshType getType() const = 0;
MEDCOUPLING_EXPORT bool isStructured() const;
+ // Copy methods
+ MEDCOUPLING_EXPORT virtual MEDCouplingMesh *deepCpy() const = 0;
+ MEDCOUPLING_EXPORT virtual MEDCouplingMesh *clone(bool recDeepCpy) const = 0;
MEDCOUPLING_EXPORT virtual void copyTinyStringsFrom(const MEDCouplingMesh *other);
MEDCOUPLING_EXPORT virtual void copyTinyInfoFrom(const MEDCouplingMesh *other);
// comparison methods
}
/*!
- * Returns a new MEDCouplingMesh which is a full copy of \a this one. No data is shared
+ * Returns a new MEDCouplingUMesh which is a full copy of \a this one. No data is shared
* between \a this and the new mesh.
- * \return MEDCouplingMesh * - a new instance of MEDCouplingMesh. The caller is to
+ * \return MEDCouplingUMesh * - a new instance of MEDCouplingMesh. The caller is to
* delete this mesh using decrRef() as it is no more needed.
*/
-MEDCouplingMesh *MEDCouplingUMesh::deepCpy() const
+MEDCouplingUMesh *MEDCouplingUMesh::deepCpy() const
{
return clone(true);
}
+
/*!
- * Returns a new MEDCouplingMesh which is a copy of \a this one.
+ * Returns a new MEDCouplingUMesh which is a copy of \a this one.
* \param [in] recDeepCpy - if \a true, the copy is deep, else all data arrays of \a
* this mesh are shared by the new mesh.
- * \return MEDCouplingMesh * - a new instance of MEDCouplingMesh. The caller is to
+ * \return MEDCouplingUMesh * - a new instance of MEDCouplingMesh. The caller is to
* delete this mesh using decrRef() as it is no more needed.
*/
MEDCouplingUMesh *MEDCouplingUMesh::clone(bool recDeepCpy) const
public:
MEDCOUPLING_EXPORT static MEDCouplingUMesh *New();
MEDCOUPLING_EXPORT static MEDCouplingUMesh *New(const std::string& meshName, int meshDim);
- MEDCOUPLING_EXPORT MEDCouplingMesh *deepCpy() const;
+ // Copy methods
+ MEDCOUPLING_EXPORT MEDCouplingUMesh *deepCpy() const;;
MEDCOUPLING_EXPORT MEDCouplingUMesh *clone(bool recDeepCpy) const;
MEDCOUPLING_EXPORT MEDCouplingUMesh *deepCpyConnectivityOnly() const;
+
MEDCOUPLING_EXPORT void shallowCopyConnectivityFrom(const MEDCouplingPointSet *other);
MEDCOUPLING_EXPORT void updateTime() const;
MEDCOUPLING_EXPORT std::size_t getHeapMemorySizeWithoutChildren() const;
Covariance fixes [DONE]
================
+ MEDCouplingUMesh
+ deepCpy !
deepCpyConnectivityOnly
mergeMyselfWithOnSameCoords
buildPartOfMySelf
All classes
-----------
deepCpy / deepCopy
+ performCpy / performCopyOrIncrRef
Auto-pointeur
-------------
renumberNodes2 / renumberNodesCenter
buildPartOfMySelf2 / buildPartOfMySelfSlice
buildPartOfMySelfKeepCoords2 / buildPartOfMySelfKeepCoordsSlice
+ deepCpyConnectivityOnly / deepCopyConnectivityOnly
MEDCoupling1DGTUMesh
--------------------
ExtractFromIndexedArrays2 / ExtractFromIndexedArraysSlice
SetPartOfIndexedArrays2 / SetPartOfIndexedArraysSlice
SetPartOfIndexedArraysSameIdx2 / SetPartOfIndexedArraysSameIdxSlice
+ deepCpyConnectivityOnly / deepCopyConnectivityOnly
DataArray
---------