InjectionInterfaceTest.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <lal/GenerateInspiral.h>
#include <lal/VectorOps.h>
#include <lal/SeqFactories.h>
#include <lal/LALStdio.h>
#include <lal/LALStdlib.h>
#include <lal/LALError.h>
#include <lal/LALDatatypes.h>
#include <lal/AVFactories.h>
#include <lal/LIGOMetadataTables.h>
#include <lal/LIGOMetadataUtils.h>
#include <lal/LIGOLwXML.h>
#include <lal/LIGOLwXMLRead.h>
#include <lal/Date.h>
#include <lal/Units.h>
#include <lal/FindChirp.h>
#include <lal/PrintFTSeries.h>

Include dependency graph for InjectionInterfaceTest.c:

Go to the source code of this file.

Defines

#define INJECTIONINTERFACETESTC_ENORM   0
#define INJECTIONINTERFACETESTC_ESUB   1
#define INJECTIONINTERFACETESTC_EARG   2
#define INJECTIONINTERFACETESTC_EVAL   3
#define INJECTIONINTERFACETESTC_EFILE   4
#define INJECTIONINTERFACETESTC_EMEM   5
#define INJECTIONINTERFACETESTC_EINJECT   6
#define INJECTIONINTERFACETESTC_MSGENORM   "Normal exit"
#define INJECTIONINTERFACETESTC_MSGESUB   "Subroutine failed"
#define INJECTIONINTERFACETESTC_MSGEARG   "Error parsing arguments"
#define INJECTIONINTERFACETESTC_MSGEVAL   "Input argument out of valid range"
#define INJECTIONINTERFACETESTC_MSGEFILE   "Could not open file"
#define INJECTIONINTERFACETESTC_MSGEMEM   "Out of memory"
#define INJECTIONINTERFACETESTC_MSGEINJECT   "No valid injection to do ... ? "
#define INJECTIONINTERFACETEST_INJECTIONXMLFILE   "injection.xml"
#define INJECTIONINTERFACETEST_INJECTIONOUTPUTFILE   "injection.dat"
#define ERROR(code, msg, statement)
#define SUB(func, statusptr)

Functions

 NRCSID (INJECTIONINTERFACETESTC,"$Id: InjectionInterfaceTest.c,v 1.6 2007/06/08 14:41:48 bema Exp $")
int main (int argc, char **argv)

Variables

char * program


Define Documentation

#define INJECTIONINTERFACETESTC_ENORM   0

Definition at line 60 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_ESUB   1

Definition at line 61 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_EARG   2

Definition at line 62 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_EVAL   3

Definition at line 63 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_EFILE   4

Definition at line 64 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_EMEM   5

Definition at line 65 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_EINJECT   6

Definition at line 66 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_MSGENORM   "Normal exit"

Definition at line 68 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_MSGESUB   "Subroutine failed"

Definition at line 69 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_MSGEARG   "Error parsing arguments"

Definition at line 70 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_MSGEVAL   "Input argument out of valid range"

Definition at line 71 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_MSGEFILE   "Could not open file"

Definition at line 72 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_MSGEMEM   "Out of memory"

Definition at line 73 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETESTC_MSGEINJECT   "No valid injection to do ... ? "

Definition at line 74 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETEST_INJECTIONXMLFILE   "injection.xml"

Definition at line 78 of file InjectionInterfaceTest.c.

#define INJECTIONINTERFACETEST_INJECTIONOUTPUTFILE   "injection.dat"

Definition at line 79 of file InjectionInterfaceTest.c.

#define ERROR ( code,
msg,
statement   ) 

Value:

do                                                                   if ( lalDebugLevel & LALERROR )                                      {                                                                      LALPrintError( "Error[0] %d: program %s, file %s, line %d, %s\n"                    "        %s %s\n", (code), program, __FILE__,                        __LINE__, INJECTIONINTERFACETESTC, statement ? statement :                    "", (msg) );                                        }                                                                    while (0)

Definition at line 109 of file InjectionInterfaceTest.c.

#define SUB ( func,
statusptr   ) 

Value:

do                                                                   if ( (func), (statusptr)->statusCode )                               {                                                                      ERROR( INJECTIONINTERFACETESTC_ESUB, INJECTIONINTERFACETESTC_MSGESUB,                         "Function call \"" #func "\" failed:" );                      exit( INJECTIONINTERFACETESTC_ESUB );                                       }                                                                    while (0)

Definition at line 120 of file InjectionInterfaceTest.c.


Function Documentation

NRCSID ( INJECTIONINTERFACETESTC  ,
"$Id: InjectionInterfaceTest.  c,
v 1.6 2007/06/08 14:41:48 bema Exp $"   
)

int main ( int  argc,
char **  argv 
)

Definition at line 135 of file InjectionInterfaceTest.c.


Variable Documentation

char* program

Definition at line 130 of file InjectionInterfaceTest.c.


Generated on Sun Oct 12 02:33:04 2008 for LAL by  doxygen 1.5.2