Click or drag to resize

E3DSimulation Class

A single or multi-run EMA3D FDTD simulation.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25.Core.ExecutionSubProcessBase
    ema3d.Api.V25.Core.ExecutionE3DSimulation

Namespace: ema3d.Api.V25.Core.Execution
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class E3DSimulation : SubProcessBase

The E3DSimulation type exposes the following members.

Properties
 NameDescription
Public propertyEndTime Gets time that the process finished or current time if process is still running.
(Inherited from SubProcessBase)
Public propertyProgress Gets the current percent completion of process [0 - 100].
(Inherited from SubProcessBase)
Public propertyStartTime Gets time that the process was started.
(Inherited from SubProcessBase)
Public propertyStatus Gets current status of the process.
(Inherited from SubProcessBase)
Top
Methods
 NameDescription
Public methodStatic memberBuildResults 
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from SubProcessBase)
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 methodKill Kills the process.
(Inherited from SubProcessBase)
Public methodStatic memberLaunch Starts a standard EMA3D FDTD simulation using the provided input file.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWaitForCompletion Blocks until the process finishes.
(Inherited from SubProcessBase)
Public methodWaitForCompletion(CancellationToken) Blocks until the process finishes.
(Inherited from SubProcessBase)
Top
Events
 NameDescription
Public eventMessageReceived Occurs when some message is received from the process.
(Inherited from SubProcessBase)
Top
Example
Python
from ema3d.Api.V25.Core.Execution import E3DSimulation as E3DSimulation
# Run simulation from filepath
_filepath = r"C:\Users\Example Simulation\Domain.emin"
_sim = E3DSimulation.Launch(_filepath).WaitForCompletion()
See Also