rgrow.TileSet#

class rgrow.TileSet#

A class representing a tile set.

Parameters:
tileslist[Tile]

The tiles in the tile set.

bondslist[tuple[str | int, float]]

The bonds in the tile set. Each bond is a tuple of the name of the glue and the strength of the bond.

glueslist[tuple[str | int, str | int, float]]

Specific glue-glue interactions.

optionsdict

Options for the tile set.

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_dict($cls, data)

Creates a TileSet from a dict by exporting to json, then parsing the json.

from_file($cls, path)

Parses a file (JSON, YAML, etc) into a TileSet

from_json($cls, data)

Parses a JSON string into a TileSet.

run_ffs([config])

Runs FFS.

run_window()

Creates a simulation, and runs it in a UI.

to_simulation()

Creates a Simulation from the TileSet.

Attributes

tiles