changeset 1952:847286c70d7c feature/sbp_operators/laplace_curvilinear

Remove left over extension files
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 07 Feb 2025 23:56:48 +0100
parents b8cb38fd67ff
children 835b1dcee38e
files ext/SbplibPlotsExt.jl ext/SbplibSparseArrayKitExt.jl ext/SbplibSparseArraysExt.jl
diffstat 3 files changed, 0 insertions(+), 103 deletions(-) [+]
line wrap: on
line diff
--- a/ext/SbplibPlotsExt.jl	Wed Oct 02 08:53:01 2024 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-module SbplibPlotsExt
-
-using Sbplib.Grids
-using Plots
-
-@recipe f(::Type{<:Grid}, g::Grid) = map(Tuple,g)[:]
-
-@recipe function f(c::Chart{2,<:Rectangle}, n=5, m=n; draw_border=true, bordercolor=1)
-    Ξ = parameterspace(c)
-    ξs = range(limits(Ξ,1)..., n)
-    ηs = range(limits(Ξ,2)..., m)
-
-    label := false
-    seriescolor --> 2
-    for ξ ∈ ξs
-        @series adapted_curve_grid(η->c((ξ,η)),limits(Ξ,1))
-    end
-
-    for η ∈ ηs
-        @series adapted_curve_grid(ξ->c((ξ,η)),limits(Ξ,2))
-    end
-
-    if ~draw_border
-        return
-    end
-
-    for ξ ∈ limits(Ξ,1)
-        @series begin
-            linewidth --> 3
-            seriescolor := bordercolor
-            adapted_curve_grid(η->c((ξ,η)),limits(Ξ,1))
-        end
-    end
-
-    for η ∈ limits(Ξ,2)
-        @series begin
-            linewidth --> 3
-            seriescolor := bordercolor
-            adapted_curve_grid(ξ->c((ξ,η)),limits(Ξ,2))
-        end
-    end
-end
-
-function adapted_curve_grid(g, minmax)
-    t1, _ = PlotUtils.adapted_grid(t->g(t)[1], minmax)
-    t2, _ = PlotUtils.adapted_grid(t->g(t)[2], minmax)
-
-    ts = sort(vcat(t1,t2))
-
-    x = map(ts) do t
-        g(t)[1]
-    end
-    y = map(ts) do t
-        g(t)[2]
-    end
-
-    return x, y
-end
-
-# get_axis_limits(plt, :x)
-
-
-# ReicpesPipline/src/user_recipe.jl
-# @recipe function f(f::FuncOrFuncs{F}) where {F<:Function}
-
-# @recipe function f(f::Function, xmin::Number, xmax::Number)
-
-# _scaled_adapted_grid(f, xscale, yscale, xmin, xmax)
-
-end
-
-
--- a/ext/SbplibSparseArrayKitExt.jl	Wed Oct 02 08:53:01 2024 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-module SbplibSparseArrayKitExt
-
-using Sbplib
-using Sbplib.LazyTensors
-
-using SparseArrayKit
-using Tokens
-
-function SparseArrayKit.SparseArray(t::LazyTensor)
-    v = ArrayToken(:v, domain_size(t)...)
-    return Tokens._to_tensor(t*v, range_size(t), domain_size(t))
-end
-
-end
--- a/ext/SbplibSparseArraysExt.jl	Wed Oct 02 08:53:01 2024 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-module SbplibSparseArraysExt
-
-using Sbplib
-using Sbplib.LazyTensors
-
-using SparseArrays
-using Tokens
-
-function SparseArrays.sparse(t::LazyTensor)
-    v = ArrayToken(:v, prod(domain_size(t)))
-
-    v̄ = reshape(v,domain_size(t)...)
-    tv = reshape(t*v̄, :)
-    return Tokens._to_matrix(tv, prod(range_size(t)), prod(domain_size(t)))
-end
-
-end