LALBurst
2.0.7.1-eeff03c
LALSuite
LAL
LALFrame
LALMetaIO
LALSimulation
LALBurst
LALInspiral
LALInference
LALPulsar
LALApps
cs_cosmo.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2007 Xavier Siemens
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with with program; see the file COPYING. If not, write to the
16
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17
* MA 02110-1301 USA
18
*/
19
20
/*********************************************************************************/
21
/* Cosmological functions for cosmic string burst computation (header) */
22
/* */
23
/* Jolien Creighton, Irit Maor, Xavier Siemens */
24
/* */
25
/* UWM/Caltech - September 2006 */
26
/*********************************************************************************/
27
28
#ifndef CS_COSMO_H
29
#define CS_COSMO_H
30
31
#include <stdlib.h>
32
33
#if defined(__cplusplus)
34
extern
"C"
{
35
#elif 0
36
}
/* so that editors will match preceding brace */
37
#endif
38
39
typedef
struct
cs_cosmo_functions {
40
double
*
phit
;
41
double
*
phiA
;
42
double
*
phiV
;
43
double
*
z
;
44
double
zmin
;
45
double
dlnz
;
46
size_t
n
;
47
}
cs_cosmo_functions_t
;
48
49
cs_cosmo_functions_t
XLALCSCosmoFunctions
(
double
*z,
size_t
n
);
50
cs_cosmo_functions_t
XLALCSCosmoFunctionsAlloc
(
double
zmin,
double
dlnz,
size_t
n
);
51
void
XLALCSCosmoFunctionsFree
(
cs_cosmo_functions_t
);
52
53
#if 0
54
{
/* so that editors will match succeeding brace */
55
#elif defined(__cplusplus)
56
}
57
#endif
58
59
#endif
/* CS_COSMO_H */
XLALCSCosmoFunctionsAlloc
cs_cosmo_functions_t XLALCSCosmoFunctionsAlloc(double zmin, double dlnz, size_t n)
Definition:
cs_lambda_cosmo.c:77
XLALCSCosmoFunctionsFree
void XLALCSCosmoFunctionsFree(cs_cosmo_functions_t)
Definition:
cs_lambda_cosmo.c:159
XLALCSCosmoFunctions
cs_cosmo_functions_t XLALCSCosmoFunctions(double *z, size_t n)
Definition:
cs_lambda_cosmo.c:118
lalburst_power_plot_binj.n
int n
Definition:
lalburst_power_plot_binj.py:821
cs_cosmo_functions_t
Definition:
cs_cosmo.h:39
cs_cosmo_functions_t::n
size_t n
Definition:
cs_cosmo.h:46
cs_cosmo_functions_t::zmin
double zmin
Definition:
cs_cosmo.h:44
cs_cosmo_functions_t::phiA
double * phiA
Definition:
cs_cosmo.h:41
cs_cosmo_functions_t::z
double * z
Definition:
cs_cosmo.h:43
cs_cosmo_functions_t::phiV
double * phiV
Definition:
cs_cosmo.h:42
cs_cosmo_functions_t::phit
double * phit
Definition:
cs_cosmo.h:40
cs_cosmo_functions_t::dlnz
double dlnz
Definition:
cs_cosmo.h:45
lib
cs_cosmo.h
Generated on Sun Dec 14 2025 05:40:48 for LALBurst by
1.9.4