<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hi everyone,<div><br></div><div>Is there a straightforward way of creating a spherical data object by specifying the total enclosed mass, rather than the radius?</div><div><br></div><div>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.</div><div><br></div><div>Thanks for your help.</div><div><br></div><div>Dan</div></div>