Skip to content

Commit 980d56b

Browse files
authored
Add cloud-rt (hywater) (#113)
- fix MPI free problem in exchanger - call rt in pgen - tempf in rt does not depend on ghost cell values
1 parent f9bd9a8 commit 980d56b

19 files changed

Lines changed: 507 additions & 466 deletions

cmake/hywater.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ set(NVAPOR 1)
1414
set(NCLOUD 2)
1515
set(NPHASE_LEGACY 3)
1616
set(NETCDF ON)
17-
# set(PNETCDF ON) set(MPI ON)
17+
set(PNETCDF ON)
18+
set(MPI ON)
1819
set(DISORT ON)
1920
set(PYTHON_BINDINGS ON)
2021
set(TASKLIST ImplicitHydroTasks)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# 1. Compile hywater
3+
if (${NVAPOR} EQUAL 1 AND ${NCLOUD} EQUAL 2 AND ${NPHASE_LEGACY} EQUAL 3)
4+
setup_problem(hywater)
5+
endif()
6+
7+
# 2. Copy input files to run directory
8+
file(GLOB inputs *.inp *.yaml)
9+
foreach(input ${inputs})
10+
file(COPY ${input} DESTINATION ${CMAKE_BINARY_DIR}/bin)
11+
endforeach()

0 commit comments

Comments
 (0)