NAME
olink
SYNOPSIS
olink e1 e2 [-b break] [-l rest] [-s stiff]
DESCRIPTION
olink creates creates one link between each immersed boundary point in entity e1 and a corresponding immersed boundary point on entity e2.olink requires two arguments. These are;
To link two entities, they must each be named. Therefore, in the definition of those entities, the -N or -A flags must be used.
- e1 - the name of one of the linked entities.
- e2 - the name of the other linked entity.
olink interpretes the following options.
- -b break = link breaking length(as a fraction of the initial length)
- -l rest = link resting length (as a fraction of the initial length)
- -s stiff = stiffness of the elastic springs
To use olink, the two entities that are linked must have an identical number of immersed boundary points. The user can ensure this by using the -n command when specifying the entities.
The links are formed by the following method. Let xj be the jth point on entity e1 and let Xj be the jth point on entity e2. Then a link is formed from xj to Xj for every pair.
To make a logical linking structure, the first point on entity e1 should be closer to the first point on entity e2 than to any other point on entity e2. This is not a requirement of olink however.
SEE ALSO
spring, blink, link, slink
EXAMPLE
circle 0.25 1.25 0.05 -N 1 -n 100 circle 0.25 1.25 0.07 -N 2 -n 100 olink 1 2
This code establishes a 100 link network between the two concentric circles.