Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store interpolations and quadrature rules in FEValues. #428

Merged
merged 3 commits into from
Feb 24, 2022

Conversation

fredrikekre
Copy link
Member

No description provided.

The interpolations are stored as abstract fields in the struct since
they are never accessed in performance critical parts of the code, but
it is convenient to have access too them after creating the FEValues.

Closes #339.
@codecov-commenter
Copy link

codecov-commenter commented Feb 24, 2022

Codecov Report

Merging #428 (9321f4b) into master (4b1e072) will decrease coverage by 0.02%.
The diff coverage is 92.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #428      +/-   ##
==========================================
- Coverage   91.15%   91.13%   -0.03%     
==========================================
  Files          22       22              
  Lines        3178     3181       +3     
==========================================
+ Hits         2897     2899       +2     
- Misses        281      282       +1     
Impacted Files Coverage Δ
src/FEValues/common_values.jl 91.04% <50.00%> (-0.69%) ⬇️
src/FEValues/cell_values.jl 100.00% <100.00%> (ø)
src/FEValues/face_values.jl 100.00% <100.00%> (ø)
src/Quadrature/quadrature.jl 94.23% <100.00%> (+0.11%) ⬆️
src/interpolations.jl 86.88% <100.00%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b1e072...9321f4b. Read the comment docs.

In both CellValues and FaceValues the qr_weights field is replaced with
the full quadrature rule. For FaceValues the 'dim' parameter of the
quadrature rule is left abstract, but since only the weights vector is
accessed in performance critical code this is not a problem in practice.

Closes #361.
@fredrikekre fredrikekre merged commit ff34602 into master Feb 24, 2022
@fredrikekre fredrikekre deleted the fe/spec_vector branch February 24, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants