diff --git a/src/operators.jl b/src/operators.jl index eebe8bd2..1aab8c82 100644 --- a/src/operators.jl +++ b/src/operators.jl @@ -1,7 +1,6 @@ using Base.Iterators using CombinatorialSpaces import CombinatorialSpaces.DiscreteExteriorCalculus: DiscreteHodge -using CombinatorialSpaces.Multigrid: PrimitiveGeometricMapSeries using Krylov using LinearAlgebra using SparseArrays @@ -9,7 +8,7 @@ using KernelAbstractions function default_dec_cu_matrix_generate() end; -function default_dec_matrix_generate(fs::PrimitiveGeometricMapSeries, my_symbol::Symbol, hodge::DiscreteHodge) +function default_dec_matrix_generate(fs::PrimalGeometricMapSeries, my_symbol::Symbol, hodge::DiscreteHodge) op = @match my_symbol begin :Δ₀⁻¹ => dec_Δ⁻¹(Val{0}, fs) _ => default_dec_matrix_generate(finest_mesh(fs), my_symbol, hodge) diff --git a/test/simulation.jl b/test/simulation.jl index cc1cb192..01a27437 100644 --- a/test/simulation.jl +++ b/test/simulation.jl @@ -751,7 +751,7 @@ end @testset "Multigrid" begin s = triangulated_grid(1,1,1/4,sqrt(3)/2*1/4,Point3D) - series = PrimitiveGeometricMapSeries(s, binary_subdivision_map, 4); + series = PrimalGeometricMapSeries(s, binary_subdivision_map, 4); our_mesh = finest_mesh(series) lap = ∇²(0,our_mesh);