CMakeLists.txt 1.47 KB
Newer Older
1 2 3
CMAKE_DEPENDENT_OPTION(NEKTAR_SOLVER_VORTEXWAVE
    "Build the Vortex-Wave interaction solver." ON
    "NEKTAR_BUILD_SOLVERS" OFF)
4 5 6

IF( NEKTAR_SOLVER_VORTEXWAVE )
    SET(VortexWaveInteractionSolverSource
Andrea Isoni's avatar
Andrea Isoni committed
7
       ../ADRSolver/EquationSystems/SteadyAdvectionDiffusion.cpp
8
       ../ADRSolver/EquationSystems/SteadyAdvectionDiffusionReaction.cpp
Andrea Isoni's avatar
Andrea Isoni committed
9 10
       ./VortexWaveInteraction.cpp 
       ./VortexWaveInteractionSolver.cpp 
11
       $<TARGET_OBJECTS:IncNavierStokesSolver-obj>
12 13
       )

14
    SET(CalcL2ToLinfPressureSource
15 16
       ../ADRSolver/EquationSystems/SteadyAdvectionDiffusion.cpp
       ../ADRSolver/EquationSystems/SteadyAdvectionDiffusionReaction.cpp
17
       ./CalcL2ToLinfPressure.cpp
18
       ./VortexWaveInteraction.h
19
       ./VortexWaveInteraction.cpp 
20
       $<TARGET_OBJECTS:IncNavierStokesSolver-obj>
21 22
       )

23
    SET(CalcVWIplusPressureSource
24 25 26 27
       ../ADRSolver/EquationSystems/SteadyAdvectionDiffusion.cpp
       ../ADRSolver/EquationSystems/SteadyAdvectionDiffusionReaction.cpp
       ./CalcVWIplusPressure.cpp
       ./VortexWaveInteraction.cpp 
28
       $<TARGET_OBJECTS:IncNavierStokesSolver-obj>
29 30
       )

31
    SUBDIRS(utilities)
32

33
    ADD_SOLVER_EXECUTABLE(VortexWaveInteractionSolver SOURCES
34 35 36 37 38 39
	${VortexWaveInteractionSolverSource})
    ADD_SOLVER_UTILITY(CalcL2ToLinfPressure VortexWaveInteractionSolver SOURCES
	${CalcL2ToLinfPressureSource})
    ADD_SOLVER_UTILITY(CalcVWIplusPressure VortexWaveInteractionSolver SOURCES
	${CalcVWIplusPressureSource})
ENDIF( NEKTAR_SOLVER_VORTEXWAVE )