PISM, A Parallel Ice Sheet Model 2.3.2-61fbb4273 committed by Andy Aschwanden on 2026-06-25
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 95 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().