Logo Tesseroids 1.0: User Manual and API Documentation

src/c/tessg_main.h File Reference

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

#include "glq.h"
#include "utils.h"

Go to the source code of this file.

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.

Todo:
Catch errors in input points that occur at the end of the line
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