#include <TorusGeometry.hpp>
Public Member Functions | |
double | cutoffRadius () const |
double | density (double R, double z) const override |
double | exponent () const |
Position | generatePosition () const override |
double | index () const |
double | maxRadius () const |
double | minRadius () const |
double | openingAngle () const |
bool | reshapeInnerRadius () const |
double | SigmaR () const override |
double | SigmaZ () const override |
![]() | |
virtual double | density (double R, double z) const =0 |
double | density (Position bfr) const override |
int | dimension () const override |
virtual double | SigmaR () const =0 |
double | SigmaX () const override |
double | SigmaY () const override |
virtual double | density (Position bfr) const =0 |
virtual int | dimension () const =0 |
virtual Position | generatePosition () const =0 |
virtual double | SigmaX () const =0 |
virtual double | SigmaY () const =0 |
virtual double | SigmaZ () const =0 |
![]() | |
template<class T > | |
T * | find (bool setup=true) const |
template<class T > | |
T * | interface (int levels=-999999, bool setup=true) const |
virtual string | itemName () const |
void | setup () |
string | typeAndName () const |
![]() | |
Item (const Item &)=delete | |
virtual | ~Item () |
void | addChild (Item *child) |
const vector< Item * > & | children () const |
virtual void | clearItemListProperty (const PropertyDef *property) |
void | destroyChild (Item *child) |
virtual bool | getBoolProperty (const PropertyDef *property) const |
virtual vector< double > | getDoubleListProperty (const PropertyDef *property) const |
virtual double | getDoubleProperty (const PropertyDef *property) const |
virtual string | getEnumProperty (const PropertyDef *property) const |
virtual int | getIntProperty (const PropertyDef *property) const |
virtual vector< Item * > | getItemListProperty (const PropertyDef *property) const |
virtual Item * | getItemProperty (const PropertyDef *property) const |
virtual string | getStringProperty (const PropertyDef *property) const |
int | getUtilityProperty (string name) const |
virtual void | insertIntoItemListProperty (const PropertyDef *property, int index, Item *item) |
Item & | operator= (const Item &)=delete |
Item * | parent () const |
virtual void | removeFromItemListProperty (const PropertyDef *property, int index) |
virtual void | setBoolProperty (const PropertyDef *property, bool value) |
virtual void | setDoubleListProperty (const PropertyDef *property, vector< double > value) |
virtual void | setDoubleProperty (const PropertyDef *property, double value) |
virtual void | setEnumProperty (const PropertyDef *property, string value) |
virtual void | setIntProperty (const PropertyDef *property, int value) |
virtual void | setItemProperty (const PropertyDef *property, Item *item) |
virtual void | setStringProperty (const PropertyDef *property, string value) |
void | setUtilityProperty (string name, int value) |
virtual string | type () const |
Protected Member Functions | |
TorusGeometry () | |
void | setupSelfBefore () override |
![]() | |
AxGeometry () | |
![]() | |
Geometry () | |
Random * | random () const |
void | setupSelfBefore () override |
![]() | |
SimulationItem () | |
virtual bool | offersInterface (const std::type_info &interfaceTypeInfo) const |
virtual void | setupSelfAfter () |
virtual void | setupSelfBefore () |
![]() | |
Item () | |
Private Types | |
using | BaseType = AxGeometry |
using | ItemType = TorusGeometry |
Friends | |
class | ItemRegistry |
The TorusGeometry class is a subclass of the AxGeometry class and describes the geometry of an axisymmetric torus as assumed to be present in the centre of active galactic nuclei (AGN). This geometry is described by a radial power-law density with a finite opening angle; see Stalevski et al. (2012, MNRAS, 420, 2756–2772) and Granato & Danese (1994, MNRAS, 268, 235). In formula, it is most easily expressed in spherical coordinates as
There are five free parameters describing this dust geometry: the inner and outer radii
If the dusty system under consideration is in the vicinity of an AGN central engine or another source which is luminous enough to heat the dust up to sublimation temperature, the inner radius should correspond to sublimation radius and scale as
This should allow dust to approach all the way to the primary central source in the equatorial plane. However, due to the finite resolution of dust cells, it may happen that some of the innermost cells end up with unphysically high temperatures. For this reason, there is an additional input parameter, the cutoff radius
The total dust mass of the model corresponds to the mass of the original geometry, before the inner wall is reshaped to account for anisotropy; the difference is usually rather small.
|
inlineprotected |
Default constructor for concrete Item subclass TorusGeometry : "a torus geometry" .
|
inline |
This function returns the value of the discoverable double property cutoffRadius : "the inner cutoff radius of the torus" .
This property represents a physical quantity of type "length" .
The minimum value for this property is "[0" .
The default value for this property is given by the conditional value expression "0" .
This property is relevant only if the Boolean expression "reshapeInnerRadius" evaluates to true after replacing the names by true or false depending on their presence.
|
overridevirtual |
This function returns the density
Implements AxGeometry.
|
inline |
This function returns the value of the discoverable double property exponent : "the radial powerlaw exponent p of the torus" .
The minimum value for this property is "[0" .
|
overridevirtual |
This function generates a random position from the torus geometry, by drawing a random point from the three-dimensional probability density
For the radial coordinate, the appropriate probability distribution is
for
Inverting this results in
For
In this expression,
Finally, for the polar angle, the appropriate distribution function is
A random polar angle is generated by picking a new uniform deviate
for
Inverting this gives
Implements Geometry.
|
inline |
This function returns the value of the discoverable double property index : "the polar index q of the torus" .
The minimum value for this property is "[0" .
|
inline |
This function returns the value of the discoverable double property maxRadius : "the maximum radius of the torus" .
This property represents a physical quantity of type "length" .
The minimum value for this property is "]0" .
|
inline |
This function returns the value of the discoverable double property minRadius : "the minimum radius of the torus" .
This property represents a physical quantity of type "length" .
The minimum value for this property is "]0" .
|
inline |
This function returns the value of the discoverable double property openingAngle : "the half opening angle of the torus" .
This property represents a physical quantity of type "posangle" .
The minimum value for this property is "[0 deg" .
The maximum value for this property is "90 deg]" .
|
inline |
This function returns the value of the discoverable Boolean property reshapeInnerRadius : "reshape the inner radius according to the Netzer luminosity profile" .
The default value for this property is given by the conditional value expression "false" .
This property is displayed only if the Boolean expression "Level2" evaluates to true after replacing the names by true or false depending on their presence.
|
overrideprotectedvirtual |
This function calculates some frequently used values. The normalization parameter
This results in
with
Reimplemented from Geometry.
|
overridevirtual |
This function returns the radial surface density, i.e. the integration of the density along a line in the equatorial plane starting at the centre of the coordinate system,
For the torus geometry,
with
Implements AxGeometry.
|
overridevirtual |
This function returns the Z-axis surface density, i.e. the integration of the density along the entire Z-axis,
For the torus geometry this integral is simply zero (we exclude the special limiting case where
Implements Geometry.