Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoinemarteau committed Jan 3, 2025
1 parent 494e181 commit a48c09b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions src/Polynomials/CompWiseTensorPolyBases.jl
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,12 @@ end
"""
QGradBasis(::Type{PT}, ::Val{D}, ::Type{T}, order::Int) :: PolynomialBasis
Return a basis of ℕ𝔻ᴰₙ(□) = (ℚₙ)ᴰ ⊕ x × (ℚₙ \\ ℚₙ₋₁)ᴰ with n=`order`, the
polynomial space for Nedelec elements on `D`-dimensional cubes with scalar type `T`.
Return a basis of
ℕ𝔻ᴰₙ(□) = (ℚₙ)ᴰ ⊕ x × (ℚₙ \\ ℚₙ₋₁)ᴰ
with n=`order`, the polynomial space for Nedelec elements on `D`-dimensional
cubes with scalar type `T`.
The `order`=n argument has the following meaning: the curl of the functions in
this basis is in ℚₙ.
Expand All @@ -268,7 +272,7 @@ this basis is in ℚₙ.
```jldoctest
# a basis for Nedelec on hexahedra with divergence in ℚ₂
b = PCurlGradBasis(Monomial, Val(3), Float64, 2)
b = QGradBasis(Monomial, Val(3), Float64, 2)
```
For more details, see [`CompWiseTensorPolyBasis`](@ref), as `QGradBasis` returns
Expand Down
4 changes: 2 additions & 2 deletions src/Polynomials/Deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ struct PGradMonomialBasis{D}
new{0}()
end
end
@deprecate PGradMonomialBasis{D}(args...) where D PGradBasis(Monomial, Val(D), args...)
@deprecate PGradMonomialBasis{D}(args...) where D PGradBasis(Monomial, Val(D), args...) false

struct PCurlGradMonomialBasis{D}
function PCurlGradMonomialBasis()
Expand Down Expand Up @@ -40,7 +40,7 @@ struct NedelecPreBasisOnSimplex{D}
new{0}()
end
end
@deprecate NedelecPreBasisOnSimplex{D}(args...) where D NedelecPolyBasisOnSimplex{D}(args...)
@deprecate NedelecPreBasisOnSimplex{D}(args...) where D NedelecPolyBasisOnSimplex{D}(args...) false

struct JacobiPolynomialBasis{D}
function JacobiPolynomialBasis()
Expand Down

0 comments on commit a48c09b

Please sign in to comment.