Skip to content

Commit d0914c9

Browse files
committed
Merge remote-tracking branch 'upstream/master' into openmp_nvidia_merged_master
2 parents e81b884 + c86fdd9 commit d0914c9

24 files changed

+1428
-821
lines changed

.github/workflows/frontier/submit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ sbatch <<EOT
3333
#SBATCH -A CFD154 # charge account
3434
#SBATCH -N 1 # Number of nodes required
3535
$sbatch_device_opts
36-
#SBATCH -t 04:59:00 # Duration of the job (Ex: 15 mins)
36+
#SBATCH -t 05:59:00 # Duration of the job (Ex: 15 mins)
3737
#SBATCH -o$job_slug.out # Combined output and error messages file
3838
#SBATCH -p extended # Extended partition for shorter queues
3939
#SBATCH -W # Do not exit until the submitted job terminates.

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
// Enable ONLY fortls language server
5050
"fortran.enableLanguageServer": true,
5151
"fortran.languageServer": "fortls",
52-
"fortran.fortls.disabled": false,
52+
"fortran.fortls.disabled": true,
5353
"fortran.fortls.path": "fortls",
5454

5555
// Try to disable any built-in language features

CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,13 @@ macro(HANDLE_SOURCES target useCommon)
329329
"${CMAKE_BINARY_DIR}/modules/${target}/*.fpp")
330330
if (${useCommon})
331331
file(GLOB common_FPPs CONFIGURE_DEPENDS "${common_DIR}/*.fpp")
332+
333+
# If we're building post_process, exclude m_compute_levelset.fpp
334+
if("${target}" STREQUAL "post_process")
335+
list(FILTER common_FPPs EXCLUDE REGEX ".*/m_compute_levelset\.fpp$")
336+
list(FILTER common_FPPs EXCLUDE REGEX ".*/m_ib_patches\.fpp$")
337+
endif()
338+
332339
list(APPEND ${target}_FPPs ${common_FPPs})
333340
endif()
334341

@@ -444,7 +451,7 @@ function(MFC_SETUP_TARGET)
444451

445452
if (ARGS_SILO)
446453
find_package(SILO REQUIRED)
447-
target_link_libraries(${a_target} PRIVATE SILO::SILO)
454+
target_link_libraries(${a_target} PRIVATE SILO::SILO stdc++)
448455
endif()
449456

450457
if (ARGS_HDF5)
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/common/include/case.fpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44

55
! For pre-process.
66
#:def analytical()
7+
78
#:enddef

src/pre_process/m_compute_levelset.fpp renamed to src/common/m_compute_levelset.fpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ contains
300300
end if
301301
end do
302302

303+
! TODO :: This entire if/else tree can be simplified by just calling arrays by idx index
303304
if (idx == 1) then
304305
levelset%sf(i, j, 0, ib_patch_id) = side_dists(1)
305306
if (f_approx_equal(side_dists(1), 0._wp)) then

src/common/m_derived_types.fpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,11 @@ module m_derived_types
318318

319319
real(wp) :: model_threshold !<
320320
!! Threshold to turn on smoothen STL patch.
321+
322+
!! Patch conditions for moving imersed boundaries
323+
integer :: moving_ibm ! 0 for no moving, 1 for moving, 2 for moving on forced path
324+
real(wp), dimension(1:3) :: vel
325+
321326
end type ib_patch_parameters
322327

323328
!> Derived type annexing the physical parameters (PP) of the fluids. These

0 commit comments

Comments
 (0)