Files
entropic-spring/Link.py
2025-10-24 12:51:38 +02:00

11 lines
289 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