GadgetLikeFrontend#
- class pisces.extensions.simulation.core.frontends.GadgetLikeFrontend(initial_conditions: InitialConditions, reset_configuration: bool = False, **kwargs)[source]#
Abstract skeleton for Gadget-like simulation frontends.
Methods
__init__(initial_conditions[, ...])Construct a simulation frontend and attach it to an IC object.
generate_initial_conditions(filename, *args)Generate Gadget-compatible initial condition files for this frontend.
Attributes
The
ConfigManagerinstance associated with this frontend.Absolute path to the configuration file for this frontend.
Absolute path to the default configuration file template for this frontend.
Filesystem directory where the initial conditions object is stored.
The IC object that this frontend is bound to.
Logger instance associated with this frontend.
Fetch the unit system for this Gadget-like frontend.