-
Notifications
You must be signed in to change notification settings - Fork 18
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
energy #350
energy #350
Conversation
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.
some comments
…shing-toolkit into hackthon/yunfan/energy
… building due to autodiff not included
src/wmtk/energy/ValenceEnergy.cpp
Outdated
// assume tuple is not a boundary edge | ||
const Tuple current_v = tuple; | ||
const Tuple other_v = m_mesh.switch_vertex(tuple); | ||
long val0 = static_cast<long>(SimplicialComplex::vertex_one_ring(mesh(), current_v).size()); |
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.
this valence definition is very specific to collapse. The ValenceEnergy should just return the valence - this calculation for predicting the before/after only makes sense as an Invariant
…shing-toolkit into hackthon/yunfan/energy
…n/yunfan/energy
…ng/wildmeshing-toolkit into hackthon/yunfan/energy
… Mesh Valence function
…y-what-simplex-they-operate-on
…lidity of PerSimplexFunction at construction time
…lex-they-operate-on' of https://github.com/wildmeshing/wildmeshing-toolkit into 456-improve-semantics-of-functions-to-clarify-what-simplex-they-operate-on
…ctions-to-clarify-what-simplex-they-operate-on 456 improve semantics of functions to clarify what simplex they operate on
Codecov Report
@@ Coverage Diff @@
## main #350 +/- ##
==========================================
- Coverage 85.81% 83.40% -2.42%
==========================================
Files 187 213 +26
Lines 5401 5948 +547
==========================================
+ Hits 4635 4961 +326
- Misses 766 987 +221
Flags with carried forward coverage won't be shown. Click here to find out more.
|
No description provided.