-
Notifications
You must be signed in to change notification settings - Fork 92
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
Lots of stuff... #125
Lots of stuff... #125
Conversation
Nice, possible to extract renaming commits to another PR and merge that? |
Yes |
add face iterator remove the redundant face list fixup iterators remove stupid getface
update for file move
53e985f
to
5d8d59d
Compare
Sorry for the mess... I will try to fix it up later. The interesting changes right now are the following:
Everything is showed in the committed |
Codecov Report
@@ Coverage Diff @@
## master #125 +/- ##
==========================================
- Coverage 88.81% 87.91% -0.91%
==========================================
Files 14 17 +3
Lines 948 1274 +326
==========================================
+ Hits 842 1120 +278
- Misses 106 154 +48
Continue to review full report at Codecov.
|
d5d6d8d
to
1a3b56e
Compare
# Adds a boundary condition | ||
function add!(dbcs::DirichletBoundaryConditions, field::Symbol, | ||
nodes::Union{Set{Int}, Vector{Int}}, f::Function, components::Vector{Int}) | ||
field in dbcs.dh.field_names || error("field $field did not exist in the dof handler, exisitng fields are $(dh.field_names)") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
existing
src/FEValues/cell_values.jl
Outdated
end | ||
|
||
CellVectorValues{dim, FIP <: Interpolation, GIP <: Interpolation}(quad_rule::QuadratureRule{dim}, func_interpol::FIP, geom_interpol::GIP=func_interpol) = | ||
function CellVectorValues{dim}(quad_rule::QuadratureRule{dim}, func_interpol::Interpolation, geom_interpol::Interpolation=func_interpol) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might as well remove dim
parameter here too
examples/cantilever.ipynb
Outdated
"name": "stderr", | ||
"output_type": "stream", | ||
"text": [ | ||
"\u001b[1m\u001b[34mINFO: Recompiling stale cache file /home/kristoffer/.julia/lib/v0.5/JuAFEM.ji for module JuAFEM.\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Argh!
I dunno why 0.5 is so slow for hyper elasticity... |
Everything is like super slow on 0.5... Stiffness example takes 1.6s on 0.6 and 45s on 0.5... |
It's probably Ferrite-FEM/Tensors.jl#19 |
Ah.. yeah. |
Maybe we should revert it... and just add it to a 0.6 only release later? It makes things pretty unusable on 0.5 |
It's a non-trivial revert at this point. Perhaps just checkout an old commit of |
such performance 40 min assemble |
I think it is because inlining is disabled on 0.5? |
How come? |
Because on 0.5 |
Oh okay. Perhaps just run the notebooks on 0.6 then, consider them doctests which we also only run on 0.6? |
Yes, that sounds ok! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge?
Easier to fix small things later than to do more on this branch imo |
Yes, I agree |
No description provided.