qimpy.transport.geometry

Functions

plot_spline

evaluate_spline

spline_length

Compute cubic spline lengths, batched over any preceding dimensions.

within_circles

Return boolean tensor of which circles (first index of result) contain which points.

within_circles_np

Return boolean tensor of which circles (first index of result) contain which points.

parse_svg

Parse SVG file into QuadSet, sampled with grid_spacing, and with vertex equivalence determined with tolerance tol.

subdivide

Subdividide quad_set till all grid dimensions are below grid_size_max.

select_division

Select grid_size_max suitable for division on n_processes.

Classes

BicubicPatch

Transformation based on cubic spline edges.

Advect

Real-space advection on a quad-patch with an arbitrary transformation.

QuadSet

Set of quads, defining simulation geometry.

SubQuadSet

Specifies subdivision of a QuadSet (for flexibility in MPI parallelization).

PatchSet

PatchSet specification.

ParameterGrid

Geometry specification.

Geometry

Geometry specification.