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

Basic uniform refinement algorithm #97

Merged
merged 7 commits into from
Jun 28, 2023
Merged

Conversation

termi-official
Copy link
Member

@termi-official termi-official commented Jun 13, 2023

Seems to work fine but fills the ram really quickly due to massive duplication in the computations. Not sure how to address this in a cache-friendly way.

TODO

  • Clarify docs further

Copy link
Member

@koehlerson koehlerson left a comment

Choose a reason for hiding this comment

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

few questions

src/utils.jl Show resolved Hide resolved
src/utils.jl Show resolved Hide resolved
src/utils.jl Show resolved Hide resolved
@koehlerson
Copy link
Member

can you benchmark transfer_solution on this branch and master? After that I can merge it

@termi-official
Copy link
Member Author

termi-official commented Jun 27, 2023

using FerriteViz;
include("docs/src/ferrite-examples/heat-equation.jl");
dh, u = manufactured_heat_problem(Hexahedron, Lagrange{3, RefCube, 2}(), 20);
plotter = FerriteViz.MakiePlotter(dh,u);
FerriteViz.transfer_solution(plotter, u);
@time FerriteViz.transfer_solution(plotter, u);

PR: 0.142724 seconds (41 allocations: 4.601 MiB)
Master: 0.138495 seconds (41 allocations: 4.601 MiB)

@koehlerson koehlerson merged commit 37cbeac into master Jun 28, 2023
@koehlerson koehlerson deleted the do/uniform-refinement branch June 28, 2023 11:15
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