diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d9755e3fa2579df69c8dbf246012f19a002b2a5a..8523ea8961ed78456443c8daa27f936d71a8b9cb 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,31 @@ -############################################################################### -## VirtualFluids CI Pipeline ## -############################################################################### +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ +# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/> +# ####################################################################################### image: git.rz.tu-bs.de:4567/irmb/virtualfluids/ubuntu22_04:1.1 stages: diff --git a/CMake/3rd/boost.cmake b/CMake/3rd/boost.cmake deleted file mode 100644 index 89d4bfd8757e9b914ae8dbc2a1aea672efa0ba29..0000000000000000000000000000000000000000 --- a/CMake/3rd/boost.cmake +++ /dev/null @@ -1,39 +0,0 @@ -function(linkBoost) - - set( options ) - set( oneValueArgs ) - set( multiValueArgs COMPONENTS) - cmake_parse_arguments( ARG "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} ) - - if(BUILD_SHARED_LIBS) - if (WIN32) - set(Boost_USE_STATIC_LIBS ON) - else() - set(Boost_USE_STATIC_LIBS OFF) - endif() - set(Boost_USE_STATIC_RUNTIME OFF) - else() - set(Boost_USE_STATIC_LIBS ON) - if(WIN32) - set(Boost_USE_STATIC_RUNTIME ON) - endif() - endif() - - set(Boost_USE_MULTITHREADED ON) - - if (WIN32) - add_definitions( -DBOOST_ALL_NO_LIB ) -# add_definitions( -DBOOST_ALL_DYN_LINK ) - endif() - - vf_get_library_name(library_name) - if(DEFINED ARG_COMPONENTS) - find_package( Boost REQUIRED COMPONENTS ${ARG_COMPONENTS}) - target_link_libraries(${library_name} PRIVATE ${Boost_LIBRARIES}) - else() - find_package( Boost REQUIRED) - endif() - - - target_include_directories(${library_name} PRIVATE ${Boost_INCLUDE_DIR}) -endfunction() diff --git a/CMake/3rd/vtk.cmake b/CMake/3rd/vtk.cmake index 7bba91a5a25da622ef752d670845754a6349815c..bfc408ed0ae4b24362b6542133db889eb0b9437b 100644 --- a/CMake/3rd/vtk.cmake +++ b/CMake/3rd/vtk.cmake @@ -1,7 +1,34 @@ - -######################################################################### +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ +# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# +# ####################################################################################### # VTK_DIR needs to bet set to the VTK build directory in the config file. -######################################################################### +# ####################################################################################### find_package(VTK REQUIRED) vf_get_library_name(library_name) diff --git a/CMake/Cache.cmake b/CMake/Cache.cmake index 4e7272b42014986ab7cd3e0e0c2cd8289cdbed6a..80a3d15afb6237527efc6e1ad65486bee199c0e5 100644 --- a/CMake/Cache.cmake +++ b/CMake/Cache.cmake @@ -1,4 +1,31 @@ -# Enable cache if available +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ +# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# ####################################################################################### function(enable_cache) set(CACHE_OPTION "ccache" diff --git a/CMake/FileUtilities.cmake b/CMake/FileUtilities.cmake index 4dbe01ad08fc1286ab74024e49ea4c7edafa64ae..863187d2b0e2b814f963414983f9297f720a481a 100644 --- a/CMake/FileUtilities.cmake +++ b/CMake/FileUtilities.cmake @@ -1,8 +1,35 @@ -################################################################################# -## Helper functions for building source groups -## and extracting test/production files. -## -## After function call the files are stored in: MY_SRCS +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ +# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# ################################################################################# +# Helper functions for building source groups +# and extracting test/production files. +# +# After function call the files are stored in: MY_SRCS ################################################################################# macro(includeAllFiles folderName file_path) diff --git a/CMake/Packages.cmake b/CMake/Packages.cmake index c8517308b1caf376d85614459f67aace02f4502e..f831aa768f88ac66762a87ca0601b34ff8f9d62c 100644 --- a/CMake/Packages.cmake +++ b/CMake/Packages.cmake @@ -1,3 +1,31 @@ +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ +# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# ####################################################################################### include(FetchContent) # spdlog diff --git a/CMake/ProjectSettings.cmake b/CMake/ProjectSettings.cmake index 7df3819280428db2cf4486cb747ad6cd0c2471c2..315f2e130a4283de005ed6d38f399d4f6fdfbe27 100644 --- a/CMake/ProjectSettings.cmake +++ b/CMake/ProjectSettings.cmake @@ -1,3 +1,31 @@ +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ +# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# ####################################################################################### include(CMake/compilerflags/CompilerWarnings.cmake) include(CMake/compilerflags/CompilerOptions.cmake) include(CMakePrintHelpers) diff --git a/CMake/Sanitizers.cmake b/CMake/Sanitizers.cmake index c5c6a3409dd9b002239f2338703a500d7910d997..1c123925b55250377b437a43e69fe5456af24c78 100644 --- a/CMake/Sanitizers.cmake +++ b/CMake/Sanitizers.cmake @@ -1,3 +1,31 @@ +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ +# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# ####################################################################################### function(enable_sanitizers project_name) if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES ".*Clang") diff --git a/CMake/StaticAnalyzers.cmake b/CMake/StaticAnalyzers.cmake index ae4c7531a81fc68d4cfef09aafa97a5858350cd0..f317ce1603cb20ab05a9db79ed7091e0c8b318c0 100644 --- a/CMake/StaticAnalyzers.cmake +++ b/CMake/StaticAnalyzers.cmake @@ -1,3 +1,31 @@ +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ +# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# ####################################################################################### macro(enable_cppcheck) find_program(CPPCHECK_PROGRAM cppcheck) @@ -111,4 +139,3 @@ macro(enable_include_what_you_use) message(${WARNING_MESSAGE} "include-what-you-use requested but executable not found") endif() endmacro() - diff --git a/CMake/VirtualFluidsMacros.cmake b/CMake/VirtualFluidsMacros.cmake index 6cdffd8876c53cfefe09a7bec936b79133b6bc8e..214349d5b7a92a8c317963bced705f292879a07b 100644 --- a/CMake/VirtualFluidsMacros.cmake +++ b/CMake/VirtualFluidsMacros.cmake @@ -1,11 +1,31 @@ -################################################################################# -# _ ___ __ __________ _ __ -# | | / (_)____/ /___ ______ _/ / ____/ /_ __(_)___/ /____ -# | | / / / ___/ __/ / / / __ `/ / /_ / / / / / / __ / ___/ -# | |/ / / / / /_/ /_/ / /_/ / / __/ / / /_/ / / /_/ (__ ) -# |___/_/_/ \__/\__,_/\__,_/_/_/ /_/\__,_/_/\__,_/____/ +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ # -################################################################################# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# ####################################################################################### function(status msg) message(STATUS " VF: ${msg}") diff --git a/CMake/compilerflags/CompilerOptions.cmake b/CMake/compilerflags/CompilerOptions.cmake index b13733f180d14888a086d0059247d85f6e80eab0..50f02bff19204025f924cf859e544a7d4da5d595 100644 --- a/CMake/compilerflags/CompilerOptions.cmake +++ b/CMake/compilerflags/CompilerOptions.cmake @@ -1,3 +1,31 @@ +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ +# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# ####################################################################################### function(set_project_options project_name) set(PROJECT_OPTIONS_GCC "") diff --git a/CMake/compilerflags/CompilerWarnings.cmake b/CMake/compilerflags/CompilerWarnings.cmake index aaa0ba116a4bae74b91019e5aa6fe038273b9635..91a70ac449d5d9ad131591dbcd88a83a4ad23410 100644 --- a/CMake/compilerflags/CompilerWarnings.cmake +++ b/CMake/compilerflags/CompilerWarnings.cmake @@ -1,7 +1,33 @@ -# from here: +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ # -# https://github.com/lefticus/cppbestpractices/blob/master/02-Use_the_Tools_Available.md - +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# ####################################################################################### +# Credit: https://github.com/lefticus/cppbestpractices/blob/master/02-Use_the_Tools_Available.md +# ####################################################################################### function(set_project_warnings project_name) set(MSVC_WARNINGS diff --git a/pythonbindings/CMakeLists.txt b/pythonbindings/CMakeLists.txt index 8fd8641140890536f41fb8f07d9d379d3e1c40af..65e1ebde1e57568d8762b35445df41b515c3c51e 100644 --- a/pythonbindings/CMakeLists.txt +++ b/pythonbindings/CMakeLists.txt @@ -1,3 +1,31 @@ +# ####################################################################################### +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ +# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# ################################################################################# set(PYFLUIDS_LANGUAGES CXX) if(VF_ENABLE_GPU) diff --git a/src/basics/PointerDefinitions.h b/src/basics/PointerDefinitions.h index 3ce2330379e13785c5603da9dcb2966bff38978b..8940262fc7ea1a7439a1d090bcd5c142835ef14f 100644 --- a/src/basics/PointerDefinitions.h +++ b/src/basics/PointerDefinitions.h @@ -26,8 +26,6 @@ // You should have received a copy of the GNU General Public License along // with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. // -//! \file PointerDefinitions.h -//! \ingroup Core //! \author Soeren Peters //======================================================================================= #ifndef SHARED_POINTER_H @@ -45,7 +43,7 @@ template <class T> using UPtr = std::unique_ptr<T>; template <class T> -using RPtr = T *; +using RPtr = T*; template <class T> using enableSharedFromThis = std::enable_shared_from_this<T>; diff --git a/src/basics/StringUtilities/StringUtil.cpp b/src/basics/StringUtilities/StringUtil.cpp index ca16cc70854651e9238b6a8740025523475e7b17..5f5d1ab0c398e3aff25b56b0eca0cb79a5701934 100644 --- a/src/basics/StringUtilities/StringUtil.cpp +++ b/src/basics/StringUtilities/StringUtil.cpp @@ -26,8 +26,6 @@ // You should have received a copy of the GNU General Public License along // with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. // -//! \file StringUtil.cpp -//! \ingroup StringUtilities //! \author Konstantin Kutscher, Soeren Textor, Sebastian Geller //======================================================================================= #include "StringUtil.h" diff --git a/src/basics/StringUtilities/StringUtil.h b/src/basics/StringUtilities/StringUtil.h index 610bc54d34485a69ecabf2ea48171a499e30faa0..72a47f7153c35163b93c23787b0b2729f0ec1287 100644 --- a/src/basics/StringUtilities/StringUtil.h +++ b/src/basics/StringUtilities/StringUtil.h @@ -26,8 +26,6 @@ // You should have received a copy of the GNU General Public License along // with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. // -//! \file StringUtil.h -//! \ingroup StringUtilities //! \author Konstantin Kutscher, Soeren Textor, Sebastian Geller //======================================================================================= #ifndef STRINGUTIL_H diff --git a/src/basics/StringUtilities/StringUtilTest.cpp b/src/basics/StringUtilities/StringUtilTest.cpp index 0b229dfd8696490a02f01c0ed3f4fac859c6157c..f460a0da6bd25d43b6378fbc3ea310cf89155132 100644 --- a/src/basics/StringUtilities/StringUtilTest.cpp +++ b/src/basics/StringUtilities/StringUtilTest.cpp @@ -1,7 +1,33 @@ +//======================================================================================= +// ____ ____ __ ______ __________ __ __ __ __ +// \ \ | | | | | _ \ |___ ___| | | | | / \ | | +// \ \ | | | | | |_) | | | | | | | / \ | | +// \ \ | | | | | _ / | | | | | | / /\ \ | | +// \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +// \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +// \ \ | | ________________________________________________________________ +// \ \ | | | ______________________________________________________________| +// \ \| | | | __ __ __ __ ______ _______ +// \ | | |_____ | | | | | | | | | _ \ / _____) +// \ | | _____| | | | | | | | | | | \ \ \_______ +// \ | | | | |_____ | \_/ | | | | |_/ / _____ | +// \ _____| |__| |________| \_______/ |__| |______/ (_______/ // -// Created by Soeren Peters on 24.07.20. +// This file is part of VirtualFluids. VirtualFluids is free software: you can +// redistribute it and/or modify it under the terms of the GNU General Public +// License as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. // - +// VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +// for more details. +// +// You should have received a copy of the GNU General Public License along +// with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +// +//! \author Soeren Peters +//======================================================================================= #include <gmock/gmock.h> #include "StringUtil.h" diff --git a/src/basics/buildInfo.cmake b/src/basics/buildInfo.cmake index bbad317e989f670e05eb663a74123343035daa63..dea11a7c4e2f30aac06c365b1340d4e1a216ad3a 100644 --- a/src/basics/buildInfo.cmake +++ b/src/basics/buildInfo.cmake @@ -1,3 +1,33 @@ +#======================================================================================= +# ____ ____ __ ______ __________ __ __ __ __ +# \ \ | | | | | _ \ |___ ___| | | | | / \ | | +# \ \ | | | | | |_) | | | | | | | / \ | | +# \ \ | | | | | _ / | | | | | | / /\ \ | | +# \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +# \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +# \ \ | | ________________________________________________________________ +# \ \ | | | ______________________________________________________________| +# \ \| | | | __ __ __ __ ______ _______ +# \ | | |_____ | | | | | | | | | _ \ / _____) +# \ | | _____| | | | | | | | | | | \ \ \_______ +# \ | | | | |_____ | \_/ | | | | |_/ / _____ | +# \ _____| |__| |________| \_______/ |__| |______/ (_______/ +# +# This file is part of VirtualFluids. VirtualFluids is free software: you can +# redistribute it and/or modify it under the terms of the GNU General Public +# License as published by the Free Software Foundation, either version 3 of +# the License, or (at your option) any later version. +# +# VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +# +#! \author Soeren Peters +#======================================================================================= set(buildInfoPath ${CMAKE_BINARY_DIR}/buildInfo) set(buildInfoFile buildInfo.cpp) set(buildInfoInput ${CMAKE_CURRENT_LIST_DIR}/buildInfo.in.cpp) @@ -7,10 +37,19 @@ get_git_head_revision(git_branch git_commit_hash) set(COMPILER_FLAGS "${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE}} ${CMAKE_CXX_FLAGS}") +site_name(BUILD_computerName) + +if( BUILD_VF_DOUBLE_ACCURACY ) + set(BUILD_PRECISION "double") +else() + set(BUILD_PRECISION "float") +endif() + +get_target_property(BUILD_COMPILE_OPTIONS project_options INTERFACE_COMPILE_OPTIONS) +get_target_property(BUILD_COMPILE_DEFINITIONS project_options INTERFACE_COMPILE_DEFINITIONS) +get_target_property(BUILD_COMPILE_WARNINGS project_warnings INTERFACE_COMPILE_OPTIONS) + configure_file(${buildInfoInput} ${buildInfoPath}/${buildInfoFile}) -#message ("buildInfoPath: ${buildInfoPath}") -include_directories(${buildInfoPath}) -#set(MY_SRCS ${MY_SRCS} ${buildInfoPath}/${buildInfoFile} ${CMAKE_CURRENT_LIST_DIR}/${buildInfoFileHeader}) + set(MY_SRCS ${MY_SRCS} ${buildInfoPath}/${buildInfoFile}) source_group("" FILES ${buildInfoPath}/${buildInfoFile}) -#source_group("" FILES ${CMAKE_CURRENT_LIST_DIR}/${buildInfoFileHeader}) \ No newline at end of file diff --git a/src/basics/buildInfo.h b/src/basics/buildInfo.h index 598d5ee742fc329c01c66a24429cd20b2cebe89e..b3a86f411d629ddb2c8eb0cb2ec9036b3db3d5ac 100644 --- a/src/basics/buildInfo.h +++ b/src/basics/buildInfo.h @@ -26,8 +26,6 @@ // You should have received a copy of the GNU General Public License along // with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. // -//! \file buildInfo.h -//! \ingroup Core //! \author Soeren Peters //======================================================================================= #ifndef buildInfo_H @@ -35,21 +33,18 @@ namespace buildInfo { -const char *gitCommitHash(); -const char *gitBranch(); -const char *buildType(); -const char *compilerFlags(); -const char *buildMachine(); -const char *projectDir(); -const char *binaryDir(); -} // namespace buildInfo -#define GIT_COMMIT_HASH buildinfo::gitCommitHash() -#define GIT_BRANCH buildinfo::gitBranch() -#define BUILD_MACHINE buildinfo::buildMachine() -#define PROJECT_DIR buildinfo::projectDir() -#define BINARY_DIR buildinfo::binaryDir() -#define COMPILER_FLAGS buildinfo::compilerFlags() -#define BUILD_TYPE buildinfo::buildType() +const char* gitCommitHash(); +const char* gitBranch(); +const char* buildType(); +const char* compilerFlags(); +const char* compilerFlagWarnings(); +const char* compilerDefinitions(); +const char* buildMachine(); +const char* projectDir(); +const char* binaryDir(); +const char* precision(); + +} // namespace buildInfo #endif diff --git a/src/basics/buildInfo.in.cpp b/src/basics/buildInfo.in.cpp index 59dbe5a3af2ef2798a1a4816f15382b1a59ec387..cc0ca03ebfc2bd22ac295c18e084d9c6bb9ea20b 100644 --- a/src/basics/buildInfo.in.cpp +++ b/src/basics/buildInfo.in.cpp @@ -1,12 +1,85 @@ - +//======================================================================================= +// ____ ____ __ ______ __________ __ __ __ __ +// \ \ | | | | | _ \ |___ ___| | | | | / \ | | +// \ \ | | | | | |_) | | | | | | | / \ | | +// \ \ | | | | | _ / | | | | | | / /\ \ | | +// \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +// \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +// \ \ | | ________________________________________________________________ +// \ \ | | | ______________________________________________________________| +// \ \| | | | __ __ __ __ ______ _______ +// \ | | |_____ | | | | | | | | | _ \ / _____) +// \ | | _____| | | | | | | | | | | \ \ \_______ +// \ | | | | |_____ | \_/ | | | | |_/ / _____ | +// \ _____| |__| |________| \_______/ |__| |______/ (_______/ +// +// This file is part of VirtualFluids. VirtualFluids is free software: you can +// redistribute it and/or modify it under the terms of the GNU General Public +// License as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +// for more details. +// +// You should have received a copy of the GNU General Public License along +// with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +// +//! \author Soeren Peters +//======================================================================================= namespace buildInfo { -const char *gitCommitHash() { return "@git_commit_hash@"; } -const char *gitBranch() { return "@git_branch@"; } -const char *buildType() { return "@CMAKE_BUILD_TYPE@"; } -const char *compilerFlags() { return "@COMPILER_FLAGS@"; } -const char *buildMachine() { return "@BUILD_computerName@"; } -const char *projectDir() { return "@CMAKE_SOURCE_DIR@"; } -const char *binaryDir() { return "@CMAKE_BINARY_DIR@"; } + +const char* gitCommitHash() +{ + return "@git_commit_hash@"; +} + +const char* gitBranch() +{ + return "@git_branch@"; +} + +const char* buildType() +{ + return "@CMAKE_BUILD_TYPE@"; +} + +const char* compilerFlags() +{ + return "@BUILD_COMPILE_OPTIONS@"; +} + +const char* compilerFlagWarnings() +{ + return "@BUILD_COMPILE_WARNINGS@"; +} + +const char* compilerDefinitions() +{ + return "@BUILD_COMPILE_DEFINITIONS@"; +} + +const char* buildMachine() +{ + return "@BUILD_computerName@"; +} + +const char* projectDir() +{ + return "@CMAKE_SOURCE_DIR@"; +} + +const char* binaryDir() +{ + return "@CMAKE_BINARY_DIR@"; +} + +const char* precision() +{ + return "@BUILD_PRECISION@"; +} + } // namespace buildInfo diff --git a/src/basics/config/ConfigurationFile.cpp b/src/basics/config/ConfigurationFile.cpp index 35ba60da16ed89171d63fae4730939fc2275d54a..6104b6d637ed6dc1cfd8f1baf51b23ab2e780270 100644 --- a/src/basics/config/ConfigurationFile.cpp +++ b/src/basics/config/ConfigurationFile.cpp @@ -1,3 +1,33 @@ +//======================================================================================= +// ____ ____ __ ______ __________ __ __ __ __ +// \ \ | | | | | _ \ |___ ___| | | | | / \ | | +// \ \ | | | | | |_) | | | | | | | / \ | | +// \ \ | | | | | _ / | | | | | | / /\ \ | | +// \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +// \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +// \ \ | | ________________________________________________________________ +// \ \ | | | ______________________________________________________________| +// \ \| | | | __ __ __ __ ______ _______ +// \ | | |_____ | | | | | | | | | _ \ / _____) +// \ | | _____| | | | | | | | | | | \ \ \_______ +// \ | | | | |_____ | \_/ | | | | |_/ / _____ | +// \ _____| |__| |________| \_______/ |__| |______/ (_______/ +// +// This file is part of VirtualFluids. VirtualFluids is free software: you can +// redistribute it and/or modify it under the terms of the GNU General Public +// License as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +// for more details. +// +// You should have received a copy of the GNU General Public License along +// with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +// +//! \author Soeren Peters +//======================================================================================= #include "ConfigurationFile.h" #include <filesystem> diff --git a/src/basics/config/ConfigurationFile.h b/src/basics/config/ConfigurationFile.h index 033afb938229e3aec637c16686d061cb4903dd4a..4a5273a72af8eef22c0eded1b3dd6ca73a1a19c8 100644 --- a/src/basics/config/ConfigurationFile.h +++ b/src/basics/config/ConfigurationFile.h @@ -1,3 +1,33 @@ +//======================================================================================= +// ____ ____ __ ______ __________ __ __ __ __ +// \ \ | | | | | _ \ |___ ___| | | | | / \ | | +// \ \ | | | | | |_) | | | | | | | / \ | | +// \ \ | | | | | _ / | | | | | | / /\ \ | | +// \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +// \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +// \ \ | | ________________________________________________________________ +// \ \ | | | ______________________________________________________________| +// \ \| | | | __ __ __ __ ______ _______ +// \ | | |_____ | | | | | | | | | _ \ / _____) +// \ | | _____| | | | | | | | | | | \ \ \_______ +// \ | | | | |_____ | \_/ | | | | |_/ / _____ | +// \ _____| |__| |________| \_______/ |__| |______/ (_______/ +// +// This file is part of VirtualFluids. VirtualFluids is free software: you can +// redistribute it and/or modify it under the terms of the GNU General Public +// License as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +// for more details. +// +// You should have received a copy of the GNU General Public License along +// with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +// +//! \author Soeren Peters +//======================================================================================= #ifndef BASICS_CONFIGURATIONFILE_H #define BASICS_CONFIGURATIONFILE_H diff --git a/src/basics/config/ConfigurationFileTest.cpp b/src/basics/config/ConfigurationFileTest.cpp index 01ce57d708f5e7760500f16ce24ed1b3047534b4..70af63504f8b4c39208777d0363f155577070b58 100644 --- a/src/basics/config/ConfigurationFileTest.cpp +++ b/src/basics/config/ConfigurationFileTest.cpp @@ -1,3 +1,33 @@ +//======================================================================================= +// ____ ____ __ ______ __________ __ __ __ __ +// \ \ | | | | | _ \ |___ ___| | | | | / \ | | +// \ \ | | | | | |_) | | | | | | | / \ | | +// \ \ | | | | | _ / | | | | | | / /\ \ | | +// \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +// \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +// \ \ | | ________________________________________________________________ +// \ \ | | | ______________________________________________________________| +// \ \| | | | __ __ __ __ ______ _______ +// \ | | |_____ | | | | | | | | | _ \ / _____) +// \ | | _____| | | | | | | | | | | \ \ \_______ +// \ | | | | |_____ | \_/ | | | | |_/ / _____ | +// \ _____| |__| |________| \_______/ |__| |______/ (_______/ +// +// This file is part of VirtualFluids. VirtualFluids is free software: you can +// redistribute it and/or modify it under the terms of the GNU General Public +// License as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +// for more details. +// +// You should have received a copy of the GNU General Public License along +// with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +// +//! \author Soeren Peters +//======================================================================================= #include <gmock/gmock.h> #include "ConfigurationFile.h" diff --git a/src/basics/constants/NumericConstants.h b/src/basics/constants/NumericConstants.h index 5e1a32c8fb696ee0c9fcebc0a4ba84a1b39fd971..851ef66431028c96d60e277ec02f4f48bf04d00e 100644 --- a/src/basics/constants/NumericConstants.h +++ b/src/basics/constants/NumericConstants.h @@ -1,3 +1,32 @@ +//======================================================================================= +// ____ ____ __ ______ __________ __ __ __ __ +// \ \ | | | | | _ \ |___ ___| | | | | / \ | | +// \ \ | | | | | |_) | | | | | | | / \ | | +// \ \ | | | | | _ / | | | | | | / /\ \ | | +// \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +// \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +// \ \ | | ________________________________________________________________ +// \ \ | | | ______________________________________________________________| +// \ \| | | | __ __ __ __ ______ _______ +// \ | | |_____ | | | | | | | | | _ \ / _____) +// \ | | _____| | | | | | | | | | | \ \ \_______ +// \ | | | | |_____ | \_/ | | | | |_/ / _____ | +// \ _____| |__| |________| \_______/ |__| |______/ (_______/ +// +// This file is part of VirtualFluids. VirtualFluids is free software: you can +// redistribute it and/or modify it under the terms of the GNU General Public +// License as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +// for more details. +// +// You should have received a copy of the GNU General Public License along +// with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +// +//======================================================================================= #ifndef BASICS_NUMERIC_CONSTANT_H #define BASICS_NUMERIC_CONSTANT_H @@ -248,8 +277,8 @@ static constexpr float c10eM10 = 1e-10f; static constexpr float cSmallSingle = 0.0000000002f; #ifndef __CUDACC__ -static const float cPi = 4.0f * std::atan(1.0f); // 3.1415926535 -static const float c2Pi = 8.0f * std::atan(1.0f); // 6.2831853071 +static const float cPi = 4.0f * std::atan(1.0f); // 3.1415926535 +static const float c2Pi = 8.0f * std::atan(1.0f); // 6.2831853071 static const float cPio180 = 4.0f * std::atan(1.0f) / 180.0f; // 1.74532925199e-2 static const float c180oPi = 180.0f / (4.0f * std::atan(1.0f)); // 57.2957795131 #else @@ -261,8 +290,8 @@ static constexpr float c180oPi = 57.2957795131f; static const float c1oSqrt2 = 1.0 / sqrtf(2.0); // 0.707106781 static const float c1oSqrt3 = 1.0 / sqrtf(3.0); // 0.577350269 -static const float cSqrt2 = sqrtf(2.0); // 1.4142135 -static const float cSqrt3 = sqrtf(3.0); // 1.7320508 +static const float cSqrt2 = sqrtf(2.0); // 1.4142135 +static const float cSqrt3 = sqrtf(3.0); // 1.7320508 #endif diff --git a/src/basics/tests/testUtilities.h b/src/basics/tests/testUtilities.h index 43fd5d822a10c6e9756c348f3e7dfb71c285ab71..b6b904d054d504a4eca4388df5e8c34d1ca879a9 100644 --- a/src/basics/tests/testUtilities.h +++ b/src/basics/tests/testUtilities.h @@ -1,3 +1,33 @@ +//======================================================================================= +// ____ ____ __ ______ __________ __ __ __ __ +// \ \ | | | | | _ \ |___ ___| | | | | / \ | | +// \ \ | | | | | |_) | | | | | | | / \ | | +// \ \ | | | | | _ / | | | | | | / /\ \ | | +// \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____ +// \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______| +// \ \ | | ________________________________________________________________ +// \ \ | | | ______________________________________________________________| +// \ \| | | | __ __ __ __ ______ _______ +// \ | | |_____ | | | | | | | | | _ \ / _____) +// \ | | _____| | | | | | | | | | | \ \ \_______ +// \ | | | | |_____ | \_/ | | | | |_/ / _____ | +// \ _____| |__| |________| \_______/ |__| |______/ (_______/ +// +// This file is part of VirtualFluids. VirtualFluids is free software: you can +// redistribute it and/or modify it under the terms of the GNU General Public +// License as published by the Free Software Foundation, either version 3 of +// the License, or (at your option) any later version. +// +// VirtualFluids is distributed in the hope that it will be useful, but WITHOUT +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +// for more details. +// +// You should have received a copy of the GNU General Public License along +// with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>. +// +//! \author Soeren Peters +//======================================================================================= #ifndef TESTUTILITIES_H #define TESTUTILITIES_H