mirror of
https://gitlab.com/pimnelissen/entropic-spring.git
synced 2025-11-30 19:33:07 +01:00
12 lines
290 B
Python
12 lines
290 B
Python
class Link:
|
|
def __init__(self, direction):
|
|
"""
|
|
An incompressible link of fixed length a and either a positive or
|
|
negative direction.
|
|
|
|
Parameters:
|
|
direction (int) The direction. Must be 1 or -1.
|
|
"""
|
|
|
|
self.direction = direction
|