This grid maker can build you grids for use in mocassin, in the form of spherical or elliptical shells, toruses, or bipolar outflows, or any superposition of these.

nx: ny: nz: Grid cell size proportional to r^{what?}: SymmetricXYZ?

Inner radii: x: y: z: cm AU Solar radii Light years Parsecs Outer radii: x: y: z: cm AU Solar radii Light years Parsecs Particle density proportional to r^{what?}: Particle density at shell inner radius 1:

For an inclination of 0, the torus lies in the XY plane and so is in the plane of the sky when viewed along the z-axis.

Torus radius: cm AU Solar radii Light years Parsecs Tube radius: cm AU Solar radii Light years Parsecs Particle number density at inner and outer edges: Inclination (degrees):

The bipolar component is modelled as a shell lying between two ellipsoids with vertices at the origin, opening out along the z-axis.

Inner ellipsoid semimajor axis: cm AU Solar radii Light years Parsecs Semiminor axis: cm AU Solar radii Light years Parsecs Outer ellipsoid semimajor axis: cm AU Solar radii Light years Parsecs Semiminor axis: cm AU Solar radii Light years Parsecs Particle density proportional to r^{what?}: Particle density at distance=semimajor axis: Cutoff at z=: cm AU Solar radii Light years Parsecs