From cbdc9d2f8231dbf0d7e6dab9f6bd5130d6efd99b Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Mon, 11 May 2026 02:23:06 +0300 Subject: [PATCH] refactor(materials): diffusion and hydraulic conductivity traits Support domain kernels and Pass~1 material field typing. --- src/materials/element_wise_scalar_diffusion.jl | 2 +- src/materials/hydraulic_conductivity.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/materials/element_wise_scalar_diffusion.jl b/src/materials/element_wise_scalar_diffusion.jl index 5dc01cb..ddff8ef 100644 --- a/src/materials/element_wise_scalar_diffusion.jl +++ b/src/materials/element_wise_scalar_diffusion.jl @@ -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()) ``` """ diff --git a/src/materials/hydraulic_conductivity.jl b/src/materials/hydraulic_conductivity.jl index 4b41182..2efb433 100644 --- a/src/materials/hydraulic_conductivity.jl +++ b/src/materials/hydraulic_conductivity.jl @@ -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) ``` """