Skip to content

Commit

Permalink
Fix IsoParametricSpace
Browse files Browse the repository at this point in the history
  • Loading branch information
fverdugo committed Dec 6, 2024
1 parent d066fa8 commit cba7510
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/interpolation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1554,14 +1554,14 @@ struct IsoParametricSpace{A,B,C} <: AbstractSpace
cache::C
end

#function setup_space(V::IsoParametricSpace)
# if V.cache !== nothing
# return V
# end
# face_dofs = GT.face_dofs(V)
# cache = space_cache(;face_dofs)
# replace_cache(V,cache)
#end
function setup_space(V::IsoParametricSpace)
if V.cache !== nothing
return V
end
face_dofs = GT.face_dofs(V)
cache = space_cache(;face_dofs)
replace_cache(V,cache)
end

function replace_cache(V::IsoParametricSpace,cache)
GT.iso_parametric_space(
Expand Down

0 comments on commit cba7510

Please sign in to comment.