-// Copyright (C) 2006-2016 EDF R&D
+// Copyright (C) 2006-2020 EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <cstdlib>
#include <cstring>
#include <ctime>
+#include <algorithm>
using namespace std;
using namespace MESHCUT;
return typeBanaliseMED;
}
-int MESHCUT::chrono()
+int MESHCUT::salome_chrono()
{
return clock() / CLOCKS_PER_SEC;
}
if (debug)
{
cout << endl << " Liste des valeurs du champ brut aux 3 premiers éléments:" << endl;
- for (imaille = 0; imaille < min(nmailles, 3); imaille++)
+ for (imaille = 0; imaille < std::min(nmailles, 3); imaille++)
{
cout << " Maille " << imaille << endl;
for (igauss = 0; igauss < ngauss; igauss++)
/*!
* Conversion HL-MED d'une table de connectivités
*/
-void MESHCUT::conversionCNX(int *CNXtm, TYPE_MAILLE tm, int N)
+void MESHCUT::conversionCNX(med_int *CNXtm, TYPE_MAILLE tm, int N)
{
int n = Nnoeuds(tm);