sarkas.processes.Simulation#

class sarkas.processes.Simulation(input_file=None)[source]#

Sarkas simulation wrapper. This class manages the entire simulation and its small moving parts.

Parameters

input_file (str) – Path to the YAML input file.

Methods

Simulation.__init__([input_file])

Simulation.check_restart(phase)

Check if the simulation is a restart.

Simulation.common_parser([filename])

Parse simulation parameters from YAML file.

Simulation.equilibrate()

Run the time integrator with the thermostat to evolve the system to its thermodynamics equilibrium state.

Simulation.evolve_loop(phase, ...)

Simulation.initialization()

Initialize all classes.

Simulation.magnetize()

rtype

None

Simulation.produce()

rtype

None

Simulation.run()

Run the simulation.

Simulation.setup([read_yaml, other_inputs])

Setup simulations' parameters and io subclasses.