pisces.extensions.simulation.gadget.frontends.Gadget4Frontend.generate_initial_conditions#
- Gadget4Frontend.generate_initial_conditions(*args, **kwargs) Any #
Generate the necessary initial condition files from this frontend.
This method serves as the main entry point for generating initial conditions. It first validates the runtime configuration using
_validate_runtime_configuration()
, and then calls_generate_initial_conditions()
to perform the actual file generation.Depending on the frontend implementation, this may involve writing files in a specific format, creating metadata, or performing additional setup steps.
- Parameters:
*args – Positional arguments forwarded to both validation and generation.
**kwargs – Keyword arguments forwarded to both validation and generation.
- Returns:
The output from :meth:`_generate_initial_conditions`
,which may vary
depending on the frontend implementation.