Skip to content

Commit 4a1acbc

Browse files
committed
Update SOILWAT2 interface
- update to SOILWAT2 branch release/devel_v8.4.0 commit 8262b29eaf50ab7df1d9b536b31cab9519a14ff5 (2026-Jan-16) * struct SW_DOMAIN gained attribute isSimDomDiscrete (replacing DomainType)
1 parent 3b3b181 commit 4a1acbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rSW_Domain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void onSet_SW_DOM(SEXP InputData, LOG_INFO* LogInfo) {
6262
// copy here complete and correct values into `SoilWatDomain`
6363

6464
// Currently not implemented in rSOILWAT2 but required in SOILWAT2
65-
strcpy(SoilWatDomain.DomainType, "s");
65+
SoilWatDomain.isSimDomDiscrete = swTRUE;
6666
SoilWatDomain.nDimX = 1;
6767
SoilWatDomain.nDimY = 1;
6868
SoilWatDomain.nDimS = 1;

0 commit comments

Comments
 (0)