AREPOFrontend#

class pisces.extensions.simulation.arepo.frontends.AREPOFrontend(initial_conditions: InitialConditions, reset_configuration: bool = False, **kwargs)[source]#

Frontend for generating initial conditions compatible with AREPO.

This class provides frontend access for generating initial conditions which can be fed directly to AREPO simulations. Detailed notes on the usage of this frontend and the relevant settings / configuration options can be found on the associated documentation page: Simulations with AREPO.

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

config

The ConfigManager instance associated with this frontend.

config_path

Absolute path to the configuration file for this frontend.

default_configuration_path

Absolute path to the default configuration file template for this frontend.

ic_directory

Filesystem directory where the initial conditions object is stored.

initial_conditions

The IC object that this frontend is bound to.

logger

Logger instance associated with this frontend.

unit_system

Fetch the unit system for this Gadget-like frontend.