Behavior · Published v1

RepairSurface

RepairSurface from Water Drop Tank.

From Water Drop Tank · v2. Edit this definition in its source simulation.

Source

behavior RepairSurface for FreeSurfaceWater
{
    update when self.kind == 2.0 && (sum n in neighbors[FreeSurfaceWater using D3Q19] { n.gas }) > 0.0 {
        set self.kind = 1.0;
    }
}

Building blocks

These exact versions are included when you reuse this artifact.

PropertyFreeSurfaceWater@hyle · v1