Convert a string to PISM's backend type.
Definition at line 56 of file File.cc.
References pism::RuntimeError::formatted(), PISM_ERROR_LOCATION, pism::io::PISM_NETCDF3, pism::io::PISM_NETCDF4_PARALLEL, pism::io::PISM_NETCDF4_SERIAL, and pism::io::PISM_PNETCDF.
Referenced by pism::Geometry::dump(), pism::stressbalance::Inputs::dump(), pism::array::Array::dump(), pism::icebin::IBIceModel::dumpToFile(), pism::icebin::VecBundleWriter::init(), pism::IceModel::process_signals(), pism::IceModel::save_results(), pism::IceModel::save_state_on_error(), pism::array::Array::write(), pism::icebin::VecBundleWriter::write(), pism::IceModel::write_checkpoint(), pism::IceModel::write_extras(), and pism::IceModel::write_snapshot().