Skip to content

Commit

Permalink
moving dummy routines modnohypre and modnofftw to addon/
Browse files Browse the repository at this point in the history
  • Loading branch information
fjansson committed Dec 7, 2020
1 parent 14a84de commit cd32575
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ add_custom_target(tag_git_version ALL
)

if(USE_HYPRE)
# Build the iterative solver
list(REMOVE_ITEM sourcefiles ${CMAKE_CURRENT_SOURCE_DIR}/modnohypre.f90)
# Build the iterative Poisson solver
list(APPEND OPTIONAL_LIBS ${HYPRE_LIB})
else(USE_HYPRE)
# Do not build the iterative solver, but use (empty) fallback functions
list(REMOVE_ITEM sourcefiles ${CMAKE_CURRENT_SOURCE_DIR}/modhypre.f90)
list(APPEND sourcefiles ${CMAKE_CURRENT_SOURCE_DIR}/addon/modnohypre.f90)
endif(USE_HYPRE)

if(USE_FFTW)
# Build the iterative solver
list(REMOVE_ITEM sourcefiles ${CMAKE_CURRENT_SOURCE_DIR}/modnofftw.f90)
# Build the FFTW-based Poisson solver
list(APPEND OPTIONAL_LIBS ${FFTW_LIB})
else(USE_FFTW)
# Do not build the iterative solver, but use (empty) fallback functions
list(REMOVE_ITEM sourcefiles ${CMAKE_CURRENT_SOURCE_DIR}/modfftw.f90)
list(APPEND sourcefiles ${CMAKE_CURRENT_SOURCE_DIR}/addon/modnofftw.f90)
endif(USE_FFTW)

# Stand-alone DALES program
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit cd32575

Please sign in to comment.