emMultiField

emMultiField

The emMultiField kind of EmField updates all the electromagnetic fields using the MultiField feature. Please see the Multifield section of this manual for detailed information about MultiField and MultiField parameters.

Use kind = emMultiField to create a MultiField that uses the EmField interface. Any valid MultiField parameters are valid for emMultiField except for depFields.

If emMultiField is going to be used with particles, the particle current/density must be brought in through externalFields = [SumRhoJ].

If emMultiField is going to be used with particles, the particles must be told which fields are to be used for the particle push algorithm. You have 3 options:

  • Use the emField = syntax and define nodal fields specifically named nodalE and nodalB.

  • Use the emField = syntax, change the interpolation to something other than

    linearFromNodalFields, and also specifically name your Yee fields

    ElecMultiField and MagMultiField.

  • Use the fields=[] syntax and specify which fields are to be used for the particle push.

emMultiField Parameters

hasB (option, default=true)

Flag to specify that the magnetic field (if present) will be used in the species update step.

needsRho (option, default=false)

Flag to specify that the charge density is to be used for update step.

needsJ (option, default=true)

Flag to specify that the current density is to be used for update step.