SMILE  v2.5
Schwarzschild Modelling Interactive expLoratory Environment
Public Attributes | List of all members
smile::CConfigPotential Struct Reference

structure that contains parameters for all possible potentials More...

#include <potential.h>

Public Attributes

double mass
 total mass of the model (not applicable to all potential types)
 
double scalerad
 scale radius of the model (if applicable)
 
double scalerad2
 second scale radius of the model (if applicable)
 
double q
 
double p
 axis ratio of the model (if applicable)
 
double Gamma
 central cusp slope (for Dehnen and scale-free models)
 
double sersicIndex
 Sersic index (for Sersic density model)
 
size_t Ncoefs_radial
 
size_t Ncoefs_angular
 number of radial and angular coefficients in spherical-harmonic expansion
 
size_t Ncoefs_vertical
 number of coefficients in z-direction for Cylindrical potential
 
double Alpha
 shape parameter for BSE potential
 
double Rmax
 radius of finite density model for BSECompact potential
 
double treecodeEps
 treecode smooothing length (negative means adaptive smoothing based on local density, absolute value is the proportionality coefficient between eps and mean interparticle distance)
 
double treecodeTheta
 tree cell opening angle
 
CDensity::POTENTIALTYPE PotentialType
 currently selected potential type
 
CDensity::POTENTIALTYPE DensityType
 if pot.type == BSE or Spline, this gives the underlying density profile approximated by these expansions or flags that an Nbody file should be used
 
CDensity::SYMMETRYTYPE SymmetryType
 if using Nbody file with the above two potential expansions, may assume certain symmetry on the coefficients (do not compute them but just assign to zero)
 
double splineSmoothFactor
 for smoothing Spline potential coefs initialized from discrete point mass set
 
double splineRMin
 
double splineRMax
 if nonzero, specifies the inner- and outermost grid node radii
 
double splineZMin
 
double splineZMax
 if nonzero, gives the grid extent in z direction for Cylindrical spline potential
 
std::string NbodyFile
 name of file with coordinates of points, or coefficients of expansion, or any other external data array
 
double Mbh
 mass of central black hole (in the composite potential)
 

Detailed Description

structure that contains parameters for all possible potentials


The documentation for this struct was generated from the following file: