Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALSimulation 6.2.0.1-ea7c608
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ns-eos-table.c File Reference

Prototypes

int usage (const char *program)
 
int parseargs (int argc, char *argv[])
 
int output (const char *fmt, double h, double p, double epsilon, double rho, double dedp, double vsound)
 
int main (int argc, char *argv[])
 
int parseargs (int argc, char **argv)
 

Go to the source code of this file.

Macros

#define CENTIMETER_SI   0.01 /* 1 cm in m */
 
#define DYNE_PER_CENTIMETER_SQUARED_SI   0.1 /* 1 dyn/cm^2 in Pa */
 
#define GRAM_PER_CENTIMETER_CUBED_SI   1000.0 /* 1 g/cm^3 in kg/m^3 */
 

Variables

int global_cgs = 0
 
int global_geom = 0
 
LALSimNeutronStarEOSglobal_eos = NULL
 
const char *const default_fmt = "%p\\t%r\\n"
 
const charglobal_fmt
 
const long default_npts = 100
 
long global_npts
 

Macro Definition Documentation

◆ CENTIMETER_SI

#define CENTIMETER_SI   0.01 /* 1 cm in m */

Definition at line 45 of file ns-eos-table.c.

◆ DYNE_PER_CENTIMETER_SQUARED_SI

#define DYNE_PER_CENTIMETER_SQUARED_SI   0.1 /* 1 dyn/cm^2 in Pa */

Definition at line 46 of file ns-eos-table.c.

◆ GRAM_PER_CENTIMETER_CUBED_SI

#define GRAM_PER_CENTIMETER_CUBED_SI   1000.0 /* 1 g/cm^3 in kg/m^3 */

Definition at line 47 of file ns-eos-table.c.

Function Documentation

◆ usage()

int usage ( const char program)

Definition at line 363 of file ns-eos-table.c.

◆ parseargs() [1/2]

int parseargs ( int  argc,
char argv[] 
)

◆ output()

int output ( const char fmt,
double  h,
double  p,
double  epsilon,
double  rho,
double  dedp,
double  vsound 
)

Definition at line 110 of file ns-eos-table.c.

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 49 of file ns-eos-table.c.

◆ parseargs() [2/2]

int parseargs ( int  argc,
char **  argv 
)

Definition at line 192 of file ns-eos-table.c.

Variable Documentation

◆ global_cgs

int global_cgs = 0

Definition at line 34 of file ns-eos-table.c.

◆ global_geom

int global_geom = 0

Definition at line 35 of file ns-eos-table.c.

◆ global_eos

LALSimNeutronStarEOS* global_eos = NULL

Definition at line 36 of file ns-eos-table.c.

◆ default_fmt

const char* const default_fmt = "%p\\t%r\\n"

Definition at line 38 of file ns-eos-table.c.

◆ global_fmt

const char* global_fmt

Definition at line 39 of file ns-eos-table.c.

◆ default_npts

const long default_npts = 100

Definition at line 41 of file ns-eos-table.c.

◆ global_npts

long global_npts

Definition at line 42 of file ns-eos-table.c.