#include "CpuTimerC.h"
#include "GeoTessMetaDataC.h"
#include "GeoTessModelC.h"
#include "GeoTessUtilsC.h"
#include "PointMapC.h"
#include "PolygonC.h"
#include "GeoTessGridC.h"
#include "InterpolatorTypeC.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "DataTypeC.h"
#include "ErrorHandler.h"
#include "bool.h"
Go to the source code of this file.
|
double | integrate2D (GeoTessModelC *model, double *pointA, double *pointB, int attributeIndex) |
|
void | errorCheck () |
|
GeoTessModelC * | velocityModel (char *gridFile) |
|
int | main (int argc, char **argv) |
|
|
static const double | rtd = 180./3.1415926535897932384626 |
|
static const double | dtr = 3.1415926535897932384626/180. |
|
◆ len
◆ errorCheck()
Check to see if any errors have occurred. If any, print out the error messages and abort.
Definition at line 250 of file Integrate2D.c.
◆ integrate2D()
double integrate2D |
( |
GeoTessModelC * |
model, |
|
|
double * |
pointA, |
|
|
double * |
pointB, |
|
|
int |
attributeIndex |
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ velocityModel()
GeoTessModelC * velocityModel |
( |
char * |
gridFile | ) |
|
Generate a starting model for the Integrate2D example program. The model will have a single attribute (velocity in km/sec), and will be a 2D model, i.e., there will be no radius associated with the nodes of the model. For this simple example, the model is populated with a single, constant value of 10 km/sec.
- Parameters
-
gridFile | the name of the file containing the GeoTessGrid upon which the starting model will be based. |
- Returns
- a GeoTessModelC
Definition at line 169 of file Integrate2D.c.
◆ dtr
const double dtr = 3.1415926535897932384626/180. |
|
static |
◆ rtd
const double rtd = 180./3.1415926535897932384626 |
|
static |