PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ validate_format_string()

std::string void pism::validate_format_string ( const std::string &  format)

Validate a format string. In this application a format string should contain % exactly once, followed by s (i.e. s).

Throws RuntimeError if the provided string is invalid.

Definition at line 435 of file pism_utilities.cc.

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