Skip to content

Commit ba517fe

Browse files
committed
fixes related to new TVector type for entries introduced in 1.2
1 parent 6ca9c51 commit ba517fe

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/interpolations.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -592,14 +592,14 @@ This function provides a flexible interface for extracting nodal or cellwise val
592592
- The result dimension is determined by the FE space, the operator, and the `abs` argument.
593593
"""
594594
function nodevalues(
595-
source::FEVectorBlock{T, Tv, Ti, FEType, APT},
595+
source::FEVectorBlock{T, Tv, Ti, TVector, FEType, APT},
596596
operator::Type{<:AbstractFunctionOperator} = Identity;
597597
continuous = "auto",
598598
nodes = [],
599599
cellwise = false,
600600
abs = false,
601601
kwargs...
602-
) where {T, Tv, Ti, APT, FEType}
602+
) where {T, Tv, Ti, APT, TVector, FEType}
603603
if continuous == "auto"
604604
if FEType <: AbstractH1FiniteElement && operator == Identity && !source.FES.broken && !(FEType <: H1CR)
605605
continuous = true
@@ -655,7 +655,7 @@ This function provides efficient, zero-copy access to the nodal values of an `FE
655655
- Only available for unbroken H1-conforming elements and the Identity operator.
656656
657657
"""
658-
function nodevalues_view(source::FEVectorBlock{T, Tv, Ti, FEType, APT}, operator::Type{<:AbstractFunctionOperator} = Identity; nodes = [0]) where {T, Tv, Ti, APT, FEType}
658+
function nodevalues_view(source::FEVectorBlock{T, Tv, Ti, TVector, FEType, APT}, operator::Type{<:AbstractFunctionOperator} = Identity; nodes = [0]) where {T, Tv, Ti, APT, TVector, FEType}
659659

660660
if (FEType <: AbstractH1FiniteElement) && (operator == Identity) && (source.FES.broken == false)
661661
# give a direct view without computing anything
@@ -721,14 +721,14 @@ This function performs nodal interpolation of the (possibly vector-valued) resul
721721
722722
"""
723723
function continuify(
724-
source::FEVectorBlock{T, Tv, Ti, FEType, APT},
724+
source::FEVectorBlock{T, Tv, Ti, TVector, FEType, APT},
725725
operator::Type{<:AbstractFunctionOperator} = Identity;
726726
abs::Bool = false,
727727
broken = false,
728728
order = "auto",
729729
factor = 1,
730730
regions::Array{Int, 1} = [0]
731-
) where {T, Tv, Ti, FEType, APT}
731+
) where {T, Tv, Ti, TVector, FEType, APT}
732732

733733
FE = source.FES
734734
xgrid = FE.dofgrid
@@ -917,9 +917,9 @@ This forwards to the main nodevalues! method using a view of the block's entries
917917
"""
918918
function nodevalues!(
919919
target::AbstractArray{T, 2},
920-
block::FEVectorBlock{T, Tv, Ti, FEType, AT},
920+
block::FEVectorBlock{T},
921921
operator::Type{<:AbstractFunctionOperator} = Identity;
922922
kwargs...
923-
) where {T, Tv, Ti, FEType, AT}
923+
) where {T}
924924
return nodevalues!(target, view(block), block.FES, operator; kwargs...)
925925
end

0 commit comments

Comments
 (0)