From 2ac37506fcb8c30d86f74d359b5365108d38ab5e Mon Sep 17 00:00:00 2001 From: Kutscher <kutscher@irmb.tu-bs.de> Date: Wed, 15 Mar 2023 14:52:45 +0100 Subject: [PATCH] add module folders for non-Newtonian fluids multiphase flow modules --- cpu.cmake | 14 ++++++++++++-- src/cpu/MultiphaseFlow/CMakeLists.txt | 1 + src/cpu/NonNewtonianFluids/CMakeLists.txt | 1 + 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 src/cpu/MultiphaseFlow/CMakeLists.txt create mode 100644 src/cpu/NonNewtonianFluids/CMakeLists.txt diff --git a/cpu.cmake b/cpu.cmake index 13f216203..4be514947 100644 --- a/cpu.cmake +++ b/cpu.cmake @@ -29,7 +29,9 @@ SET(USE_CATALYST OFF CACHE BOOL "include Paraview Catalyst support") SET(USE_HLRN_LUSTRE OFF CACHE BOOL "include HLRN Lustre support") SET(USE_DEM_COUPLING OFF CACHE BOOL "PE plugin") -SET(USE_LIGGGHTS OFF CACHE BOOL "include LIGGGHTS library support") +SET(ENABLE_MODULE_LiggghtsCoupling OFF CACHE BOOL "enable coupling with LIGGGHTS library") +SET(ENABLE_MODULE_NonNewtonianFluids OFF CACHE BOOL "enable non-Newtonian fluids module") +SET(ENABLE_MODULE_MultiphaseFlow OFF CACHE BOOL "enable multiphase flow module") #MPI IF((NOT ${CMAKE_CXX_COMPILER} MATCHES mpicxx) AND (NOT ${CMAKE_CXX_COMPILER} MATCHES mpiicpc))# OR NOT ${CMAKE_CXX_COMPILER} MATCHES cc OR NOT ${CMAKE_CXX_COMPILER} MATCHES mpiCC) @@ -85,9 +87,17 @@ if(BUILD_VF_PYTHON_BINDINGS) add_subdirectory(src/cpu/simulationconfig) endif() -if(USE_LIGGGHTS) +if(ENABLE_MODULE_LiggghtsCoupling) add_subdirectory(src/cpu/LiggghtsCoupling) endif() +if(ENABLE_MODULE_NonNewtonianFluids) + add_subdirectory(src/cpu/NonNewtonianFluids) +endif() + +if(ENABLE_MODULE_MultiphaseFlow) + add_subdirectory(src/cpu/MultiphaseFlow) +endif() + set (APPS_ROOT_CPU "${VF_ROOT_DIR}/apps/cpu/") include(${APPS_ROOT_CPU}/Applications.cmake) \ No newline at end of file diff --git a/src/cpu/MultiphaseFlow/CMakeLists.txt b/src/cpu/MultiphaseFlow/CMakeLists.txt new file mode 100644 index 000000000..35765164b --- /dev/null +++ b/src/cpu/MultiphaseFlow/CMakeLists.txt @@ -0,0 +1 @@ +vf_add_library(PUBLIC_LINK VirtualFluidsCore) \ No newline at end of file diff --git a/src/cpu/NonNewtonianFluids/CMakeLists.txt b/src/cpu/NonNewtonianFluids/CMakeLists.txt new file mode 100644 index 000000000..35765164b --- /dev/null +++ b/src/cpu/NonNewtonianFluids/CMakeLists.txt @@ -0,0 +1 @@ +vf_add_library(PUBLIC_LINK VirtualFluidsCore) \ No newline at end of file -- GitLab