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

Simplify evaluate_at_grid_nodes #1097

Merged
merged 6 commits into from
Nov 6, 2024
Merged

Simplify evaluate_at_grid_nodes #1097

merged 6 commits into from
Nov 6, 2024

Conversation

lijas
Copy link
Collaborator

@lijas lijas commented Oct 29, 2024

There were some hacks in evaluate_at_grid_nodes for embedded element which I don't think is needed anymore.
Also added shape_value_type(::Interpolation, T) which I think will be required for #958 also.

Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.57%. Comparing base (b56e2c9) to head (f3c8add).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1097      +/-   ##
==========================================
- Coverage   93.57%   93.57%   -0.01%     
==========================================
  Files          39       39              
  Lines        6074     6071       -3     
==========================================
- Hits         5684     5681       -3     
  Misses        390      390              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@KnutAM KnutAM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like good changes to me!
GitHub/CodeCov complains that it isn't covered by tests, that looks odd to me?
Edit: NVM, the codecov report show these lines as covered

src/Dofs/DofHandler.jl Outdated Show resolved Hide resolved
src/interpolations.jl Outdated Show resolved Hide resolved
src/interpolations.jl Outdated Show resolved Hide resolved
@lijas lijas requested a review from KnutAM November 4, 2024 15:17
Copy link
Member

@KnutAM KnutAM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if formatting is fixed such that runic / pre-commit workflows pass.

I guess tests should test the vtk path, but did you also check manually that export of the solution gives correct vtk output?

src/Dofs/DofHandler.jl Outdated Show resolved Hide resolved
@lijas
Copy link
Collaborator Author

lijas commented Nov 6, 2024

Yes, the vtk output looks correct (checked manually). And we have tests that check if the hash of vtk-files changes, right?

@lijas lijas merged commit 3b081be into master Nov 6, 2024
16 checks passed
@lijas lijas deleted the simplify_export branch November 6, 2024 07:49
@KnutAM
Copy link
Member

KnutAM commented Nov 6, 2024

And we have tests that check if the hash of vtk-files changes, right?

True, I wasn't sure if the writing of solution was covered by those, but seems so!

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