-// Copyright (C) 2007-2020 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
std::size_t nbOfPfls=_pfls.size();
for(std::size_t i=0;i<nbOfPfls;i++)
{
- MCAuto<DataArrayMedInt> cpy=DataArrayMedInt::Copy((const DataArrayIdType*)_pfls[i]);
+ MCAuto<DataArrayMedInt> cpy=DataArrayMedInt_Copy((const DataArrayIdType*)_pfls[i]);
cpy->applyLin(1,1,0);
INTERP_KERNEL::AutoPtr<char> pflName=MEDLoaderBase::buildEmptyString(MED_NAME_SIZE);
MEDLoaderBase::safeStrCpy(_pfls[i]->getName().c_str(),MED_NAME_SIZE,pflName,opt.getTooLongStrPolicy());
/*!
* Creates a MEDFileFieldGlobsReal on a given file name. Nothing is read here.
- * \param [in] fname - the file name.
+ * \param [in] fid - the MED file handler.
*/
MEDFileFieldGlobsReal::MEDFileFieldGlobsReal(med_idt fid):_globals(MEDFileFieldGlobs::New(fid))
{
/*!
* Returns a string describing profiles and Gauss points held in \a this.
- * \return std::string - the description string.
+ * \param[out] oss - the description string (in a std::ostream).
*/
void MEDFileFieldGlobsReal::simpleReprGlobs(std::ostream& oss) const
{
/*!
* Sets the name of a MED file.
- * \param [inout] fileName - the file name.
+ * \param [in,out] fileName - the file name.
*/
void MEDFileFieldGlobsReal::setFileName(const std::string& fileName)
{
/*!
* Returns an id of a profile by its name.
- * \param [in] loc - the profile name of interest.
+ * \param [in] pfl - the profile name of interest.
* \return int - the id of the profile.
* \throw If there is no a profile named \a loc.
*/
/*!
* Sets name of \a this field
- * \param [in] name - the new field name.
+ * \param [in] fieldName - the new field name.
*/
void MEDFileFieldNameScope::setName(const std::string& fieldName)
{