Streams follow structure cuts

- Restate flattenKeepsDryBanksAtTheWaterSurface for water going down with its banks, with the SOURCE case, on v26_3_R1 and v26_2_R1
- Pass StructureWater to prepareSurfaceStructures in the adapter tests
- Expect the 64-block hold reach in FLATTEN references
- Describe stream lowering on IrisStructureTerrain and recapture the schema digest
- Add the waterPerchCensus probe, which reads copied region files and counts perched source water by flatten blend
This commit is contained in:
Brian Fopiano committed 2026-11-03 15:34:50 -05:00
1 parent c4a076b587
commit 2da2f760e0
7 files changed
+764 -90

No files matched your search

+17
View File
@@ -16,6 +16,7 @@ configurations {
dependencies {
implementation(project(':core'))
compileOnly(libs.spigot)
compileOnly(libs.lz4)
testImplementation('junit:junit:4.13.2')
testImplementation(libs.mockito.core)
testImplementation(libs.gson)
@@ -109,6 +110,22 @@ tasks.register('hydrologyProbe', JavaExec) {
}
}
tasks.register('waterPerchCensus', JavaExec) {
group = 'verification'
description = 'Reads copied region files and counts source water on a solid bed beside lower ground, inside and outside structure flatten blends.'
mainClass = 'art.arcane.iris.probe.WaterPerchCensus'
classpath = sourceSets.main.runtimeClasspath
maxHeapSize = '6g'
dependsOn(':core:compileJava')
doFirst {
Provider<String> regions = providers.gradleProperty('censusRegions')
if (!regions.isPresent() || regions.get().isBlank()) {
throw new GradleException('waterPerchCensus requires -PcensusRegions=<copied region folder>')
}
args(regions.get(), providers.gradleProperty('censusPadding').getOrElse('24'))
}
}
tasks.register('riverTransectProbe', JavaExec) {
group = 'verification'
description = 'Plans hydrology over a window range of a real pack and renders each window as a plan, river cross-sections and pond outlines.'