VSimPf.mac

This macro file can be imported to an input file with.

$ import VSimPf

This macro file is available to all packages.

This macro file defines macros for the updaters of EM fields to provide high resolution data for calculating secondary electron production and multipacting effects. Will only work with PEC grid boundaries.

This macro file defines the following public macros:

Public Macros

addTimeDependence(name, function)

Sets the global variable VPM_MODE_FUNCTION. This is the time dependent mode function of a cavity.

Parameters:
  • name – The name of the cavity in which to add the time-dependent mode function.
  • function – The time-dependent function of the mode.