![]() |
Tesseroids 1.0: User Manual and API Documentation |
Generic main function for the prismg* programs. More...
#include "utils.h"
Go to the source code of this file.
Functions | |
void | print_help () |
Print the help message. | |
int | run_prismg_main (int argc, char **argv, const char *progname, double(*field)(PRISM, double, double, double)) |
Run the main for a generic prismg* program. |
Generic main function for the prismg* programs.
Option for calculating on spherical coordinates
Catch errors in input points that occur at the end of the line
int run_prismg_main | ( | int | argc, | |
char ** | argv, | |||
const char * | progname, | |||
double(*)(PRISM, double, double, double) | field | |||
) |
Run the main for a generic prismg* program.
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 prism |