GeoTessCPPExamples
2.0
|
#include "CPPUtils.h"
#include "GeoTessGrid.h"
#include "GeoTessModel.h"
#include "GeoTessPosition.h"
#include "AK135Model.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
An example of populating a 3D model with data. The application loads a existing GeoTessGrid object from a file, populates it with information from the ak135 model to build a 3D version of 1D ak135 model. The resulting model has 7 layers supported by 3 multi-level tessellations. The first tessellation (index 0) supports the inner and outer core. The second tessellation supports the three mantle layers. The third and final tessellation supports the lower and upper crust.
The program takes one command line argument which specifies the full path to the file GeoTessModels/crust20.geotess that was delivered with the GeoTess package.
Definition at line 58 of file PopulateModel3D.cc.