Files
entropic-spring/Link.py
2025-10-17 19:29:12 +02:00

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