Comments (2)
Ah, that's an interesting interpretation! Here's what I've been thinking about the value of
- be high enough so that, at force equilibrium, for all distances,
$d^2 / \hat{d}^2 > 0.05$ (or something like that, I can't remember what a reasonable value is), i.e. we want to keep the distance in the "well-conditioned" part of the log barrier (i.e. in the part of the domain where it does not change too rapidly). - not be so high as to cause excessive stiffness and conditioning issues in the other direction
Since we look at the ratio between
Feel free to close this unless you want to track the change you said you wanted to make. I guess long term you probably also want to document what the convergent formulation actually does, but I suspect this will eventually appear in due time anyway :-)
from ipc-toolkit.
The intention of this change is to be able to express the barrier potential in the same physical units as the elasticity potential (i.e., Pa
The relationship between
In the toolkit, we only implement weight
for simplicity of implementation.
However, we are using distances squared so we actually want to compute
Again the relationship between
Again, we only implement weight
for simplicity of implementation. However, I am dividing by
This will still not produce the same behavior as you expect (because we multiply the normalized barrier by
The intention is to treat the barriers as a thin elastic region around the mesh, and having consistent units makes it easier to pick the stiffness for this "material".
from ipc-toolkit.
Related Issues (16)
- issue in distance_type.tpp HOT 3
- std::array issue HOT 2
- Co-dimensional simulations HOT 4
- EdgeEdgeConstraint distance gradient crash HOT 1
- Questions regarding RigidIPC and GPU CCD HOT 1
- Clarify dimensions of matrix inputs HOT 3
- Slightly confusing documentation for CollisionMesh HOT 4
- Shallow checkout with FetchContent may fail if tag is not HEAD HOT 4
- Control threading behavior HOT 3
- Unexpectedly slow CCD HOT 13
- Consider changing naming convention to indicate squared distances HOT 3
- Average body mass in IPC-toolkit vs average lumped nodal mass in IPC HOT 4
- Basic example of initialization and simulation loop HOT 2
- Closed-form expressions for the Distance Gradients / Hessians HOT 1
- Possible Bug in the Definition of the Hash Structure HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipc-toolkit.