Loading [MathJax]/extensions/TeX/AMSsymbols.js
LAL 7.7.0.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
MakeTemplateBank.c
Go to the documentation of this file.
1/*
2* Copyright (C) 2007 Chad Hanna, Benjamin Owen
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#if 0
21/*________________________________________________________________________
22 *
23 * File Name: MakeTemplateBank.c
24 *
25 * Author: Hanna C. R.
26 *
27 *
28 *________________________________________________________________________
29 */
30
31#include<lal/LALStdlib.h>
32#include<lal/LALStatusMacros.h>
33#include<lal/InspiralBankGeneration.h>
34#include<lal/LIGOMetadataTables.h>
35
36void
37LALMakeTemplateBank(
39 TemplateBankType *type,
40 MakeTemplateBankInput *input,
41 MetadataTable *table)
42{
45 if(type == NULL){
46 ABORT(status, TEMPLATEBANKGENERATIONH_ENULL, TEMPLATEBANKGENERATIONH_MSGENULL);
47 }
48 if(table == NULL){
49 ABORT(status, TEMPLATEBANKGENERATIONH_ENULL, TEMPLATEBANKGENERATIONH_MSGENULL);
50 }
51 if (input == NULL){
52 ABORT(status, TEMPLATEBANKGENERATIONH_ENULL, TEMPLATEBANKGENERATIONH_MSGENULL);
53 }
54
55/* look at inspiral Searches */
56#if 0
57 if ((*type >= 100) && (*type < 200)){
58 printf("\nInside if type statement in MakeTemplateBank\n");
59 TRY(LALInspiralBankGeneration(status->statusPtr,
60 type,
61 input->InspiralInput,
62 table->snglInspiralTable), status);
63 printf("Just called LALInspiralBankGeneration\n");
64 }
65#endif
66
67
68
69 /*
70 if ((*type >= 200) && (*type < 300)){
71 LALPulsarBankGeneration(status->statusPointer, type,
72 input.PulsarInput,
73 table.pulsarTable);
74 }
75
76
77 if ((*type >= 300) && (*type < 400)){
78 LALBurstBankGeneration(status->statusPointer, type,
79 input.BurstInput,
80 table.snglBurstTable);
81 }*/
82
85
86} /* LALMakeTemplateBank() */
87
88
89#endif
#define ABORT(statusptr, code, mesg)
#define TRY(func, statusptr)
#define ATTATCHSTATUSPTR(statusptr)
#define DETATCHSTATUSPTR(statusptr)
#define INITSTATUS(statusptr)
#define RETURN(statusptr)
LAL status structure, see The LALStatus structure for more details.
Definition: LALDatatypes.h:947
Definition: getdate.c:168