Logo Tesseroids 1.0: User Manual and API Documentation

src/c/tessg_main.c File Reference

Generic main function for the tessg* programs. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "logger.h"
#include "version.h"
#include "grav_tess.h"
#include "glq.h"
#include "constants.h"
#include "utils.h"
#include "cmd.h"
#include "tessg_main.h"

Functions

int run_tessg_main (int argc, char **argv, const char *progname, double(*field)(TESSEROID, double, double, double, GLQ, GLQ, GLQ))
 Run the main for a generic tessg* program.

Detailed Description

Generic main function for the tessg* programs.

Author:
Leonardo Uieda
Date:
03 Feb 2011

Function Documentation

int run_tessg_main ( int  argc,
char **  argv,
const char *  progname,
double(*)(TESSEROID, double, double, double, GLQ, GLQ, GLQ field 
)

Run the main for a generic tessg* program.

Parameters:
argc number of command line arguments
argv command line arguments
progname name of the specific program
field pointer to function that calculates the field of a single tesseroid
Returns:
0 is all went well. 1 if failed.
Generated on Tue Apr 26 12:17:07 2011 for Tesseroids 1.0: User manual and API documentation by doxygen 1.6.3