Commit 5d7bd961 authored by ESTERIE Pierre's avatar ESTERIE Pierre

Some more work with tensors

parent 635fbb30
......@@ -89,6 +89,7 @@ if(MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/modules/morse_cmake"
option( SCALFMM_USE_LOG "Set to ON to print output debug information" OFF )
option( SCALFMM_USE_MEM_STATS "Set to ON to profile memory" OFF )
option( SCALFMM_ONLY_DEVEL "Set to ON to compile Development tools (only scalfmm team)" ON )
set(SCALFMM_COMPILE_DEFINITIONS "${SCALFMM_COMPILE_DEFINITIONS}" CACHE STRING "Global compile definitions for ScalFMM")
#
# Set scalfmm dev flags
......@@ -453,7 +454,6 @@ if(MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/modules/morse_cmake"
#
# Set ScalFMM compile definitions
# -------------------------------
set(SCALFMM_COMPILE_DEFINITIONS "${SCALFMM_COMPILE_DEFINITIONS}" CACHE STRING "Global compile definitions for ScalFMM")
message(STATUS "ScalFMM compile definitions : ${SCALFMM_COMPILE_DEFINITIONS}")
# And adding definitions to target
# --------------------------------
......
......@@ -93,7 +93,6 @@ struct params {
}
};
using namespace scalfmm;
CPP_template(class Iter, class Sent, class Fun)(
......@@ -115,7 +114,6 @@ int main(int argc, char **argv)
args::cli.parse(argc, argv);
params parameters(args::cli);
interpolation::uniform_interpolator<double, 3> unif_interpolator(
parameters.m_order, parameters.m_tree_height);
......@@ -187,3 +185,4 @@ int main(int argc, char **argv)
// component::tree t{};
return 0;
}
......@@ -33,6 +33,7 @@ int main()
using multipole_type = scalfmm::container::variadic_container<double, double, double>;
using leaf_type = scalfmm::component::leaf<particle_type, point_type>;
using interpolator_type = scalfmm::interpolation::uniform_interpolator<double, particle_dim>;
const size_type nb_particles{5000};
......
......@@ -5,9 +5,8 @@
#ifndef SCALFMM_INTERPOLATION_UNIFORM_HPP
#define SCALFMM_INTERPOLATION_UNIFORM_HPP
#include <cmath>
#include <limits>
#include <array>
#include <cassert>
#include <scalfmm/interpolation/interpolator.hpp>
#include <scalfmm/utils/math.hpp>
......@@ -110,3 +109,4 @@ namespace scalfmm::interpolation
#endif // SCALFMM_INTERPOLATION_UNIFORM_HPP
......@@ -17,7 +17,6 @@ namespace scalfmm::meta
{
return p == 0 ? 1 : a * pow<T>(a, p - 1);
}
} // namespace scalfmm::meta
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment