Skip to content
Snippets Groups Projects
Commit 55277a12 authored by Ali Can Demiralp's avatar Ali Can Demiralp
Browse files

FTLE support may be enabled through cmake.

parent 7e07ba86
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,11 @@ set_max_warning_level ()
################################################## Options ##################################################
option(BUILD_TESTS "Build tests." OFF)
option(DPA_FTLE_SUPPORT "Build with FTLE support (i.e. particle gathering and grid remapping)." OFF)
if (DPA_FTLE_SUPPORT)
list (APPEND PROJECT_COMPILE_DEFINITIONS -DDPA_FTLE_SUPPORT)
endif()
################################################## Sources ##################################################
file(GLOB_RECURSE PROJECT_HEADERS include/*.h include/*.hpp)
......
......@@ -414,7 +414,7 @@ void particle_advector::load_balance_collect (const
#endif
}
}
void particle_advector::out_of_bounds_distribute( std::vector<particle<vector3, integer>>& particles, const round_info& round_info)
void particle_advector::out_of_bounds_distribute( std::vector<particle<vector3, integer>>& particles, const round_info& round_info)
{
#ifdef DPA_USE_NEIGHBORHOOD_COLLECTIVES
// TODO: Neighborhood collectives.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment