From 64e18689e3fffaeed1cc0a0500f4e8ca784712db Mon Sep 17 00:00:00 2001 From: Olivier Coulaud <Olivier.Coulaud@inria.fr> Date: Sun, 6 Jul 2014 12:49:58 +0200 Subject: [PATCH] Remove -bin option. Now we check the extension to know if the file is in text mode or binary one. --- Examples/ChebyshevInterpolationFMM.cpp | 5 +---- Examples/ChebyshevInterpolationMPIFMM.cpp | 3 +-- Examples/RotationFMM.cpp | 6 ++---- Examples/RotationMPIFMM.cpp | 3 +-- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/Examples/ChebyshevInterpolationFMM.cpp b/Examples/ChebyshevInterpolationFMM.cpp index cb413b460..76cc4c2d3 100755 --- a/Examples/ChebyshevInterpolationFMM.cpp +++ b/Examples/ChebyshevInterpolationFMM.cpp @@ -62,9 +62,7 @@ //! \param -subdepth Specifies the size of the sub octree //! \param -t The number of threads //! -//! \param -f name Name of the particles file. The file have to be in our FMA format -//! \param -bin if the file is in binary mode - +//! \param -f name Name of the particles file with extension (.fma or .bfma). The data in file have to be in our FMA format //! // @@ -75,7 +73,6 @@ void usage() { << " -depth the depth of the octree "<< std::endl << " -subdepth specifies the size of the sub octree " << std::endl << " -f name name specifies the name of the particle distribution" << std::endl - << " -bin if the file is in binary mode" << std::endl << " -t n specifies the number of threads used in the computations" << std::endl; } diff --git a/Examples/ChebyshevInterpolationMPIFMM.cpp b/Examples/ChebyshevInterpolationMPIFMM.cpp index 1c3e7e521..1af6d0da1 100644 --- a/Examples/ChebyshevInterpolationMPIFMM.cpp +++ b/Examples/ChebyshevInterpolationMPIFMM.cpp @@ -60,8 +60,7 @@ //! \param -subdepth Specifies the size of the sub octree //! \param -t The number of threads //! -//! \param -f name Name of the particles file. The file have to be in our FMA format -//! \param -bin if the file is in binary mode +//! \param -f name Name of the particles file with extension (.fma or .bfma). The data in file have to be in our FMA format //! // diff --git a/Examples/RotationFMM.cpp b/Examples/RotationFMM.cpp index 51923ef44..07be2f271 100755 --- a/Examples/RotationFMM.cpp +++ b/Examples/RotationFMM.cpp @@ -57,8 +57,7 @@ //! \param -subdepth Specifies the size of the sub octree //! \param -t The number of threads //! -//! \param -f name Name of the particles file. The file have to be in our FMA format -//! \param -bin if the file is in binary mode +//! \param -f name Name of the particles file with extension (.fma or .bfma). The data in file have to be in our FMA format //! // @@ -68,8 +67,7 @@ void usage() { << " -help to see the parameters " << std::endl << " -depth the depth of the octree "<< std::endl << " -subdepth specifies the size of the sub octree " << std::endl - << " -f name name specifies the name of the particle distribution" << std::endl - << " -bin if the file is in binary mode" << std::endl + << " -f name name specifies the name of the particle distribution. If extension is . bfma th file is -in binary mode" << std::endl << " -t n specifies the number of threads used in the computations" << std::endl; } diff --git a/Examples/RotationMPIFMM.cpp b/Examples/RotationMPIFMM.cpp index db3dbda3d..c589ac823 100644 --- a/Examples/RotationMPIFMM.cpp +++ b/Examples/RotationMPIFMM.cpp @@ -58,8 +58,7 @@ //! \param -subdepth Specifies the size of the sub octree //! \param -t The number of threads //! -//! \param -f name Name of the particles file. The file have to be in our FMA format -//! \param -bin if the file is in binary mode +//! \param -f name Name of the particles file with extension (.fma or .bfma). The data in file have to be in our FMA format //! // -- GitLab