Add microfluidic geometry and transport primitives - #2
Open
marpaia wants to merge 18 commits into
Open
Conversation
This was referenced Aug 20, 2026
marpaia
marked this pull request as ready for review
August 20, 2026 23:47
marpaia
force-pushed
the
marpaia/microfluidics-primitives
branch
2 times, most recently
from
September 10, 2026 08:57
12f8201 to
0b5a55f
Compare
The coupled step's obstacle and velocity-field buffers size themselves from the grid specification, which was declared below them, so no CUDA build of this branch compiled. The declaration moves above its first use. `scripts/run_cuda_compile_check.sh` now passes and registers all 21 tests. Hardware conformance still needs an NVIDIA host.
marpaia
force-pushed
the
marpaia/microfluidics-primitives
branch
from
September 10, 2026 10:29
0b5a55f to
d13df44
Compare
marpaia
removed this pull request from stack #7
September 10, 2026 10:33
marpaia
added this pull request to stack #10
September 10, 2026 10:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add finite box/cylinder device walls, solid transport masks, face-staggered velocity fields, and cell removal so one device description can constrain cells and route solutes. Sampling and scattering retain only the face-connected fluid component of the strongest interpolation weight, preventing exchange between regions that merely touch at a corner.
The PR is stacked on the conserved-biomass prerequisite. Validation covers obstacle isolation, amount conservation, periodic advection-diffusion refinement, and native CPU/Metal conformance. Focused transport checks passed (43 Python tests; CUDA cases skipped locally). The revised native CUDA sources also compile in CUDA 12.8.1.