specfem::coordinate_systems¶
-
namespace coordinate_systems¶
The specfem::coordinate_systems namespace provides coordinate types and
map projections for geodetic I/O. Include via
#include "specfem/coordinate_systems.hpp".
Coordinate types¶
geographic_coordinates: Longitude/latitude in degrees, depth in meters.
cartesian_coordinates: x/y/z in meters (easting/northing/depth for UTM).
geocentric_coordinates: Spherical \((r, \theta, \phi)\) coordinates.
Transforms¶
specfem::coordinate_systems::transform: Generic
transform<Target>(source, config)interface for converting between coordinate systems.
Projections¶
UTM projection: UTM (Universal Transverse Mercator) forward and inverse projection.