Module electro::topo [] [src]

Functions for producing electrically useful matrix topologies.

Structs

Cyl

Topology for cylindrical grids.

ParallelPlate

Topology for parallel plate (capacitors).

Statics

TAU

The circle constant. Also known as 2*pi.

Functions

ccw_rect_from_corners

Creates a vector of coordinates proceeding in counterclockwise order. The coordinates can be given in any order, but they have to form a rectangle (e.g., share their first and second coordinates with two other coordinate pairs).

coax

Produces a centered circular conductor in a new matrix.

coax_inplace

Produces a centered circular conductor in a matrix.

lin_vec

Creates a vector spaced uniformly (as possible within type restrictions).

microstrip

Produces a microstrip conductor in a new matrix.

microstrip_inplace

Produces a microstrip conductor in a matrix.

pairwise_dist

Computes the Euclidean distance between two points.

split_feed

Produces a centered split rectangular conductor in a new matrix.

split_feed_inplace

Produces a centered split rectangular conductor in a matrix.

stripline

Produces a stripline feed in a new matrix.

stripline_inplace

Produces a stripline feed in a matrix.

uniform_grid

Creates a grid spaced uniformly (as possible within type restrictions).