model.HydrostaticEquilibrium.set_rmax#
- HydrostaticEquilibrium.set_rmax(r_max)#
Truncate the model at a specified maximal radius.
- Parameters:
r_max (
float
) – The maximal radius at which to truncate.- Returns:
A new
model.ClusterModel
instance with a truncated maximal radius.- Return type: