pisces.extensions.simulation.core.initial_conditions.InitialConditions1DSpherical.has_particles#

InitialConditions1DSpherical.has_particles(model_name: str) bool#

Check if a specific model has associated particles.

Parameters:

model_name (str) – The name/identifier of the model to check.

Returns:

True if the model has associated particles, False otherwise.

Return type:

bool

Raises:

KeyError – If no model with the given model_name exists.