feat(boundaries): Robin BC (a·u + b·∂u/∂n = c)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start in src/boundaries.jl:82 and read the existing AbstractBC implementations, especially _bc_sign, _offset_ghost!, _require_face_bc, fold_bc!, and operator_diagonal. Decide whether Robin coefficients support per-face Fields or only scalars, then trace how that choice interacts with boundary_rhs. Done means Robin is recognized through the boundary machinery and its diagonal correction is available to the multigrid path.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What's missing
AbstractBC is exactly Periodic, Dirichlet, Neumann, Interface. _require_face_bc (src/boundaries.jl:82) errors loudly for anything else, so a Robin condition is a genuine extension rather than a config option — it needs _bc_sign, _offset_ghost! and a _require_face_bc method, plus the matching fold_bc! row and the operator_diagonal correction.
Why (downstream)
Robin is the native boundary condition for trans-wall exchange in the microvascular model, in two places:
- Perivascular wall coupling. Flux across the capillary wall is
g·(C_blood − C_tissue)— a conductance times a concentration difference. That is a Robin condition on the tissue side, currently hand-assembled as a separate coupling operator with its own implicit/explicit split. - Proton leak regularization. The transported proton field
His no-flux on every boundary, which makes its Laplacian pure-Neumann and therefore singular. A small Robin leakgHis what regularizes it. Right now that regularization is a bespoke term rather than a boundary condition, so it is invisible tooperator_diagonaland to multigrid.
Both are the same mathematical object, and both would be one BC type if MFO had it.
Sketch
Robin(a, b, c) # a·u + b·∂u/∂n = c ; Dirichlet is b=0, Neumann is a=0
Worth deciding up front whether a, b, c may be per-face Fields or must be scalars. The downstream conductance g is genuinely per-face (it varies with local vessel geometry), so scalar-only would leave the main use case unserved — but per-face coefficients interact with the affine boundary_rhs lift, so it's a real design call, not a detail.
Payoff beyond the downstream package
operator_diagonal gaining a Robin case is what lets MultigridPreconditioner precondition wall-coupled systems. That matters: the downstream steady solve currently reaches for ILU(0) on an assembled sparse W precisely because unpreconditioned matrix-free GMRES spent ~750 iterations per linear solve. The system is diffusion-dominated — ideal MG territory — so a Robin-aware diagonal is the step that makes MFO's native preconditioner applicable and lets the sparse-matrix detour go away.
🤖 Beep — Claude wrote this one; Kyle is not yet talking to himself in his own issue tracker.
- Lenguaje dominante
- Julia
- Estrellas
- 3
- Forks
- 1
- Merge medio
- 1 d 28 min
- PR fusionados (30 d)
- 6
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de RallypointOne/MatrixFreeOperators.jl
-
Roadmap: open-issue priorityAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
performance
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
-
perf(forest): thread the reference BlockForest path — leaf sweeps and exchange descriptor loopsAbiertoperformance
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Todos los issues de RallypointOne/MatrixFreeOperators.jl
Issues similares
-
`SplitRungeKutta` time steppers never call `update_lagrangian_particle_state!`, so particle `tracked_fields` are never updatedPosiblemente ocupada @ali-ramadhan la tomó hoy. Abiertobug 🐞
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
CliMA/Oceananigans.jl#6381 ·
Los mantenedores suelen responder en 1 día
-
ci system:windows test
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Single-column TKE example: boundary-layer depth description doesn't match Han & Bretherton (2019)Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
NumericalEarth/Breeze.jl#1143 ·
Los mantenedores suelen responder en 1 día
-
format-check (Runic) is red on master: formatter drift on ~200 filesPosiblemente ocupada @ChrisRackauckas-Claude la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
SciML/ModelingToolkit.jl#5337 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
bug parsers
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
lanl-ansi/GasModels.jl#366 ·