Recipes# Gradients# Differentiate S-parameters and driven fields Differentiate a SAX circuit with gfem blocks Differentiate a capacitance Differentiate eigenfrequencies, Q and participation ratios Superconducting-circuit metrics and their gradients Shape gradients Differentiate port modes and designs at a port Differentiate an adaptive frequency sweep Differentiate a heater’s phase Differentiate an electro-optic phase Differentiate a transducer’s admittance Designs# Design a patterned metal sheet Optimize a design for fabrication: etch, blur and minimum features Estimate fabrication tolerances and yield Export a design’s layer pattern to GDS Remesh and restart Solving# Solve a device: S-parameters, modes and capacitance Watch a solve run Prepare a mesh for gfem Solve a structure that does not vary along one axis Save and export results Refine the mesh where the error is Model an anisotropic material Frequency-dependent materials and their gradients Find the group index and dispersion of a waveguide Find the Kerr nonlinearity of a waveguide Find the second-harmonic efficiency of a waveguide Find the photon pairs of a waveguide source Fit a measured n, k table to a permittivity law Solve a periodic cell Shine a plane wave on a periodic cell Absorb outgoing waves with a perfectly matched layer Heat a device with a current and read its temperature Heat a device with its electromagnetic loss Find the phase a heater puts on a waveguide Find the phase a voltage puts on a waveguide Find the index change a sound wave puts on a waveguide Find how strongly sound in a wire couples to the light it guides Find a transducer’s admittance and reflection Find the mechanical modes of a film or a rib Follow a temperature over time Request several modes on one port surface Measure fields after the solve Budget a mode’s loss and its T1 limits Solve a driven model too large for the direct solver Run the direct solver on an NVIDIA GPU Solve with PETSc and SLEPc Run a distributed solve Sweep many frequencies See S in the time domain: TDR, TDT and impedance profiles Export S as a SPICE or Verilog-A model Start from a gsim simulation Free space# Light a scatterer with an incident field Measure cross sections Measure the optical force and torque on a body Emit from a point dipole: emitted power, Purcell and beta factors Read a far field: patterns, directivity, gain and radar cross section Decompose scattering into multipoles Periodic surfaces# Efficiencies, power balance and polarization of a periodic cell Effective medium of a periodic slab Emissivity of a periodic surface From a cell response to a metasurface