Click or drag to resize

FESolverOptions Class

An object implementing the Finite Element Solver Options in Charge Domain.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V26.Charging.DomainFESolverOptions

Namespace: ema3d.Api.V26.Charging.Domain
Assembly: ema3d.Api.V26 (in ema3d.Api.V26.dll) Version: 0.0.0.0
Syntax
public sealed class FESolverOptions

The FESolverOptions type exposes the following members.

Properties
 NameDescription
Public propertyConductiveScaling Option to enable conductive scaling in FE solver.
Public propertyConductiveSteps Number of conductive steps to be used in FE solver.
Public propertyGauge Option to use Lorenz or Coulomb gauge in FE solver.
Public propertyInternalSolver Option to use either the full-wave or quasi-static FE solver.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
This does not directly wrap the ChargingSolverOptions, but instead implements some of the wrapped properties of ChargingSolverOptions to be used in Charge Domain. Corresponds to the Finite Element Solver Options in the UI.
Example
Python
from ema3d.Api.V26.Charging.Domain import ChargeDomain as ChargeDomain
from ema3d.Api.V26.Charging.Domain import ChargingEnvironment as ChargingEnvironment
from ema3d.Api.V26.Charging.Domain import InternalSolver as InternalSolver
from ema3d.Api.V26.Charging.Domain import GaugeType as GaugeType

_cd = ChargeDomain.GetInstance(Window.ActiveWindow.Document)
_cd.SwitchChargingOptions.SimulationType = ChargingEnvironment.Custom

_cd.FESolverOptions.InternalSolver = InternalSolver.Full
_cd.FESolverOptions.Gauge = GaugeType.Coulomb
_cd.FESolverOptions.ConductiveScaling = True
_cd.FESolverOptions.ConductiveSteps = 10
See Also