jlchan / StartUpDG.jl

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

Switch from `LittleDict` to `MultipleRefElemData` for hybrid meshes #117

Closed jlchan closed 1 year ago

jlchan commented 1 year ago

Switching to a representation of rds::MultipleRefElemData (a wrapped NamedTuple type) instead of rds::LittleDict. This is more consistent with the representation of array components. For example, this PR changes the syntax to rds.Tri.Dr instead of rds[Tri()].Dr, which is consistent with the access of MeshData fields (e.g., md.x.Tri).

This PR also drops OrderedCollections.jl from the dependencies.

codecov[bot] commented 1 year ago

Codecov Report

Merging #117 (864745d) into main (447a369) will increase coverage by 0.13%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
+ Coverage   97.10%   97.24%   +0.13%     
==========================================
  Files          25       25              
  Lines        2733     2758      +25     
==========================================
+ Hits         2654     2682      +28     
+ Misses         79       76       -3     
Impacted Files Coverage Δ
src/MeshData.jl 94.62% <ø> (ø)
src/StartUpDG.jl 100.00% <ø> (ø)
src/RefElemData.jl 95.74% <100.00%> (+2.06%) :arrow_up:
src/RefElemData_TensorProductWedge.jl 100.00% <100.00%> (ø)
src/RefElemData_polynomial.jl 100.00% <100.00%> (ø)
src/hybrid_meshes.jl 97.74% <100.00%> (+0.99%) :arrow_up:
src/ref_elem_utils.jl 88.88% <100.00%> (-0.25%) :arrow_down:

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