Skip to content

Fixes and Updates - #40

Merged
DRollin merged 14 commits into
Ferrite-FEM:mainfrom
DRollin:dr/fixes
Jul 9, 2026
Merged

Fixes and Updates#40
DRollin merged 14 commits into
Ferrite-FEM:mainfrom
DRollin:dr/fixes

Conversation

@DRollin

@DRollin DRollin commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.13483% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.65%. Comparing base (1076576) to head (4a79dfc).

Files with missing lines Patch % Lines
src/grid.jl 91.02% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
+ Coverage   89.29%   90.65%   +1.35%     
==========================================
  Files           5        5              
  Lines         327      353      +26     
==========================================
+ Hits          292      320      +28     
+ Misses         35       33       -2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DRollin

DRollin commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator Author

I am not completely happy with the new way of testing, but for now this fixes #34

@DRollin

DRollin commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

I improved the grid tests and fixed #35
However, mixed grids are now only supported for Triangle-Quadrilateral connections.
I am not sure how to support more general interfaces, which would require a rework of the InterfaceCellValues

@termi-official

termi-official commented Jul 7, 2026

Copy link
Copy Markdown
Member

However, mixed grids are now only supported for Triangle-Quadrilateral connections.

This is already great progress!

I am not sure how to support more general interfaces, which would require a rework of the InterfaceCellValues

What is the blocker here? We can also leave this for later if this is a bigger todo.

Comment thread src/grid.jl

"""
get_interface_base_cell_type(::Type{<:AbstractCell})
get_interface_base_cell_type(::Type{<:AbstractCell}, ::Type{<:AbstractCell})

@termi-official termi-official Jul 7, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think you still need to pass information about which local facet is used to support pyramids+wedges.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I used the number of nodes on one face as a criterion instead.
The nodes were past to the function one layer up anyway and should be usable independent of the cell types.
I only added a very basic test, but it seems to be working for pyramids and wedges.

@DRollin

DRollin commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

However, mixed grids are now only supported for Triangle-Quadrilateral connections.

This is already great progress!

I am not sure how to support more general interfaces, which would require a rework of the InterfaceCellValues

What is the blocker here? We can also leave this for later if this is a bigger todo.

Currently, the InterfaceCellValues use the same type of underlying CellValues on both sides.
For more general interfaces, we would have to allow for two different types of CellValues.
In my very first version, that was allowed and we had a long discussion about it and agreed to rather simplify things.

@DRollin

DRollin commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

This should now also solve #39
I think these are enough changes for one PR and it could be merged.

@termi-official

Copy link
Copy Markdown
Member

Note that the 1.10 CI is failing.

@DRollin
DRollin merged commit bc7ce6f into Ferrite-FEM:main Jul 9, 2026
6 checks passed
@DRollin
DRollin deleted the dr/fixes branch July 9, 2026 08:29
Comment thread Manifest.toml
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