Electromagnetic source assignments
ElectromagneticSourceAssignment object describes the
material properties of an electromagnetic model. An
container has a vector of
objects in its
Create material property assignments for your electromagnetic model using the
RegionType— Geometric region type
'Face'for a 2-D model |
'Cell'for a 3-D model
Geometric region type, returned as
'Face' for a 2-D model or
'Cell' for a 3-D model.
RegionID— Region ID
Region ID, specified as a vector of positive integers. Find the face or cell IDs by
pdegplot with the
'CellLabels' name-value argument
ChargeDensity— Charge density
Charge density, returned as a real number for a constant charge density or a function handle for a charge density that depends on the coordinates.
CurrentDensity— Current density
Current density, returned as a real number for a constant current density or a function handle for a current density that depends on the coordinates.