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

◆ define_grid()

int pism::InputInterpolationYAC::define_grid ( const std::vector< double > &  x_cell,
const std::vector< double > &  y_cell,
const std::string &  grid_name,
const std::string &  projection 
)
staticprivate

Define the PISM grid. Each PE defines its own subdomain.

Returns the point ID that can be used to define a "field".

Definition at line 130 of file InputInterpolationYAC.cc.

References pism::RuntimeError::formatted(), pism::grid_name(), pism::k, pism::LonLatGrid::lat, pism::LonLatGrid::lon, and PISM_ERROR_LOCATION.

Referenced by define_field().