Skip to content

Commit

Permalink
Changed some variables
Browse files Browse the repository at this point in the history
  • Loading branch information
imorlxs committed Sep 28, 2024
1 parent 51f8c0b commit 5e6acc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cmake/BioDynaMo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,15 @@ function(build_shared_library TARGET)
# generate dictionary using rootcling reflex
set(DICT_FILE "${CMAKE_CURRENT_BINARY_DIR}/lib${TARGET}_dict")
set(BDM_DICT_FILE "${CMAKE_CURRENT_BINARY_DIR}/lib${TARGET}_bdm_dict.cc")
set(module "${TARGET}")
set(ROOT_HEADERS)
string(REPLACE "${CMAKE_SOURCE_DIR}/src/" "" ROOT_HEADERS_TEMP "${ARG_HEADERS}")
string(REPLACE "${CMAKE_SOURCE_DIR}/test/" "" ROOT_HEADERS "${ROOT_HEADERS_TEMP}")


if (runtime_cxxmodules)
set(MODULEMAP "--moduleMapFile=${CMAKE_BINARY_DIR}/include/module.modulemap")
else()
set(NO_MODULE "NO_CXXMODULE")
endif()

if (NOT ${TARGET} STREQUAL "biodynamo")
Expand All @@ -133,7 +134,7 @@ function(build_shared_library TARGET)
if(NOT DEFINED BDM_CMAKE_DIR)
set(BDM_CMAKE_DIR $ENV{BDMSYS}/share/cmake)
endif()
ROOT_GENERATE_DICTIONARY(${DICT_FILE} ${ROOT_HEADERS} MODULE ${module} LINKDEF ${BDM_CMAKE_DIR}/${ARG_SELECTION} REFLEX ${NO_MODULE} OPTIONS ${DEPENDENCY_OPTION} -I src --inlineInputHeader --noIncludePaths ${MODULEMAP})
ROOT_GENERATE_DICTIONARY(${DICT_FILE} ${ROOT_HEADERS} MODULE ${TARGET} LINKDEF ${BDM_CMAKE_DIR}/${ARG_SELECTION} REFLEX ${NO_MODULE} OPTIONS ${DEPENDENCY_OPTION} -I src --inlineInputHeader --noIncludePaths ${MODULEMAP})
if (BDM_OUT_OF_SOURCE)
set(BDM_DICT_BIN_PATH "$ENV{BDMSYS}/bin")
else()
Expand Down
2 changes: 1 addition & 1 deletion demo/soma_clustering/src/soma_clustering.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ inline int Simulate(int argc, const char** argv) {
num_cells / 2, construct);

// Run simulation for N timesteps
const uint64_t timesteps = 30000;
const uint64_t timesteps = 1000;
if (timesteps < 6000) {
Log::Warning("SomaClustering",
"We recommend to run the simulation for roughly 6000 time "
Expand Down

0 comments on commit 5e6acc3

Please sign in to comment.