diff --git a/example/Grid/1_stencil/main.cpp b/example/Grid/1_stencil/main.cpp index 551e0dccdc5a50ee11d769641c13c39701b4026a..932ac0e26ef29a828ace58c80f5505f5618c9016 100644 --- a/example/Grid/1_stencil/main.cpp +++ b/example/Grid/1_stencil/main.cpp @@ -30,7 +30,7 @@ constexpr size_t y = 1; constexpr size_t z = 2; constexpr size_t A = 0; -constexpr size_t B = 0; +constexpr size_t B = 1; //! \cond [useful constant] \endcond diff --git a/example/Numerics/Sussman_redistancing/example_sussman_circle/main.cpp b/example/Numerics/Sussman_redistancing/example_sussman_circle/main.cpp index ecdf8377ef796adaf16f7da2e52516d58570b08d..5ae63429601373b5f6888592f0187fd08fe999e4 100644 --- a/example/Numerics/Sussman_redistancing/example_sussman_circle/main.cpp +++ b/example/Numerics/Sussman_redistancing/example_sussman_circle/main.cpp @@ -103,24 +103,6 @@ * */ //! @cond [Include] @endcond -// Include standard library header files -#include <iostream> -#include <typeinfo> -#include <cmath> -#include <cstdio> - -// Include header files from other libraries -#include <boost/log/core.hpp> -#include <boost/log/trivial.hpp> -#include <boost/log/expressions.hpp> -#include <boost/log/utility/setup/file.hpp> -#include <boost/log/utility/setup/common_attributes.hpp> - -// Include OpenFPM header files -#include "Vector/vector_dist.hpp" -#include "Grid/grid_dist_id.hpp" -#include "data_type/aggregate.hpp" -#include "Decomposition/CartDecomposition.hpp" // Include Redistancing header files #include "util/PathsAndFiles.hpp" @@ -282,10 +264,10 @@ int main(int argc, char* argv[]) redist_options.min_iter = 100; redist_options.max_iter = 10000; - redist_options.convTolChange.value = 1e-12; + redist_options.convTolChange.value = 1e-6; redist_options.convTolChange.check = true; redist_options.convTolResidual.value = 1e-6; - redist_options.convTolResidual.check = true; + redist_options.convTolResidual.check = false; redist_options.interval_check_convergence = 1; redist_options.width_NB_in_grid_points = 6; diff --git a/example/Numerics/Sussman_redistancing/example_sussman_images_2D/main.cpp b/example/Numerics/Sussman_redistancing/example_sussman_images_2D/main.cpp index b034f6790697bf3cacf0803bce48abe510267cd5..18574a4b329457ebfa2d43352b6e392f57a7e04e 100644 --- a/example/Numerics/Sussman_redistancing/example_sussman_images_2D/main.cpp +++ b/example/Numerics/Sussman_redistancing/example_sussman_images_2D/main.cpp @@ -37,24 +37,6 @@ * */ //! @cond [Include] @endcond -// Include standard library header files -#include <iostream> -#include <typeinfo> -#include <cmath> -#include <cstdio> - -// Include header files from other libraries -#include <boost/log/core.hpp> -#include <boost/log/trivial.hpp> -#include <boost/log/expressions.hpp> -#include <boost/log/utility/setup/file.hpp> -#include <boost/log/utility/setup/common_attributes.hpp> - -// Include OpenFPM header files -#include "Vector/vector_dist.hpp" -#include "Grid/grid_dist_id.hpp" -#include "data_type/aggregate.hpp" -#include "Decomposition/CartDecomposition.hpp" // Include redistancing header files #include "util/PathsAndFiles.hpp" diff --git a/example/Numerics/Sussman_redistancing/example_sussman_images_3D/main.cpp b/example/Numerics/Sussman_redistancing/example_sussman_images_3D/main.cpp index 245699256903c0f9d850cec6f64f3b8eafbec6fb..7e229fb9513b4086da19f6124c240aba75de44fb 100644 --- a/example/Numerics/Sussman_redistancing/example_sussman_images_3D/main.cpp +++ b/example/Numerics/Sussman_redistancing/example_sussman_images_3D/main.cpp @@ -43,24 +43,6 @@ * */ //! @cond [Include] @endcond -// Include standard library header files -#include <iostream> -#include <typeinfo> -#include <cmath> -#include <cstdio> - -// Include header files from other libraries -#include <boost/log/core.hpp> -#include <boost/log/trivial.hpp> -#include <boost/log/expressions.hpp> -#include <boost/log/utility/setup/file.hpp> -#include <boost/log/utility/setup/common_attributes.hpp> - -// Include OpenFPM header files -#include "Vector/vector_dist.hpp" -#include "Grid/grid_dist_id.hpp" -#include "data_type/aggregate.hpp" -#include "Decomposition/CartDecomposition.hpp" // Include redistancing header files #include "util/PathsAndFiles.hpp" diff --git a/example/Numerics/Sussman_redistancing/example_sussman_sphere/main.cpp b/example/Numerics/Sussman_redistancing/example_sussman_sphere/main.cpp index afcc9b7e41bf75a39c57b1749e20633485331281..c3286722a15f8f24667e3595029190922e55b308 100644 --- a/example/Numerics/Sussman_redistancing/example_sussman_sphere/main.cpp +++ b/example/Numerics/Sussman_redistancing/example_sussman_sphere/main.cpp @@ -63,24 +63,6 @@ * */ //! @cond [Include] @endcond -// Include standard library header files -#include <iostream> -#include <typeinfo> -#include <cmath> -#include <cstdio> - -// Include header files from other libraries -#include <boost/log/core.hpp> -#include <boost/log/trivial.hpp> -#include <boost/log/expressions.hpp> -#include <boost/log/utility/setup/file.hpp> -#include <boost/log/utility/setup/common_attributes.hpp> - -// Include OpenFPM header files -#include "Vector/vector_dist.hpp" -#include "Grid/grid_dist_id.hpp" -#include "data_type/aggregate.hpp" -#include "Decomposition/CartDecomposition.hpp" // Include level-set-method related header files #include "util/PathsAndFiles.hpp"