jlchan / StartUpDG.jl

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

Replacing `ComponentArrays` with `NamedArrayPartition` #66

Closed jlchan closed 1 year ago

jlchan commented 1 year ago

The motivation for this is to be able to have an ArrayPartition-like storage of data in separate arrays while retaining a ComponentArrays-like access via getproperty to each of these separate array pieces. This allows us to do two things that we could not with ComponentArrays:

codecov[bot] commented 1 year ago

Codecov Report

Merging #66 (6048c49) into main (a6e8684) will decrease coverage by 65.03%. The diff coverage is 78.16%.

@@             Coverage Diff             @@
##             main      #66       +/-   ##
===========================================
- Coverage   97.26%   32.22%   -65.04%     
===========================================
  Files          19       20        +1     
  Lines        2193     2228       +35     
===========================================
- Hits         2133      718     -1415     
- Misses         60     1510     +1450     
Impacted Files Coverage Δ
src/StartUpDG.jl 100.00% <ø> (+100.00%) :arrow_up:
src/hybrid_meshes.jl 0.00% <0.00%> (-98.24%) :arrow_down:
src/state_redistribution.jl 95.03% <62.50%> (ø)
src/cut_cell_meshes.jl 98.77% <100.00%> (ø)
src/named_array_partition.jl 100.00% <100.00%> (ø)
src/nonconforming.jl 0.00% <0.00%> (-100.00%) :arrow_down:
src/boundary_utils.jl 0.00% <0.00%> (-100.00%) :arrow_down:
src/explicit_timestep_utils.jl 0.00% <0.00%> (-100.00%) :arrow_down:
src/mesh/triangulate_example_meshes.jl 0.00% <0.00%> (-100.00%) :arrow_down:
src/geometric_functions.jl 0.00% <0.00%> (-98.25%) :arrow_down:
... and 11 more

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