Skip to content

Commit

Permalink
comments and slight refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jlchan committed Dec 9, 2023
1 parent bed4f01 commit 3fabaca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/RefElemData.jl
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,14 @@ Polynomial() = Polynomial{DefaultPolynomialType}(DefaultPolynomialType())
"""
TensorProductQuadrature{T}
A type parameter to `Polynomial` indicating that
A type parameter to `Polynomial` indicating that the quadrature has a tensor
product structure.
"""
struct TensorProductQuadrature{T}
quad_rule_1D::T # 1D quadrature nodes and weights (rq, wq)
end

TensorProductQuadrature(r1D, w1D) = TensorProductQuadrature((r1D, w1D))
TensorProductQuadrature(args...) = TensorProductQuadrature(args)

# Polynomial{Gauss} type indicates (N+1)-point Gauss quadrature on tensor product elements
struct Gauss end
Expand Down

0 comments on commit 3fabaca

Please sign in to comment.