MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / map

Method map

preprocessing/science/rconv/src/Map.cpp:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void Map::map(double longitude, double latitude, double depth, double* x, double* y, double* z) const
74{
75 *x = longitude * DEG_TO_RAD;
76 *y = latitude * DEG_TO_RAD;
77 *z = -depth;
78 pj_transform(pj_lonlat, pj_mesh, 1, 1, x, y, z);
79 printLastError();
80}
81
82// transform from ned (srf coord system) to pj_mesh->axis
83void Map::adjustAxes(double* x, double* y, double* z) const

Callers 6

MedianSmoothingParallelFunction · 0.80
MedianSmoothingParallelFunction · 0.80
writeXMFFunction · 0.80
writeNRFFunction · 0.80

Calls 1

printLastErrorFunction · 0.85

Tested by

no test coverage detected