Skip to content

Commit

Permalink
docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
jlchan committed Jun 29, 2024
1 parent 6e9fb63 commit 28fb670
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/RefElemData_polynomial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,19 @@ function tensor_product_quadrature(::Union{Tet, Hex}, r1D, w1D)
return rq, sq, tq, wq
end

"""
RefElemData(elem::Union{Tri, Tet, Pyr}, approx_type::Polynomial{<:TensorProductQuadrature}, N; kwargs...)
RefElemData(elem::Union{Wedge},
approx_type::Polynomial{<:TensorProductQuadrature}, N;
quad_rule_tri = stroud_quad_nodes(Tri(), 2 * N),
quad_rule_line = gauss_quad(0, 0, N),
kwargs...)
Uses collapsed coordinate volume quadrature. Should be called via
```julia
RefElemData(Tri(), Polynomial(TensorProductQuadrature()), N)
```
"""
function RefElemData(elem::Union{Tri, Tet, Pyr}, approx_type::Polynomial{<:TensorProductQuadrature}, N; kwargs...)
rd = RefElemData(elem, Polynomial{MultidimensionalQuadrature}(), N;
quad_rule_vol=stroud_quad_nodes(elem, 2 * N), kwargs...)
Expand Down

0 comments on commit 28fb670

Please sign in to comment.