Hi everyone,

Is there a straightforward way of creating a spherical data object by specifying the total enclosed mass, rather than the radius?

If not, I supposed I could write an iterative algorithm that would do it, but I'd rather avoid that if there's an easier way provided by yt.

Thanks for your help.

Dan