sarkas.processes.Simulation
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.
Run the time integrator with the thermostat to evolve the system to its thermodynamics equilibrium state.
Simulation.evolve_loop(phase, ...)Initialize all classes.
- rtype
- rtype
Run the simulation.
Simulation.setup([read_yaml, other_inputs])Setup simulations' parameters and io subclasses.