Transport input documentation

Compose a System to calculate from its pieces. Each piece could be provided as an object or a dictionary of parameters suitable for initializing that object.

Used to initialize class qimpy.transport.Transport.

YAML template:

geometry:                                                                                   # Geometry specification:
  vertices: [list of list of float,, or <class 'numpy.ndarray'> or <class 'torch.Tensor'>]  # Caretsian vertex coordinates (n_vertices x 2).
  edges: [list of list of int,, or <class 'numpy.ndarray'> or <class 'torch.Tensor'>]       # Indices of vertices in edges (n_edges x 4).
  quads: [list of list of int,, or <class 'numpy.ndarray'> or <class 'torch.Tensor'>]       # Indices of edges in each quad (n_quads x 4).

material:                                                                                   # Material specification:
  fname: [string]                                                                           # File name to load materials data from.
  rotation: ((1, 0, 0), (0, 1, 0, (0, 0, 1)))                                               # 3 x 3 rotation matrix from material to simulation frame.

checkpoint: null                                                                            # Checkpoint file to read at start-up.
checkpoint-out: null                                                                        # Checkpoint file to write.

Component classes:

Parameters:

geometry

Type: Geometry

Geometry specification.

material

Type: Material

Material specification.

checkpoint

Type: string or null, Default: null

Checkpoint file to read at start-up.

checkpoint-out

Type: string or null, Default: null

Checkpoint file to write. Defaults to checkpoint if unspecified.