BCVTemplatesFlatMesh.c File Reference

#include <math.h>
#include <stdlib.h>
#include <lal/LALInspiralBank.h>
#include <lal/LALStdio.h>
#include <lal/FileIO.h>
#include <lal/LALStdlib.h>
#include <lal/AVFactories.h>
#include <lal/SeqFactories.h>
#include <lal/FlatMesh.h>
#include <lal/StreamInput.h>

Include dependency graph for BCVTemplatesFlatMesh.c:

Go to the source code of this file.

Defines

#define FLATMESHTESTC_ENORM   0
#define FLATMESHTESTC_ESUB   1
#define FLATMESHTESTC_EARG   2
#define FLATMESHTESTC_EMEM   3
#define FLATMESHTESTC_EDIM   4
#define FLATMESHTESTC_ELEN   5
#define FLATMESHTESTC_EFILE   6
#define FLATMESHTESTC_MSGENORM   "Normal exit"
#define FLATMESHTESTC_MSGESUB   "Subroutine failed"
#define FLATMESHTESTC_MSGEARG   "Error parsing arguments"
#define FLATMESHTESTC_MSGEMEM   "Memory allocation error"
#define FLATMESHTESTC_MSGEDIM   "Inconsistent parameter space dimension"
#define FLATMESHTESTC_MSGELEN   "Too few points specified"
#define FLATMESHTESTC_MSGEFILE   "Could not open file"
#define MISMATCH   0.3
#define DIM   2
#define USAGE   "Usage: %s [-o outfile] [-d debuglevel] [-m mismatch]\n\ [eigenvectorfile inversefile rangefile]\n"
#define ERROR(code, msg, statement)
#define INFO(statement)
#define SUB(func, statusptr)

Functions

 NRCSID (FLATMESHTESTC,"$Id: BCVTemplatesFlatMesh.c,v 1.6 2007/06/08 14:41:42 bema Exp $")
void LALInspiralComputeBCVMetric (LALStatus *status, InspiralMetric *metric, REAL8FrequencySeries *shf, InspiralTemplate *params)
int main (int argc, char **argv)

Variables

int lalDebugLevel = 0
char * lalWatch


Define Documentation

#define FLATMESHTESTC_ENORM   0

Definition at line 39 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_ESUB   1

Definition at line 40 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_EARG   2

Definition at line 41 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_EMEM   3

Definition at line 42 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_EDIM   4

Definition at line 43 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_ELEN   5

Definition at line 44 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_EFILE   6

Definition at line 45 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_MSGENORM   "Normal exit"

Definition at line 47 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_MSGESUB   "Subroutine failed"

Definition at line 48 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_MSGEARG   "Error parsing arguments"

Definition at line 49 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_MSGEMEM   "Memory allocation error"

Definition at line 50 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_MSGEDIM   "Inconsistent parameter space dimension"

Definition at line 51 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_MSGELEN   "Too few points specified"

Definition at line 52 of file BCVTemplatesFlatMesh.c.

#define FLATMESHTESTC_MSGEFILE   "Could not open file"

Definition at line 53 of file BCVTemplatesFlatMesh.c.

#define MISMATCH   0.3

Definition at line 89 of file BCVTemplatesFlatMesh.c.

#define DIM   2

Definition at line 90 of file BCVTemplatesFlatMesh.c.

#define USAGE   "Usage: %s [-o outfile] [-d debuglevel] [-m mismatch]\n\ [eigenvectorfile inversefile rangefile]\n"

Definition at line 93 of file BCVTemplatesFlatMesh.c.

#define ERROR ( code,
msg,
statement   ) 

Value:

if ( lalDebugLevel & LALERROR )                                      {                                                                      LALPrintError( "Error[0] %d: program %s, file %s, line %d, %s\n"                    "        %s %s\n", (code), *argv, __FILE__,                          __LINE__, FLATMESHTESTC, statement ? statement :                  "", (msg) );                                        }                                                                    else (void)(0)

Definition at line 97 of file BCVTemplatesFlatMesh.c.

#define INFO ( statement   ) 

Value:

if ( lalDebugLevel & LALINFO )                                       {                                                                      LALPrintError( "Info[0]: program %s, file %s, line %d, %s\n"                        "        %s\n", *argv, __FILE__, __LINE__,                           FLATMESHTESTC, (statement) );                    }                                                                    else (void)(0)

Definition at line 107 of file BCVTemplatesFlatMesh.c.

#define SUB ( func,
statusptr   ) 

Value:

if ( (func), (statusptr)->statusCode )                               {                                                                      ERROR( FLATMESHTESTC_ESUB, FLATMESHTESTC_MSGESUB,                     "Function call \"" #func "\" failed:" );                      return FLATMESHTESTC_ESUB;                                      }                                                                    else (void)(0)

Definition at line 116 of file BCVTemplatesFlatMesh.c.


Function Documentation

NRCSID ( FLATMESHTESTC  ,
"$Id: BCVTemplatesFlatMesh.  c,
v 1.6 2007/06/08 14:41:42 bema Exp $"   
)

void LALInspiralComputeBCVMetric ( LALStatus status,
InspiralMetric metric,
REAL8FrequencySeries shf,
InspiralTemplate params 
)

int main ( int  argc,
char **  argv 
)

Definition at line 146 of file BCVTemplatesFlatMesh.c.


Variable Documentation

int lalDebugLevel = 0

Parameters:
lalDebugLevel INT4 Control debugging behaviours. Defined in lalapps.h

Definition at line 88 of file BCVTemplatesFlatMesh.c.

char* lalWatch

Definition at line 127 of file BCVTemplatesFlatMesh.c.


Generated on Tue Oct 7 02:40:48 2008 for LAL by  doxygen 1.5.2