std::size_t ret(MEDCouplingFieldDiscretizationPerCell::getHeapMemorySizeWithoutChildren());
ret+=_loc.capacity()*sizeof(MEDCouplingGaussLocalization);
for(std::vector<MEDCouplingGaussLocalization>::const_iterator it=_loc.begin();it!=_loc.end();it++)
- ret+=(*it).getHeapMemorySize();
+ ret+=(*it).getMemorySize();
return ret;
}
return oss.str();
}
-std::size_t ParaMEDMEM::MEDCouplingGaussLocalization::getHeapMemorySize() const
+std::size_t ParaMEDMEM::MEDCouplingGaussLocalization::getMemorySize() const
{
std::size_t ret=0;
ret+=_ref_coord.capacity()*sizeof(double);
int getDimension() const;
int getNumberOfPtsInRefCell() const;
std::string getStringRepr() const;
- std::size_t getHeapMemorySize() const;
+ std::size_t getMemorySize() const;
void checkCoherency() const throw(INTERP_KERNEL::Exception);
bool isEqual(const MEDCouplingGaussLocalization& other, double eps) const;
void pushTinySerializationIntInfo(std::vector<int>& tinyInfo) const;
/*!
* This method \b do \b not modify content of \a this. It only modify its memory footprint if the allocated memory is to high regarding real data to store.
*
- * \sa DataArrayChar::getHeapMemorySize, DataArrayChar::reserve
+ * \sa DataArrayChar::getHeapMemorySizeWithoutChildren, DataArrayChar::reserve
*/
void DataArrayChar::pack() const throw(INTERP_KERNEL::Exception)
{