Skip to content

Commit

Permalink
Update name to use primal
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeR227 committed Nov 14, 2024
1 parent e8f637b commit 7f99a15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/operators.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
using Base.Iterators
using CombinatorialSpaces
import CombinatorialSpaces.DiscreteExteriorCalculus: DiscreteHodge
using CombinatorialSpaces.Multigrid: PrimitiveGeometricMapSeries
using Krylov
using LinearAlgebra
using SparseArrays
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)
Expand Down
2 changes: 1 addition & 1 deletion test/simulation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7f99a15

Please sign in to comment.