Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ LonLatGrid()

pism::LonLatGrid::LonLatGrid ( const std::vector< double > &  x,
const std::vector< double > &  y,
const std::string &  projection 
)
inline

Converts a Cartesian grid in a projection that uses coordinates x and y in meters into the form that can be used to define a curvilinear grid in YAC.

The projection string has to use the format compatible with PROJ.

Definition at line 95 of file InputInterpolationYAC.cc.

References lat, lon, and pism::LonLatCalculator::lonlat().