X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDPartitioner%2Fmedpartitioner_para.cxx;h=7765d0c5fc4e2f094532899ddd593e9a6bb9e739;hb=8411b13fec372c7635bf04d2bb81a869dc038fdd;hp=419622a94a7042f0f1b7045365ff15f9486d6cda;hpb=1123dccd6613b2e8abba35182759d5c4a11ecc8d;p=tools%2Fmedcoupling.git diff --git a/src/MEDPartitioner/medpartitioner_para.cxx b/src/MEDPartitioner/medpartitioner_para.cxx index 419622a94..7765d0c5f 100644 --- a/src/MEDPartitioner/medpartitioner_para.cxx +++ b/src/MEDPartitioner/medpartitioner_para.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D +// Copyright (C) 2007-2020 CEA/DEN, 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 @@ -51,8 +51,9 @@ #include #include #include +#include -#ifdef HAVE_MPI2 +#ifdef HAVE_MPI #include #endif @@ -101,7 +102,7 @@ int main(int argc, char** argv) //user can choose! (not yet) "\t--split-method= : name of the splitting library (metis/scotch), default is metis\n" #endif - "\t--creates-boundary-faces : creates boundary faces mesh in the output files\n" + "\t--create-boundary-faces : creates boundary faces mesh in the output files\n" "\t--dump-cpu-memory : dumps passed CPU time and maximal increase of used memory\n" //"\t--randomize= : random seed for other partitionning (only on one proc)\n" //"\t--atomize : do the opposite of a good partitionner (only on one proc)\n" @@ -130,7 +131,7 @@ int main(int argc, char** argv) else if (TestArg(argv[i],"--ndomains",value)) ndomains=atoi(value.c_str()); else if (TestArg(argv[i],"--randomize",value)) MyGlobals::_Randomize=atoi(value.c_str()); else if (TestArg(argv[i],"--atomize",value)) MyGlobals::_Atomize=atoi(value.c_str()); - else if (TestArg(argv[i],"--creates-boundary-faces",value)) MyGlobals::_Creates_Boundary_Faces=1; + else if (TestArg(argv[i],"--create-boundary-faces",value)) MyGlobals::_Create_Boundary_Faces=1; else if (TestArg(argv[i],"--dump-cpu-memory",value)) mesure_memory=true; else { @@ -195,7 +196,7 @@ int main(int argc, char** argv) cout << " output-file = " << output << endl; cout << " split-method = " << library << endl; cout << " ndomains = " << ndomains << endl; - cout << " creates_boundary_faces = " << MyGlobals::_Creates_Boundary_Faces << endl; + cout << " create_boundary_faces = " << MyGlobals::_Create_Boundary_Faces << endl; cout << " dump-cpu-memory = " << mesure_memory<< endl; cout << " verbose = " << MyGlobals::_Verbose << endl; } @@ -302,7 +303,7 @@ int main(int argc, char** argv) if (MyGlobals::_Is0verbose) cout << "generalInformations : \n"<