Skip to content

Commit 0e70776

Browse files
Merge pull request #34 from nicola-giuliani/dimension-bug
now deal is using dimension for something
2 parents 6ab0106 + 3431f42 commit 0e70776

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ FOREACH(_build_type ${_d2_build_types})
9292
SET(_exe "${TARGET}_${_dim}d${${_build_type}_postfix}")
9393
MESSAGE("-- Configuring executable ${_exe}")
9494
ADD_EXECUTABLE(${_exe} ${_main})
95-
target_compile_definitions(${_exe} PUBLIC DIMENSION=${_dim})
95+
target_compile_definitions(${_exe} PUBLIC DDDIMENSION=${_dim})
9696
TARGET_LINK_LIBRARIES(${_exe} ${_lib})
9797
D2K_SETUP_TARGET(${_exe} ${_BUILD_TYPE})
9898
ENDFOREACH()

source/main.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ int main (int argc, char *argv[])
1313
threads = atoi(argv[1]);
1414
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, threads);
1515

16-
std::string pname = "parameters_bem_" + std::to_string(DIMENSION) + ".prm";
17-
std::string pname2 = "used_parameters_bem_" + std::to_string(DIMENSION) + ".prm";
16+
std::string pname = "parameters_bem_" + std::to_string(DDDIMENSION) + ".prm";
17+
std::string pname2 = "used_parameters_bem_" + std::to_string(DDDIMENSION) + ".prm";
1818

19-
Driver<DIMENSION> driver;
19+
Driver<DDDIMENSION> driver;
2020
ParameterAcceptor::initialize(pname, pname2);
2121
driver.run();
2222

0 commit comments

Comments
 (0)