}
setSizeMapFile(mapfile);
- int rank;
- int tmst;
+ med_int rank;
+ med_int tmst;
if (data->myUseNoTimeStep)
{
rank = MED_NO_IT;
rank = data->myRank;
tmst = data->myTimeStep;
}
- setRankTimeStep(tmst, rank);
+ setRankTimeStep((int)tmst, (int)rank);
/* Advanced options */
setWorkingDir(data->myWorkingDir);
// =======================================================================
-void MgAdapt::getTimeStepInfos(std::string aFile, int& numdt, int& numit)
+void MgAdapt::getTimeStepInfos(std::string aFile, med_int& numdt, med_int& numit)
// =======================================================================
{
// Il faut voir si plusieurs maillages
- med_err erreur = 0 ;
+ herr_t erreur = 0 ;
med_idt medIdt ;
}
med_float dt;
- int tmp_numdt, tmp_numit;
+ med_int tmp_numdt, tmp_numit;
med_int step = data->myUseLastTimeStep ? nbofcstp : data->myTimeStep+1;
//~myPrint("step ", step);
void storeGroupsAndFams(MEDCoupling::MEDFileMesh* fileMesh);
void restoreGroupsAndFams(MEDCoupling::MEDFileMesh* fileMesh) const;
void convertMeshFile(std::string& meshFormatIn, std::vector< std::string>& solFieldFileNames) const ;
- void getTimeStepInfos(std::string aFile, int& numdt, int& numit);
+ void getTimeStepInfos(std::string aFile, med_int& numdt, med_int& numit);
Status addMessage(const std::string& msg, const bool isFatal = false);
med_idt openMedFile(const std::string aFile) ;
bool isFileExist(std::string& fName) const;