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

◆ unpack_json_array()

std::vector< double > pism::unpack_json_array ( const char *  name,
const json_t *  input 
)

Convert a JSON array to an STL vector.

Definition at line 84 of file ConfigJSON.cc.

References pism::RuntimeError::formatted(), k, and PISM_ERROR_LOCATION.

Referenced by get_all_arrays(), and pism::ConfigJSON::get_numbers_impl().