EllipticCylinder

Concrete subclass of GenericCylinder representing a cylinder with an elliptical cross section.

Contents

Description

EllipticCylinder represents the shape of an ellicptic cylinder. The major and minor axes of the ellipse as well as the axis of the cylinder should be aligned with the axes of the Cartesian coordinate system.

Construction

shape = EllipticCylinder(normal_axis, height, center, semiaxes)
shape = EllipticCylinder(normal_axis, height, center, semiaxes, dl_max)

Input Arguments

Example

% Create an instance of EllipticCylinder.
shape = EllipticCylinder(Axis.z, 100, [0 0 50], [100 50]);
% Use the constructed shape in maxwell_run().
[E, H] = maxwell_run({INITIAL ARGUMENTS}, 'OBJ', {'vacuum', 'none', 1.0}, shape, {REMAINING ARGUMENTS});

See Also

CircularCylinder, SectoralCylinder, PolygonalCylinder, Shape, maxwell_run