Skip to content
Snippets Groups Projects
Commit 8930cc64 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

pfc demo updated

parent b40ffb31
No related branches found
No related tags found
No related merge requests found
...@@ -72,14 +72,15 @@ target_link_libraries("vecheat" ${BASIS_LIBS}) ...@@ -72,14 +72,15 @@ target_link_libraries("vecheat" ${BASIS_LIBS})
install(TARGETS vecheat RUNTIME DESTINATION bin) install(TARGETS vecheat RUNTIME DESTINATION bin)
# find tools-directory # find tools-directory
find_path(TOOLS_DIR NAMES "baseProblem/BaseProblem.h" "diffuseDomain/Helpers.h" DOC "Path to tools directory in AMDiS-trunk dir" ) find_path(TOOLS_DIR NAMES "baseProblem/BaseProblem.h" "misc/Helpers.h" DOC "Path to tools directory in AMDiS-trunk dir" )
if (TOOLS_DIR) if (TOOLS_DIR)
if (NOT EXISTS ${TOOLS_DIR}/diffuseDomain/Helpers.h OR NOT EXISTS ${TOOLS_DIR}/baseProblems/BaseProblem.h) if (NOT EXISTS ${TOOLS_DIR}/misc/Helpers.h OR NOT EXISTS ${TOOLS_DIR}/baseProblems/BaseProblem.h)
message(WARNING "Wrong tools directory! Directory must contain the subdirectories 'diffuseDomain' and 'baseProblems'") message(WARNING "Wrong tools directory! Directory must contain the subdirectories 'diffuseDomain' and 'baseProblems'")
else() else()
include_directories(${TOOLS_DIR}/diffuseDomain) include_directories(${TOOLS_DIR}/diffuseDomain)
include_directories(${TOOLS_DIR}/baseProblems) include_directories(${TOOLS_DIR}/baseProblems)
include_directories(${TOOLS_DIR}/misc)
set(elliptBase src/elliptBaseProblem.cc) set(elliptBase src/elliptBaseProblem.cc)
add_executable("elliptBase" ${elliptBase}) add_executable("elliptBase" ${elliptBase})
...@@ -93,7 +94,7 @@ if (TOOLS_DIR) ...@@ -93,7 +94,7 @@ if (TOOLS_DIR)
add_executable("cahn_hilliard" ${cahn_hilliard}) add_executable("cahn_hilliard" ${cahn_hilliard})
target_link_libraries("cahn_hilliard" ${BASIS_LIBS}) target_link_libraries("cahn_hilliard" ${BASIS_LIBS})
set(pfc src/pfc.cc ${TOOLS_DIR}/baseProblems/PhaseFieldCrystal_Base.cc ${TOOLS_DIR}/diffuseDomain/Helpers.cc) set(pfc src/pfc.cc ${TOOLS_DIR}/baseProblems/PhaseFieldCrystal_Base.cc ${TOOLS_DIR}/misc/Helpers.cc)
add_executable("pfc" ${pfc}) add_executable("pfc" ${pfc})
target_link_libraries("pfc" ${BASIS_LIBS}) target_link_libraries("pfc" ${BASIS_LIBS})
......
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