This macro file can be imported to an input file with
$ import shapes
It is always imported by VSim at the top level.
This macro file is available to all packages.
This macro file defines the macros for adding shapes of different materials.
addShape
(cadBoundaryName, cadFileName, material)Add a shape by writing the GridBoundary block to the shapes accumulation
variable. If PEC, set VPM_CONDUCTING_GRID_BOUNDARY_NAME
to this name
Else If dielectric, add to the dielectric shapes, etc.
Parameters: |
|
---|
addConductor
(materialName, resistance)Add a conducting material.
Parameters: |
|
---|
addDielectric
(materialName, relativePermittivity, conductivity)Add a dielectric material.
Parameters: |
|
---|