jlchan / StartUpDG.jl

Initializes and sets up reference elements and physical meshes for DG.
MIT License
27 stars 9 forks source link

Make `Base.show` more compact #135

Closed jlchan closed 1 year ago

jlchan commented 1 year ago

On main:

julia> rd = RefElemData(Wedge(), 1)
RefElemData for a degree 1 Polynomial{StartUpDG.DefaultPolynomialType}() approximation on Wedge{NTuple{5, UnitRange{Int64}}}((1:4, 5:8, 9:12, 13:15, 16:18)) element.

This PR:

julia> rd = RefElemData(Wedge(), 1)
RefElemData for a degree 1 Polynomial approximation on a Wedge element.
jlchan commented 1 year ago

@Davknapp FYI I removed using LinearAlgebra from src/RefElemData_TensorProductWedge.jl since this loads everything exported by the package. I added UniformScaling to using LinearAlgebra: ..., UniformScaling, .... in src/StartUpDG.jl instead.

codecov[bot] commented 1 year ago

Codecov Report

Merging #135 (314c49b) into main (5bd016a) will increase coverage by 0.07%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #135      +/-   ##
==========================================
+ Coverage   97.50%   97.57%   +0.07%     
==========================================
  Files          25       25              
  Lines        3001     3010       +9     
==========================================
+ Hits         2926     2937      +11     
+ Misses         75       73       -2     
Impacted Files Coverage Δ
src/RefElemData_polynomial.jl 100.00% <ø> (ø)
src/StartUpDG.jl 100.00% <ø> (ø)
src/RefElemData.jl 98.01% <100.00%> (+2.23%) :arrow_up:
src/RefElemData_TensorProductWedge.jl 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more