Salome HOME
Fix computation height of isocel triangle with base equal zero : NaN
[tools/medcoupling.git] / src / MEDLoader / MEDFileFieldGlobs.cxx
index a5cbc3643e57c60f7d7895ab11e98395cd8b5821..65a7477815b95fe55f6fda94c19ae7696d9aed5f 100644 (file)
@@ -1,4 +1,4 @@
-// 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
@@ -74,7 +74,7 @@ void MEDFileFieldGlobs::writeGlobals(med_idt fid, const MEDFileWritable& opt) co
   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());
@@ -638,7 +638,7 @@ std::string MEDFileFieldGlobs::CreateNewNameNotIn(const std::string& prefix, con
 
 /*!
  * 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))
 {
@@ -665,7 +665,7 @@ std::vector<const BigMemoryObject *> MEDFileFieldGlobsReal::getDirectChildrenWit
 
 /*!
  * 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
 {
@@ -847,7 +847,7 @@ std::string MEDFileFieldGlobsReal::createNewNameOfLoc() 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)
 {
@@ -1048,7 +1048,7 @@ int MEDFileFieldGlobsReal::getLocalizationId(const std::string& loc) const
 
 /*!
  * 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.
  */
@@ -1241,7 +1241,7 @@ std::string MEDFileFieldNameScope::getName() const
 
 /*!
  * 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)
 {