-
Notifications
You must be signed in to change notification settings - Fork 35
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
Bifurcation tree start #121
Conversation
@@ -134,6 +134,14 @@ def addChild(self, childTreeNode, d1=None, r=None): | |||
self._r.append(r) | |||
self._children.append(childTreeNode) | |||
|
|||
def getChild(self, childIndex): |
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.
giving coordinates, derivatives and radius to the input nodes
@@ -223,7 +231,7 @@ def generateZincModel(self, region, nextNodeIdentifier=1, nextElementIdentifier= | |||
self._radius = findOrCreateFieldFiniteElement(self._fieldmodule, "radius", components_count=1, managed=True) | |||
self._fieldcache = self._fieldmodule.createFieldcache() | |||
parentNode = None | |||
self._generateZincModelTree(self._rootNode, parentNode, nextNodeIdentifier, nextElementIdentifier) | |||
nextNodeIdentifier, nextElementIdentifier = self._generateZincModelTree(self._rootNode, parentNode, nextNodeIdentifier, nextElementIdentifier) |
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.
creating a new node and element for the next node Identifier
|
||
|
||
def get_curve_circle_points(x1, xd1, x2, xd2, r1, rd1, r2, rd2, xi, dmag, side, elementsCountAround): |
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.
create a curvature around the circle nodes (giving the points and the derivatives around the central point)
return x, d1, d2 | ||
|
||
|
||
def track_curve_side_axis(x1, d1, x2, d2, sideStart, xiStart, xiEnd): |
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 function does nothing
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.
It was planned to track the sideStart side vector from xiStart (xi coordinates along curve) to it's equivalent orientation at xiEnd. x1,d1,x2,d2 define a hermite curve.
No description provided.