refactor(materials): diffusion and hydraulic conductivity traits

Support domain kernels and Pass~1 material field typing.
This commit is contained in:
Jukka Aho
2026-05-11 02:23:06 +03:00
parent 03330a1d6a
commit cbdc9d2f82
2 changed files with 2 additions and 2 deletions
@@ -19,7 +19,7 @@ here.
```julia
# Two bricks along x with different K; λ_by_elem[i] is conductivity of element i.
mat = ElementWiseScalarDiffusion([1.0, 4.0])
kernel = HeatKernel(ContinuumFormulation{FullThreeD}(), mat, PressurePotential())
kernel = HeatKernel(ContinuumFormulation{ThreeDimensional}(), mat, PressurePotential())
```
"""
+1 -1
View File
@@ -22,7 +22,7 @@ for the primal potential path via [`DarcyPotentialKernel`](@ref).
# Example
```julia
soil = HydraulicConductivity(K = 1e-4)
kernel = DarcyPotentialKernel(ContinuumFormulation{FullThreeD}(), soil)
kernel = DarcyPotentialKernel(ContinuumFormulation{ThreeDimensional}(), soil)
```
"""