LALBurst 2.0.7.1-eeff03c
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)
34extern "C" {
35#elif 0
36} /* so that editors will match preceding brace */
37#endif
38
39typedef 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;
48
50cs_cosmo_functions_t XLALCSCosmoFunctionsAlloc( double zmin, double dlnz, size_t n );
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 */
cs_cosmo_functions_t XLALCSCosmoFunctionsAlloc(double zmin, double dlnz, size_t n)
void XLALCSCosmoFunctionsFree(cs_cosmo_functions_t)
cs_cosmo_functions_t XLALCSCosmoFunctions(double *z, size_t n)