Skip to content
Snippets Groups Projects
Commit 23474815 authored by Hussein Alihussein's avatar Hussein Alihussein
Browse files

Add cmake config files

parent c866763d
No related branches found
No related tags found
1 merge request!199Add new BCs and geometries
INCLUDE("CMake/cmake_config_files/LISE.config.cmake")
\ No newline at end of file
INCLUDE("CMake/cmake_config_files/LISE.config.cmake")
\ No newline at end of file
#################################################################################
# VirtualFluids MACHINE FILE
# Responsible: Hussein Alihussein
# OS: Windows 10
#################################################################################
#################################################################################
# BOOST
#################################################################################
SET(BOOST_VERSION "1.76.0")
SET(BOOST_ROOT "C:/Users/hussein/Documents/VirtualFluids/boost_1_76_0")
SET(BOOST_DIR ${BOOST_ROOT})
SET(BOOST_LIBRARYDIR ${BOOST_ROOT}"/stageMSVC64/lib")
#################################################################################
#################################################################################
# METIS
#################################################################################
IF(${USE_METIS})
SET(METIS_INCLUDEDIR "/home/niikonst/metis-5.1.0/include")
SET(METIS_DEBUG_LIBRARY "/home/niikonst/metis-5.1.0/build/Linux-x86_64/libmetis/libmetis.a")
SET(METIS_RELEASE_LIBRARY "/home/niikonst/metis-5.1.0/build/Linux-x86_64/libmetis/libmetis.a")
ENDIF()
#################################################################################
# BOOST
#################################################################################
SET(BOOST_VERSION "1.72.0")
SET(BOOST_ROOT "/sw/tools/boost/1.72.0/skl/openmpi.3.1.5-gcc.9.2.0")
SET(BOOST_DIR ${BOOST_ROOT})
SET(BOOST_LIBRARYDIR ${BOOST_ROOT}"/lib")
\ No newline at end of file
#################################################################################
# VirtualFluids MACHINE FILE
# Responsible: Soeren Peters
# OS: Windows 10
#################################################################################
SET(BOOST_ROOT "C:\\Libraries\\boost_1_65_1" CACHE PATH "BOOST_ROOT")
SET(BOOST_LIBRARYDIR "C:\\Libraries\\boost_1_65_1\\lib" CACHE PATH "BOOST_LIBRARYDIR")
SET(VTK_DIR "C:/Libraries/VTK-8.0.1/build")
//=======================================================================================
// ____ ____ __ ______ __________ __ __ __ __
// \ \ | | | | | _ \ |___ ___| | | | | / \ | |
// \ \ | | | | | |_) | | | | | | | / \ | |
// \ \ | | | | | _ / | | | | | | / /\ \ | |
// \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
// \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
// \ \ | | ________________________________________________________________
// \ \ | | | ______________________________________________________________|
// \ \| | | | __ __ __ __ ______ _______
// \ | | |_____ | | | | | | | | | _ \ / _____)
// \ | | _____| | | | | | | | | | | \ \ \_______
// \ | | | | |_____ | \_/ | | | | |_/ / _____ |
// \ _____| |__| |________| \_______/ |__| |______/ (_______/
//
// 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_SINGELTON_H
#define BASICS_SINGELTON_H
namespace vf::basics
{
template<typename T>
class Singleton
{
public:
Singleton(const Singleton&) = delete;
Singleton & operator=(const Singleton& rhs) = delete;
protected:
Singleton() = default;
public:
static std::shared_ptr<Singleton> getInstance()
{
static std::shared_ptr<Singleton> s{new T};
return s;
}
};
}
#endif
\ No newline at end of file
//=======================================================================================
// ____ ____ __ ______ __________ __ __ __ __
// \ \ | | | | | _ \ |___ ___| | | | | / \ | |
// \ \ | | | | | |_) | | | | | | | / \ | |
// \ \ | | | | | _ / | | | | | | / /\ \ | |
// \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
// \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
// \ \ | | ________________________________________________________________
// \ \ | | | ______________________________________________________________|
// \ \| | | | __ __ __ __ ______ _______
// \ | | |_____ | | | | | | | | | _ \ / _____)
// \ | | _____| | | | | | | | | | | \ \ \_______
// \ | | | | |_____ | \_/ | | | | |_/ / _____ |
// \ _____| |__| |________| \_______/ |__| |______/ (_______/
//
// 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_SINGELTON_H
#define BASICS_SINGELTON_H
namespace vf::basics
{
template<typename T>
class Singleton
{
public:
Singleton(const Singleton&) = delete;
Singleton & operator=(const Singleton& rhs) = delete;
protected:
Singleton() = default;
public:
static std::shared_ptr<Singleton> getInstance()
{
static std::shared_ptr<Singleton> s{new T};
return s;
}
};
}
#endif
\ No newline at end of file
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