-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathBEMUse.pro
More file actions
132 lines (108 loc) · 3.58 KB
/
BEMUse.pro
File metadata and controls
132 lines (108 loc) · 3.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#-------------------------------------------------
#
# Project created by QtCreator 2019-03-04T18:40:37
#
#-------------------------------------------------
TARGET = BEMUse
#----------------------------------------------
# Configuration flags
#----------------------------------------------
CONFIG += c++20
#---Optimise flags
QMAKE_CXXFLAGS += -O3 # Optimisations for eigen
QMAKE_CXXFLAGS += -march=native # Activate all optimisation flags
#----------------------------------------------
# OpenMP support
#----------------------------------------------
QMAKE_CXXFLAGS += -fopenmp # Compiler support for openMP
LIBS += -fopenmp
#----------------------------------------------
# Specify floating point precision
#----------------------------------------------
DEFINES += SinglePrec
# DEFINES += DoublePrec
#----------------------------------------------
# include path to external source
#----------------------------------------------
INCLUDEPATH += ..\eigen
#------------------------
# Source and header files
#------------------------
SOURCES += main.cpp\
src/BEMUser_Console.cpp \
src/Boundary/Barge.cpp \
src/Boundary/Boundary_Base.cpp \
src/Boundary/Ellipsoid.cpp \
src/Boundary/GDF_Geo.cpp \
src/Boundary/Half_Volume_of_Revolution.cpp \
src/Boundary/Hoizontal_Volume_of_Revolution.cpp \
src/Boundary/MAR_Geo.cpp \
src/Boundary/Numerical_Wave_Tank.cpp \
src/Boundary/PNL_Geo.cpp \
src/Boundary/STL_Geo.cpp \
src/Boundary/Ship_Hulls.cpp \
src/Boundary/Thin_Disc.cpp \
src/Boundary/Triple_Spar.cpp \
src/Boundary/Volume_of_Revolution.cpp \
src/Boundary/Wing.cpp \
src/Geometry/Geo_Elements.cpp \
src/Geometry/Panel.cpp \
src/Kernels.cpp \
src/Solver/Aerodynamic_Solver.cpp \
src/Solver/Hydrodynamic_Solver.cpp \
src/Solver/Hydrodynamic_Solver_IO.cpp \
src/Solver/Solver_Base.cpp \
src/Solver/Surface.cpp
HEADERS += \
src/BEMUse_Inquiry.h \
src/BEMUser_Console.h \
src/Boundary/Airfoil_Profiles.h \
src/Boundary/Barge.h \
src/Boundary/Boundary_Base.h \
src/Boundary/Ellipsoid.h \
src/Boundary/FOWT_Platforms.h \
src/Boundary/GDF_Geo.h \
src/Boundary/Half_Volume_of_Revolution.h \
src/Boundary/Horizontal_Volume_of_Revolution.h \
src/Boundary/MAR_Geo.h \
src/Boundary/Numerical_Wave_Tank.h \
src/Boundary/PNL_Geo.h \
src/Boundary/STL_Geo.h \
src/Boundary/Ship_Hulls.h \
src/Boundary/Thin_Disc.h \
src/Boundary/Triple_Spar.h \
src/Boundary/Volume_of_Revolution.h \
src/Boundary/Wing.h \
src/Geometry/CoordSys.h \
src/Geometry/Geo_Elements.h \
src/Geometry/Node.h \
src/Geometry/Panel.h \
src/Solver/Solver_Base.h \
src/Solver/Aerodynamic_Solver.h \
src/Solver/Hydrodynamic_Solver.h \
src/Solver/Surface.h
# #-------------------
# # GUI configuration
# #-------------------
# DEFINES += BEMUse_GUI # Compile the GUI
# QT += gui opengl widgets openglwidgets
# LIBS += -lOpengl32 # include openGL library for visualisation
# SOURCES += src_gui/BEMUser_Interface.cpp \
# src_gui/Grid_Options.cpp \
# src_gui/Solver_Setup.cpp \
# HEADERS += src_gui/BEMUser_Interface.h \
# src_gui/Grid_Options.h \
# src_gui/Solver_Setup.h \
# src_gui/Visualise.h \
# FORMS += src_gui/bemuser_interface.ui \
# src_gui/grid_options.ui \
# src_gui/solver_setup.ui
# #----------------------
# # Console configuration
# #----------------------
# DEFINES += BEMUse_Console
#-----------------------
# Testing configuration
#-----------------------
DEFINES += BEMUse_Testing
HEADERS += src/BEMUse_Test.h \