Restart |
The RestartSimulation type exposes the following members.
| Name | Description | |
|---|---|---|
| RestartSimulation |
| Name | Description | |
|---|---|---|
| Create | Creates a RestartSimulation instance. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Execute | Extracts initial conditions from the given HDF5 file with specified timesteps. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
from ema3d.Api.V26.Charging.Execution import RestartSimulation h5_path = r"C:\Documents\Restart Simulation Model\restart_model\N2_arcing_model\1\CHARGE_results.h5" time_steps = 5 rs = RestartSimulation.Create() result = rs.Execute(h5_path, time_steps)