PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ grid_name()

static std::string pism::details::grid_name ( const VariableMetadata variable)
static

Return the string identifying the grid used by a variable.

Uses names of the first two dimensions. (The third dimension, if present, will correspond to a vertical or some other coordinate.)

Definition at line 94 of file YacOutputWriter.cc.

References pism::VariableMetadata::dimensions().

Referenced by pism::YacOutputWriter::define_yac_field(), pism::YacOutputWriter::define_yac_grid(), pism::YacOutputWriter::initialize_impl(), and pism::YacOutputWriter::write_distributed_array_impl().