TwiceAsNice  2019-02-18
Macros | Functions
galaxies.h File Reference
#include "simul.h"
#include "list.h"
Include dependency graph for galaxies.h:
This graph shows which files directly or indirectly include this file:

Macros

#define SERSIC_SMOOTHR   4.0 /* Profile smoothing radius (pixels) */
 
#define VDKCUTRAD   5.0 /* van der Kruit disk truncation radius in r_h*/
 

Functions

void make_galaxy (simstruct *sim, objstruct *obj)
 
double make_sersic (PIXTYPE *pix, int width, int height, double reff, double aspect, double posang, double n)
 
PIXTYPE trunc_prof (PIXTYPE *pix, double xcenter, double ycenter, int width, int height)
 

Macro Definition Documentation

◆ SERSIC_SMOOTHR

#define SERSIC_SMOOTHR   4.0 /* Profile smoothing radius (pixels) */

◆ VDKCUTRAD

#define VDKCUTRAD   5.0 /* van der Kruit disk truncation radius in r_h*/

Function Documentation

◆ make_galaxy()

void make_galaxy ( simstruct sim,
objstruct obj 
)

◆ make_sersic()

double make_sersic ( PIXTYPE pix,
int  width,
int  height,
double  reff,
double  aspect,
double  posang,
double  n 
)

◆ trunc_prof()

PIXTYPE trunc_prof ( PIXTYPE pix,
double  xcenter,
double  ycenter,
int  width,
int  height 
)