|
From: | Axel Arnold |
Subject: | Re: [ESPResSo-users] constraint, i.e, shrinking cylinder |
Date: | Tue, 9 Jun 2015 18:02:27 +0200 |
Hi!
./src/core/constraint.cpp ./src/core/constraint.hpp ./src/tcl/constraint_tcl.cpp ./src/tcl/constraint_tcl.hpp ./src/core/interaction_data.hpp They are described by magic constants in interaction_data.hpp, and by gripping for CONSTRAINT_CYL, you can find the code implementing the cylinder constraint. Mostly, the constraints are defined by a distance function, and for any other than the shapes that are predefined, you will need to write a new one. Just follow the CONSTRAINT_CYLs... Best, Axel -------------------------------------------- Axel Arnold
Martha-Schmidtmann-Str. 7 70374 Stuttgart, Germany Email: address@hidden Phone: +49 173 870 6659 |
[Prev in Thread] | Current Thread | [Next in Thread] |