scuffcas2d is a commandline utility
very similar to
scuffcas3d,
but with the difference that it computes Casimir interactions
among quasi2D objects instead of compact 3D objects.
(A quasi2D object is an object of infinite extent in one spatial
dimension, which we take to be the z dimension, and constant
cross section in the transverse (xy) dimensions.)
Actually, scuffcas2d is not really part
of the scuffem suite, but
more of a standalone code that is bundled together with the
scuffem distribution because of its
similarity to scuffcas3d. The main
distinction is that, instead of using
RWG basis functions
to describe surface currents,
scuffcas2d uses a different type
of basis function, which I call ``twodimensional rooftop'' (TDRT)
functions. (See Chapter 7 of
my PhD thesis
for more info on TDRT functions and the implementation of
scuffcas2d.)
This means that scuffcas2d  in
contrast to scuffcas3d and all other
codes in the scuffem suite  does not
use the scuffem core library or the
usual .scuffgeo file format for
scuffem geometries. Instead,
for quasi2D geometries there is a slightly different file
format and a slightly different procedure for generating meshed
geometries. These details are discussed in the tutorial and in
the reference sections below.
scuffcas2d
computes Casimir energies and forces per unit length
for a collection of quasi2D objects, at various
displacements and rotations of the objects.
The basic flow of a scuffcas2d run goes
something like this:

You create a 2D mesh file for each distinct object in your
geometry. (scuffcas2d doesn't do the
meshing for you; you use external software like
GMSH or
COMSOL for that.)

You create a simple text file that lists all the objects in your
geometry and specifies their frequencydependent material properties.
(As noted above, the format of this file is similar, but not identical,
to that of the usual
.scuffgeo files used to define
threedimensional scuffem geometries).

You create a second simple text file containing a list of
transformations to be applied to the geometry, where
each transformation is a series of displacements and rotations
applied to one or more of the objects in your geometry.

You run scuffcas2d with appropriate
commandline options to compute Casimir energies and forces
per unit length for your geometry under each of the
transformations you described.

Finally, you interpret the variety of output files that
scuffcas2d emits. In general the
one you will care most about is the
.out file,
which simply lists the computed energy and force
per unit length at each of the transformations you specified.
The documentation for scuffcas2d is divided into the
following sections.
